Skip to content

Instantly share code, notes, and snippets.

@Oxore
Last active August 22, 2023 19:11
Show Gist options
  • Save Oxore/bb2d1f8c5a2ca00caa0d7848f77d1c7d to your computer and use it in GitHub Desktop.
Save Oxore/bb2d1f8c5a2ca00caa0d7848f77d1c7d to your computer and use it in GitHub Desktop.
NNN file manager Q&A

My questions to NNN file manager, that arise as I use it.

Q: How to make "Filter" (invoked by /) do not automatically open unambiguous single item and allow further typing? Instead I want it to select item only by Enter.

A: Use nnn -A

Q: Usually I am able to open bookmarks (invoked by b) with "Filter" mode enabled automatically. But when I press comma (,) and then press Esc, after that I cannot access bookmarks by pressing b anymore. Instead it just prints keys: , and when I press another key it prints invalid key. How to return into previous mode, where I can access bookmarks directory by pressing b?

A: In this case just press Enter and you will get into symlinked bookmarks dir. Read more in man nnn, section BOOKMARKS.

Q: How to disable mouse completely?

A: Rebuild as make O_NOMOUSE=1 (-DNOMOUSE)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment