4 ms·
two of my most used shell commands are "j" (https://github.com/wting/autojump https://github.com/wting/autojump) and "fd" (https://github.com/sharkdp/fd https:/
by jasim 8y ago
two of my most used shell commands are "j" (https://github.com/wting/autojump https://github.com/wting/autojump) and "fd" (https://github.com/sharkdp/fd https://github.com/sharkdp/fd)
Autojump makes it easy to quickly jump into any directory I've visited and then I can open my editor or Finder (file explorer) from there. Would be great if I can be inside nnn and jump to directories using autojump.
fd is very useful when I want to just directly open a file. I might be in a project's root directory and I'd want to edit a file a few levels nested. Currently I either use fd to locate the path of the file, and then copy paste it into the shell. If `fd` is combined with nnn, I can type in a few letters of the file I expect, and jump to its parent directory, with the file highlighted.
Is this workflow possible in nnn, or can it be written using its scripting?
- apjana 8y agoautojump: `nnn` comes with bookmarks for frequently visited dirs. You can look up the list anytime. fd: `nnn` integrates seamlessly with fzy (another blazing fast C utility).