My build of nnn with minor changes
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

315 строки
12 KiB

  1. nnn v2.3
  2. 2019-02-19
  3. - file picker mode
  4. - repo of user-contributed scripts
  5. - substring search for filters (option `-s`)
  6. - version sort (option `-n`)
  7. - disk usage calculation abort with <kbd>^C</kbd>
  8. - create sym/hard link(s) to files in selection
  9. - archiving of selection
  10. - show dir symlinks along with dirs in top
  11. - fixed CJK character handling at prompts
  12. - key `N` (1 <= N <= 4) to switch to context N
  13. - bring back `NNN_OPENER` to specify file opener
  14. - env var `NNN_NOTE` and keybind <kbd>^N</kbd> for quick notes
  15. - handle multiple arguments in VISUAL/EDITOR
  16. - show the current directory being scanned in `du` mode
  17. - select all files (<kbd>Y</kbd>)
  18. - show command prompt (<kbd>^P</kbd>)
  19. - key <kbd>,</kbd> replaces <kbd>`</kbd> as alternative Leader Key
  20. - keybind for visit pinned directory is now <kbd>^B</kbd>
  21. - additional key <kbd>^V</kbd> to run or select custom script
  22. - use libreadline for command prompt
  23. - reduce delay on <kbd>Esc</kbd> press
  24. - config option to avoid unexpected behaviour on 0-byte file open (see #187)
  25. - rename config option `DISABLE_FILE_OPEN_ON_NAV` to `NNN_RESTRICT_NAV_OPEN`
  26. - keys removed - <kbd>$</kbd>, <kbd>^</kbd>, <kbd>Backspace</kbd>, <kbd>^H</kbd>, <kbd>^P</kbd>, <kbd>^M</kbd>, <kbd>^W</kbd>, <kbd>`</kbd>
  27. -------------------------------------------------------------------------------
  28. nnn v2.2
  29. 2019-01-01
  30. What's in?
  31. - (neo)vim plugin [nnn.vim](https://github.com/mcchrish/nnn.vim)
  32. - macOS fixes
  33. - Fix issues with file copy, move, remove
  34. - Handle <kbd>Del</kbd> in rename prompt
  35. - Pass correct `file` option to identify mime
  36. - Support selection across directories and contexts
  37. - Offer option `force` before file remove
  38. - Keys <kbd>Tab</kbd>, <kbd>^I</kbd> to go to next active context
  39. - Per-context directory color specified by `$NNN_CONTEXT_COLORS`
  40. - Option `-c` is removed
  41. - Option `-C` to disable colors
  42. - Choose script to run from a script directory
  43. - Run a command (or launch an application)
  44. - Run file as executable (key <kbd>C</kbd>)
  45. - Documentation on lftp integration for remote file transfers
  46. - Support a _combined_ set of arguments to `$EDITOR`, `$PAGER` and `$SHELL`
  47. - Handle > 2 GB files on 32-bit ARM
  48. - Env var `$DISABLE_FILE_OPEN_ON_NAV` to disable file open on <kbd>Right</kbd> or <kbd>l</kbd>
  49. - `NUL`-terminated file paths in selection list instead of `LF`
  50. - Better support for Termux and Cygwin environments
  51. - Remapped keys
  52. - <kbd>^I</kbd> - go to next active context
  53. - <kbd>^T</kbd> - toggle _navigate-as-you-type_
  54. -------------------------------------------------------------------------------
  55. nnn v2.1
  56. 2018-11-23
  57. What's in?
  58. - Inclusion in several distros including Arch Linux official repo
  59. - Multiple contexts (_aka_ tabs _aka_ workspaces) [max 4]
  60. - Copy, move, remove selected files, remove current file
  61. - [Leader key](https://github.com/jarun/nnn#leader-key) (like vim)
  62. - In-built GUI app launcher with up to 2 arguments (key <kbd>o</kbd>)
  63. - List copy selection (key <kbd>y</kbd>)
  64. - Env var `NNN_NO_AUTOSELECT` to disable dir auto-select
  65. - Key <kbd>Esc</kbd> exits prompt, <kbd>^L</kbd> clears prompt
  66. - Program runtime help revamped
  67. - Static code analysis integration
  68. - gcc-8 warnings fixed
  69. - Remapped keys:
  70. - <kbd>^W</kbd> - go to pinned dir
  71. - <kbd>^X</kbd> - delete current entry
  72. - <kbd>^Q</kbd> - quit program
  73. - `nlay` is retired (functionality built into `nnn`)
  74. - `chdir` prompt is retired
  75. - Env var `NNN_NO_X` retired, selection now works out of the box
  76. - Only single-char bookmark keys (to work with Leader key)
  77. -------------------------------------------------------------------------------
  78. nnn v2.0
  79. 2018-10-19
  80. What's in?
  81. - Mode to show apparent size (key `S`)
  82. - Script to integrate `patool` instead of `atool`
  83. - Support `bashlock` (OS X) and `lock` (BSD) as terminal locker
  84. - Symbol `@/` for symlink to dir
  85. - Dependency on `libreadline` removed
  86. -------------------------------------------------------------------------------
  87. nnn v1.9
  88. 2018-08-10
  89. What's in?
  90. - Support unlimited number of scripts
  91. - Pass currently selected filename as first argument to custom scripts
  92. - Support directory auto-select in _navigate-as-you-type_ mode
  93. - Show selection name in archive name prompt
  94. - Support Cygwin opener
  95. - Better support on RHEL 25 with earlier version on curses
  96. - Sample script for `fzy` integration
  97. - Now available on OpenBSD
  98. - Disabled package generation for Ubuntu 17.10
  99. -------------------------------------------------------------------------------
  100. nnn v1.8
  101. 2018-05-02
  102. What's in?
  103. - Run a custom script
  104. - Archive selected file/directory
  105. - Show number of cherry-picked files in multi-copy mode
  106. - Env var `NNN_SHOW_HIDDEN` to show hidden files by default
  107. - Additional information in help screen
  108. - Give preference to env var VISUAL, if defined, over EDITOR
  109. - New/changed/remapped shortcuts
  110. - <kbd>^]</kbd> - spawn a new shell in current directory
  111. - <kbd>r</kbd> - edit directory entries in vidir
  112. - <kbd>R</kbd> - run a custom script
  113. - <kbd>^I</kbd> - toggle navigate-as-you-type mode
  114. - <kbd>L</kbd> - lock the current terminal (Linux-only)
  115. - All Ctrl shortcuts enabled in navigate-as-you-type mode
  116. - Fix: GUI programs closing when parent terminal is closed
  117. - Recognize `~`, `-` and `&` at bookmark prompt
  118. - Recognize ruby (.rb) files as text files
  119. - Efficient integer-only file size calculation
  120. - Official inclusion on openSUSE and Fedora
  121. - Package generation for Ubuntu 18.04
  122. -------------------------------------------------------------------------------
  123. nnn v1.7
  124. 2018-02-28
  125. What's in?
  126. - Batch rename/move/delete files in vidir from [moreutils](https://joeyh.name/code/moreutils/)
  127. - Copy multiple file paths
  128. - Copy file paths when X is unavailable
  129. - Optionally quote individual file paths with single quotes on copy
  130. - Use ISO 8601 date format in file details
  131. - New/changed/remapped shortcuts:
  132. - <kbd>^B</kbd> - show bookmark prompt (replaces <kbd>b</kbd>)
  133. - <kbd>b</kbd> - pin current dir (replaces <kbd>^B</kbd>)
  134. - <kbd>^J</kbd> - toggle du mode
  135. - <kbd>R</kbd> - batch rename files in vidir
  136. - <kbd>^F</kbd> - extract archive (replaces <kbd>^X</kbd>)
  137. - <kbd>^G</kbd> - quit nnn and change dir
  138. - <kbd>^X</kbd> - quit nnn (replaces <kbd>^Q</kbd>)
  139. - Extra shortcuts enabled in nav-as-you-type mode:
  140. - <kbd>^K</kbd>, <kbd>^Y</kbd> (file path copy)
  141. - <kbd>^T</kbd> (toggles quoted file path copy)
  142. - <kbd>^R</kbd> (rename)
  143. - <kbd>^O</kbd> (open with...)
  144. - <kbd>^B</kbd> (show bookmark prompt)
  145. - <kbd>^V</kbd> (visit pinned dir)
  146. - <kbd>^J</kbd> (toggle du mode)
  147. - <kbd>^/</kbd> (open desktop opener)
  148. - <kbd>^F</kbd> (extract archive)
  149. - <kbd>^L</kbd> (refresh)
  150. - <kbd>^G</kbd> (quit nnn and change dir)
  151. - <kbd>^X</kbd> (quit nnn)
  152. -------------------------------------------------------------------------------
  153. nnn v1.6
  154. 2017-12-25
  155. What's in?
  156. - Shortcut `^O` to open file with custom application
  157. - Option `-b` to open bookmarks directly at start
  158. - Huge performance improvements around file name storing and handling
  159. - Several large static buffers removed or reduced
  160. - Several internal algorithms fine tuned for performance/resource usage
  161. -------------------------------------------------------------------------------
  162. nnn v1.5
  163. 2017-10-05
  164. What's in?
  165. - File and directory creation (`n`)
  166. - Env variable `NNN_NOWAIT` to unblock nnn when opening files (DE-specific)
  167. - Show current entry number in status bar
  168. - Support archive listing (`F`) and extraction (`Ctrl-X`) [using `atool`]
  169. - Show correct file size on i386 for large files (> 2GB)
  170. -------------------------------------------------------------------------------
  171. nnn v1.4
  172. 2017-09-04
  173. What's in?
  174. - Monitor directory changes
  175. - In-place file rename
  176. - Pin (`Ctrl-B`) a directory and visit (`Ctrl-V`) it anytime
  177. - Auto-completion scripts
  178. - Show volume capacity and free in help
  179. - Auto-fallback to light mode if too few columns (< 35)
  180. - PackageCore integration
  181. - Unsupported Function keys (they never work universally):
  182. - `F2` (rename), use `Ctrl-R`
  183. - `F5` (refresh), use `Ctrl-L`
  184. -------------------------------------------------------------------------------
  185. nnn v1.3
  186. 2017-07-26
  187. What's in?
  188. - Show directories in custom color (default: enabled in blue)
  189. - Option `-e` to use exiftool instead of mediainfo
  190. - Fixed #34: nftw(3) broken with too many open descriptors
  191. - More concise help screen
  192. -------------------------------------------------------------------------------
  193. nnn v1.2
  194. 2017-06-29
  195. What's in?
  196. - Use the desktop opener (xdg-open on Linux, open(1) on OS X) to open files
  197. - Option `NNN_USE_EDITOR` to open text files in EDITOR (fallback vi)
  198. - Bookmark support (maximum 10, key `b`)
  199. - *Navigate-as-you-type* mode (key `Insert` or option `-i`)
  200. - Subtree search: gnome-search-tool, fallback catfish (key `^/`) (customizable)
  201. - Show current directory content size and file count in disk usage mode
  202. - Add detail view mode as default, use `-l` to start in light mode
  203. - Shortcuts `F2` and `^L` to refresh and unfilter
  204. Note: if filter is empty, `Enter` *opens* the currently selected file now
  205. - Help screen shows bookmarks and configuration
  206. - Show a message when calculating disk usage
  207. - Show the spawned shell level
  208. - Linux only: use vlock as the locker on timeout (set using `NNN_IDLE_TIMEOUT`)
  209. -------------------------------------------------------------------------------
  210. nnn v1.1
  211. 2017-05-12
  212. News
  213. - Introducing nlay - a highly customizable bash script to handle media type
  214. - nnn is on [Homebrew](http://braumeister.org/formula/nnn) now
  215. - RPM packages for CentOS 7 and Fedora 24 generated on release
  216. What's in?
  217. - *Search-as-you-type*
  218. - Unicode support
  219. - Option `-S` to start in disk usage analyzer mode
  220. - Show media information (using mediainfo)
  221. - Use readline at change directory prompt
  222. - Jump to prev directories using `cd .....` (with `.` as PWD)
  223. - Jump to initial directory using `&`
  224. - Show help, mediainfo and file info in PAGER
  225. - Several optimizations
  226. -------------------------------------------------------------------------------
  227. nnn v1.0
  228. 2017-04-13
  229. Modifications
  230. - Behaviour and navigation
  231. - Detail view (default: disabled) with:
  232. - file type (directory, regular, symlink etc.)
  233. - modification time
  234. - human-readable file size
  235. - current item in reverse video
  236. - number of items in current directory
  237. - full name of currently selected file in 'bar'
  238. - Show details of the currently selected file (stat, file)
  239. - Disk usage analyzer mode (within the same fs, doesn't follow symlinks)
  240. - Directories first (even with sorting)
  241. - Sort numeric names in numeric order
  242. - Case-insensitive alphabetic content listing instead of upper case first
  243. - Key `-` to jump to last visited directory
  244. - Roll over at the first and last entries of a directory (with Up/Down keys)
  245. - Removed navigation restriction with relative paths (and let permissions handle it)
  246. - Sort entries by file size (largest to smallest)
  247. - Shortcut to invoke file name copier (set using environment variable `NNN_COPIER`)
  248. - File association
  249. - Set `NNN_OPENER` to let a desktop opener handle it all. E.g.:
  250. export NNN_OPENER=xdg-open
  251. export NNN_OPENER=gnome-open
  252. export NNN_OPENER=gvfs-open
  253. - Selective file associations (ignored if `NNN_OPENER` is set):
  254. - Associate plain text files (determined using file) with vi
  255. - Associate common audio and video mimes with mpv
  256. - Associate PDF files with [zathura](https://pwmt.org/projects/zathura/)
  257. - Removed `less` as default file opener (there is no universal standalone opener utility)
  258. - You can customize further (see [how to change file associations](#change-file-associations))
  259. - `NNN_FALLBACK_OPENER` is the last line of defense:
  260. - If the executable in static file association is missing
  261. - If a file type was not handled in static file association
  262. - This may be the best option to set your desktop opener to
  263. - To enable the desktop file manager key, set `NNN_DE_FILE_MANAGER`. E.g.:
  264. export NNN_DE_FILE_MANAGER=thunar
  265. - Optimization
  266. - All redundant buffer removal
  267. - All frequently used local chunks now static
  268. - Removed some redundant string allocation and manipulation
  269. - Simplified some roundabout procedures
  270. - Compiler warnings fixed
  271. - strip the final binary
  272. -------------------------------------------------------------------------------