README.md | 11 +++++++++++ diff --git a/README.md b/README.md index 3838fb639d3318eca781fc8f1e8f82e800756fd0..06db4db1f2a58022000fccea72f439d1b7ddd0af 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,7 @@ - [add bookmarks](#add-bookmarks) - [copy file paths](#copy-file-paths) - [selection](#selection) - [to clipboard](#to-clipboard) + - [get selection manually](#get-selection-manually) - [cd on quit](#cd-on-quit) - [(neo)vim plugin](#neovim-plugin) - [run custom scripts](#run-custom-scripts) @@ -428,6 +429,16 @@ To inform `nnn` of the executable copier script location: export NNN_COPIER="/path/to/copier.sh" + +##### get selection manually + +To get a space-separated list of the file paths in selection, say at the command-prompt: + + cat ~/.nnncp | xargs -0 echo + +To get the list in a file: + + cat ~/.nnncp | xargs -0 echo > out.txt #### cd on quit