News for hackers. Stuff that matters.
Re:Broot – A new way to see and navigate directory trees by yodsanklai on Thursday January 09, 2020 @08:24AM (#22000954)
Just installed it. It looks nice. It's great to see that there is room for improvement for the shell commands and utilities we use everyday.

I think a vim mode would be great. The first thing I did was to use 'j' to navigate in the tree.

Re:Broot – A new way to see and navigate directory trees by b0rsuk on Friday January 10, 2020 @06:21AM (#22010207)
Strongly agree. Keyboard interfaces can be very fast and efficient, but their weakness is having to learn a separate keymap (or set of options) to use a new program.

Vim keys is the closest console programs have to a common language! I seriously think all console programs should use a vim-like keymap. Not Emacs, because Emacs has a completely different philosophy - integrate everything into Emacs. Emacs is the prototype IDE. Emacs doesn't seek to export its keybindings, it seeks to import everything.

Re:Broot – A new way to see and navigate directory trees by dystroy on Thursday January 09, 2020 @08:35AM (#22001016)
The problem with using "j" to go down is that it prevents you from using "j" to filter files having a "j" in their name.
Re:Broot – A new way to see and navigate directory trees by samatman on Thursday January 09, 2020 @10:09AM (#22001779)
Presumably a vim mode user would jump straight to `/` to filter, or i/a, or f{letter}, etc.
Re:Broot – A new way to see and navigate directory trees by d21d3q on Saturday January 11, 2020 @07:51AM (#22019618)
That was first thing I did - check if I can navigate vim style. However it has different philosophy. It has fuzzy search, so that you just type name of directory which you want to enter, it will be filtered out and hit enter. Now you can explore it.
Re:Broot – A new way to see and navigate directory trees by jgrpf on Thursday January 09, 2020 @08:56AM (#22001165)
A couple of programs substitue that with ctrl+[hjkl].
Re:Broot – A new way to see and navigate directory trees by dystroy on Thursday January 09, 2020 @09:11AM (#22001287)
You can define your own shortcuts for navigation. See for example this: https://github.com/Canop/broot/issues/24#issuecomment-572481...
Re:Broot – A new way to see and navigate directory trees by krick on Thursday January 09, 2020 @07:01PM (#22007212)
Same. It seems like it could be useful, but I'm virtually handicapped after decades of vim mode in a sense I cannot efficiently use any software that doesn't support vim keystrokes (well, nobody really can, they just don't know that).
Re:Broot – A new way to see and navigate directory trees by psalminen on Thursday January 09, 2020 @12:49PM (#22003540)
I did the same thing. A vim mode would be a nice addition. To search for j, I think creating an insert mode would be best.
Re:Broot – A new way to see and navigate directory trees by krick on Thursday January 09, 2020 @06:34PM (#22007036)
Better `/`. It is already default in dozens of programs with vim-like layout, including as prominent ones as man, less, ranger and more.
Re:Broot – A new way to see and navigate directory trees by p5a0u9l on Friday January 10, 2020 @10:54AM (#22011811)
I too agree with strength that is strong. Just yesterday I was googling how to get tree to respect my git ignore. The universe heard and responded with broot!

But without first class support for vi navigation, be will end up replacing tree as my directory preview pane in vifm.