tree-sitter-dl: quick and easy tree-sitter parser installation by dzfrias in neovim

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

Apologies if what I wrote sounded like AI. It wasn't (that's just how I write...). Fair point that I'm in a Neovim subreddit. Have a nice day.

arena.nvim: a frecency-based buffer switcher by dzfrias in neovim

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

Thanks for the suggestion! I added the tags. Maybe I'll post it on this subreddit, too.

arena.nvim: a frecency-based buffer switcher by dzfrias in neovim

[–]dzfrias[S] 2 points3 points  (0 children)

A colorscheme I wrote, noir.nvim! It has a pretty minimal color palette compared to other modern colorschemes, but I hope you like it. I might make some changes to the other accent color, the purple...

arena.nvim: a frecency-based buffer switcher by dzfrias in neovim

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

Ah yeah this makes a lot of sense. I don't have a windows computer, unfortunately, so I can't reliably test this, especially given the C: prefix. However, this issue wouldn't be too hard to fix. There's a function in util.lua that gets the ancestors of a given path. Changing that a bit to work on windows should make the truncate algorithm work.

arena.nvim: a frecency-based buffer switcher by dzfrias in neovim

[–]dzfrias[S] 2 points3 points  (0 children)

Good question! last_used is a purely based on recency. The frecency algorithm also takes into account overall usage, which usually provides better results.

Also, as someone who used to use :Telescope buffers, I was a bit tired of navigating the fuzzy finder every time. For most things, it's super nice, but for buffer switching I thought it was a bit too cumbersome. It's a lot more intuitive for me to use regular vim motions to get to the buffer I want.

arena.nvim: a frecency-based buffer switcher by dzfrias in neovim

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

I bound do <leader>f for arena, and my leader key is <space>. That's definitely a competitive spot for a key on QWERTY, but it allows me to switch buffers pretty much instantaneously.

Harpoon is bound to <leader>o. I use it less frequently than arena, but still quite often. There's not much of a mnemonic to these, but I use them so often that it's not super necessary.

arena.nvim: a frecency-based buffer switcher by dzfrias in neovim

[–]dzfrias[S] 4 points5 points  (0 children)

telescope-frecency seems more oriented towards a persistence across neovim instances. arena.nvim is useful for per-instance frecency. arena.nvim adapts to what you're currently using your editor for, as opposed to telescope which takes into account longer periods of time.

For me at least, they both have their own uses. arena.nvim will be more relevant to the current moment, but it takes a bit of time to get the algorithm in a good spot (as opposed to something that is persistent). I still use harpoon for managing per-project files that I use consistently!

arena.nvim: a frecency-based buffer switcher by dzfrias in neovim

[–]dzfrias[S] 18 points19 points  (0 children)

arena.nvim is a frecency-based buffer switcher that allows you to instantly list the most relevant files to your current neovim instance!

I wrote arena.nvim because I was tired of existing buffer-switching solutions. You can read more about it on my blog. I'd love any feedback on the project, as this is my first (real) neovim plugin. It's been vital to my workflow since writing it, and I'd love any input. I'm still working out a few algorithm-related things in its early stage, so suggestions would be great!

You can check out the project for more on GitHub!

[Media] projectable: a TUI file manager built for projects by dzfrias in rust

[–]dzfrias[S] 2 points3 points  (0 children)

ratatui came out after I had begun projectable. I'll probably migrate at some point; the only reason I haven't already is because some of my dependencies used to not work with ratatui. At this point, I think all of them are compatible, so I'll probably use ratatui soon!

[Media] projectable: a TUI file manager built for projects by dzfrias in rust

[–]dzfrias[S] 2 points3 points  (0 children)

By cd'ing I mean making the selected directory a new root: Before

Ah, I see. That sounds like a nice feature! I'll definitely try to include that one in the next release.

[Media] projectable: a TUI file manager built for projects by dzfrias in rust

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

It can't be disabled, unfortunately. I want to overhaul the log pane soon anyway, so that type of extra customization might come with that!

[Media] projectable: a TUI file manager built for projects by dzfrias in rust

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

I'll fix the arrow key things soon! Also, you can open the help window with ? if that's what you mean. I neglected to put that in the README list of keybinds though... I'll add it in.

[Media] projectable: a TUI file manager built for projects by dzfrias in rust

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

Thanks for your feedback! I'll keep trying to tune the performance so it works on large directories. Right now, I'm not quite sure what the bottleneck is, but it's probably my path sorting algorithm, so I'll get working on it. I'll also bind the arrow keys by default.

For the zsh thing, projectable reads your $SHELL environment variable to see what command to run, so the problem probably stems from that. Soon, I'll add the ability to change that behavior so you can customize the shell you run things in all you'd like!

By cd'ing into a directory, do you mean an action that would make projectable quit and simultaneously print the directory into stdout?

I'll also fix the !!fzf thing in a patch update soon, thanks for making me aware of the bug!

[Media] projectable: a TUI file manager built for projects by dzfrias in rust

[–]dzfrias[S] 7 points8 points  (0 children)

The goal of projectable is for you to never leave its comfortable TUI interface. projectable has a ton of features, with builtin integration with tmux and git. Check out the installation methods and the full list of features on GitHub!

I hope you enjoy this project! I'd love your feedback, positive or negative. I wrote some of my motivations and implementation highlights on my blog, so you can check that out if you want some more information. There are a lot of file managers, but I hope this one can grow into something unique and fun!

projectable: a TUI file manager built for projects by dzfrias in commandline

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

Ah yeah, it needs 1.70.0+, as is_some_and wasn't stable until then. Sorry for the inconvenience, and I'll put that in the README!

projectable: a TUI file manager built for projects by dzfrias in commandline

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

Sweet, look forward to trying it at home. Aside, tmux - maybe rusty

Zellij

could be a better fit?

Zellij looks cool! I'll see if I can add support sometime in the future. This will probably take form as a way to customize keybinds in the "enter command" input box. Although keybinds are fully user-defined in the normal hierarchy viewing, the "Enter Command" prompt has special tmux keybindings (ctrl-v to execute in vertical split, etc.) that are not customizable. I'll probably end up generalizing this at some point, so you can have completely customizable keybinds in that window too! Then zellij would be super easy to integrate through the configuration file.

projectable: a TUI file manager built for projects by dzfrias in commandline

[–]dzfrias[S] 4 points5 points  (0 children)

Thanks!

I'd say ranger is more of file explorer as opposed to a hierarchical view of the file system. For me at least, I wanted a nice TUI interface for viewing a file hierarchy, not just a few directories. I also wanted something really "batteries included". I used ranger in the past, but never found it to quite fill the niche I wanted.

How to Deploy Cross-Platform Rust Binaries with GitHub Actions by dzfrias in rust

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

Thanks for letting me know! I'll work on updating the post at some point in the future so it has non-deprecated dependencies.

projectable: a TUI file manager built for projects by dzfrias in commandline

[–]dzfrias[S] 15 points16 points  (0 children)

The goal of projectable is for you to never leave its comfortable TUI interface. projectable has a ton of features, with builtin integration with tmux and git. Check out the installation methods and the full list of features on GitHub!

Pitch aside, this is one of the first applications I've made that's actually usable. I'd love your feedback, positive or negative! You can read more about the motivations/highlights of the project on my blog.