6 ms·
Is cd+ls a common pattern for people? I tend to just use double tab to browse folders, combined with a file separator-aware "delete word" keybinding when I want
by asib 4y ago
Is cd+ls a common pattern for people? I tend to just use double tab to browse folders, combined with a file separator-aware "delete word" keybinding when I want to go back up one level.
- memorable 4y agoI don't know about other people, but I use the combo almost all the time when I need to `cd`.
- p4bl0 4y agoSame here, I use ls when I'm where I want to be, but for navigating the filesystem to there, I use cd and TAB TAB autocompletion (which is smart enough to only suggest directories).
- Cthulhu_ 4y agoI've got ZSH or a ZSH plugin that shows me a list of possible files in a folder I'm cd-ing into, without going into a different 'terminal mode'. Works for things like vim as well.
- divbzero 4y agoI use cd+ls all the time even though double tab or fzf [1] work better in theory. [1]: https://github.com/junegunn/fzf#key-bindings-for-command-line https://github.com/junegunn/fzf#key-bindings-for-command-lin...