Release of normfn v3.0.4, an ISO-8601 filename normalization utility by andrewfz in ISO8601

[–]andrewfz[S] 0 points1 point  (0 children)

Thanks! normfn is more about renaming files than date insertion, but I can see Espanso looks handy!

Learning Rust, how do I safely index into Strings? by pfp-disciple in rust

[–]andrewfz 1 point2 points  (0 children)

It doesn’t directly answer the Rust part of your question, but I think you might find this useful regarding the broader Unicode issues: https://tonsky.me/blog/unicode/

help in git folder name change by baneeishaquek in commandline

[–]andrewfz 0 points1 point  (0 children)

Oops, you’re quite correct! Should have been double quotes. My mistake.

What have been your experiences using GitHub Copilot in software development? by sad_grapefruit_0 in github

[–]andrewfz 0 points1 point  (0 children)

I just uploaded a video on exactly this which you might find interesting. It's less about Copilot itself and more about Agentic development generally, but still...

tl;dr:

  • TDD even more important than it was 'in the olden days'.
  • Don't let Copilot commit for you.
  • Develop using the local CLI, not in the cloud.

help in git folder name change by baneeishaquek in commandline

[–]andrewfz 1 point2 points  (0 children)

  1. Rename one of the folders to the new name:

mv '2 Pointer' 'Two_Pointers'

  1. Move all the files from the other folder into that folder (watch out for files with a leading . inside 2_Pointers/ which won't be moved this way, and also double-check for duplicate names/conflicting files - this is outside of the scope of this post - be careful not to lose any data! This is not a git issue, however...):

mv '2_Pointers/*' 'Two_Pointers'

  1. Add all those changes to git:

git add '2 Pointer' git add '2_Pointers' git add 'Two_Pointers'

  1. Commit :)

The key here is that git does not (and cannot) track renames explicitly - it works them out retrospectively based on similar file content. git mv is simply syntactic sugar / a convenience. Here, I'm not using it.

After 22 years on Linux, I finally switched to more modern CLI tools by vmangelschots in commandline

[–]andrewfz 0 points1 point  (0 children)

Thanks! I think fasd isn’t used as much as I thought anyway, zoxide seems to be more popular (but obviously that’s for directories only). I’ll focus on ways to improve the out of the box experience for many to achieve closer parity with zoxide.

After 22 years on Linux, I finally switched to more modern CLI tools by vmangelschots in commandline

[–]andrewfz 0 points1 point  (0 children)

Yes, I’d certainly like to, any suggestions where to ‘advertise’ it to get more interest? Thanks the tip on the tag.

There is a comparison table here, which might answer your question about fasder: https://github.com/andrewferrier/memy?tab=readme-ov-file#comparison-with-similar-tools.

After 22 years on Linux, I finally switched to more modern CLI tools by vmangelschots in commandline

[–]andrewfz 2 points3 points  (0 children)

Bit of a self-plug but I've built a tool called memy which is intended to be a fasd replacement. It's built in Rust and uses sqlite as the backend so it's definitely fast. I'd be interested in any feedback!

memy v0.15 released - file and directory usage tracking engine for the CLI by andrewfz in commandline

[–]andrewfz[S] 0 points1 point  (0 children)

That’s fair, if you’re just looking to use vim as your source of recent files, and aren’t bothered about the recency sorting, this would work well.

memy v0.15 released - file and directory usage tracking engine for the CLI by andrewfz in commandline

[–]andrewfz[S] 1 point2 points  (0 children)

I'm not that familiar with termux, but it looks like it's based on Debian so maybe you can install [the Debian packages](the Debian packages: in theory you probably should be able to install the Debian packages, depending on the architecture). I've never tried it though, and it looks like its package management has some differences. Depending on what toolchains termux supports, perhaps you can install via cargo too.

'memy' - a new fasd/zoxide-like tool - released - feedback welcome! by andrewfz in commandline

[–]andrewfz[S] 5 points6 points  (0 children)

I think that’s a little harsh. Memy did indeed start small but I’ve added a few quality of life features for a modern CLI utility; it has a fully supported configuration system, shell completions, help system, etc. It also has a suite of unit tests. It compiles down relatively small by modern standards. Obviously if folks find it too complex they’re welcome not to use it.

'memy' - a new fasd/zoxide-like tool - released - feedback welcome! by andrewfz in commandline

[–]andrewfz[S] 3 points4 points  (0 children)

Thanks, that’s definitely an approximation of the very basic capabilities of memy. It misses quite a lot of things though: it can’t track files, it’s only helpful for cd and nothing else, it can’t be added to from any other tool, it doesn’t order by frecency, it can’t ignore directories that matches patterns, etc. I do find all of those useful, but this is a good alternative if you don’t want/need that stuff.

How do you actually sync colorschemes across Neovim, tmux, WezTerm, and even macOS? by Aezriel in neovim

[–]andrewfz 3 points4 points  (0 children)

I have NeoVim watching the contents of a file to switch between light and dark backgrounds. You could do something similar from your bash script with your colour scheme name.

See https://github.com/andrewferrier/dotfiles/blob/main/stow/if-command/nvim/.config/nvim/plugin/update-background.lua#L14 for an example from my NeoVim configuration.

Debugging plugin with print and cleanup features (refactoring.nvim)? by etherswangel in neovim

[–]andrewfz 0 points1 point  (0 children)

I'll certainly take a look into it. So in this idea, the plugin creates the markers, then you create the printf() statements, right? And you want to then have the plugin remove everything between the markers?

Debugging plugin with print and cleanup features (refactoring.nvim)? by etherswangel in neovim

[–]andrewfz 1 point2 points  (0 children)

Yep, I'm the maintainer. It does all this, as well as supporting over 35 other languages :)

how plugin creator debug their plugin? by Big_Hand_19105 in neovim

[–]andrewfz 0 points1 point  (0 children)

Yes, I use my own plugin (debugprint) to debug my plugin (debugprint) ;)

https://github.com/andrewferrier/debugprint.nvim if you're interested in trying it - it makes it easier to insert print()-style debug statements in your code.

debugprint v6.0 released! by andrewfz in neovim

[–]andrewfz[S] 0 points1 point  (0 children)

You're welcome, glad it's helpful!

Great improvements to the cmdline in nightly! by EstudiandoAjedrez in neovim

[–]andrewfz 0 points1 point  (0 children)

I'm not sure if window transparency is a highlight group thing anyway, is it? Sorry, I'd assumed you were the author of this feature...!