My build of nnn with minor changes
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

CHANGELOG 19 KiB

il y a 5 ans
il y a 5 ans
il y a 5 ans
il y a 5 ans
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479
  1. nnn v2.7
  2. 2019-10-06
  3. - plugins for image preview, image and video thumbnails
  4. - redesigned selection workflow
  5. - drop path prefix for files in current dir for selection based archives
  6. - custom direct keybinds for plugins
  7. - libreadline `.history` file moved to `nnn` config directory
  8. - export current entry as `$NN` at command prompt
  9. - more informative status bar in light/detail modes
  10. - auto-proceed to next file on single file select
  11. - path clipping for long paths
  12. - completely revamped wiki
  13. - new program options:
  14. - `-a` to use file access time throughout the program
  15. - `-c` to indicate cli-only opener
  16. - `-f` to run filter as command on <kbd>^P</kbd>
  17. - `-o` replaces config `NNN_RESTRICT_NAV_OPEN`
  18. - `-t` replaces config `NNN_NO_AUTOSELECT`
  19. - `-r` replaces config `NNN_OPS_PROG`
  20. - plugin changes:
  21. - `vidthumb` - show video thumbnails in terminal
  22. - `mediainf` - show media info (decoupled as a plugin)
  23. - `notes` - open a quick notes file/dir in `$EDITOR` (decoupled as a plugin)
  24. - `dups` - list duplicate files in the current directory
  25. - `oldbigfile` - list large files by access time
  26. - `moclyrics` - show lyrics of the track currently playing in MOC
  27. - `uidgid` list uid and gid of files in directory
  28. - `mocplay` - now detects if a track is playing or not
  29. - `organize` - categorize files and move to respective directories
  30. - `pastebin` - now uses ix.io paste service
  31. - `fzy-edit` - merged into `fzy-open`
  32. - `viuimg` - fix directory view
  33. - `checksum` - fixed POSIX compliance issues
  34. - `boom` - play music in MOC
  35. - keybind changes:
  36. - select entry: <kbd>Space</kbd> and <kbd>^J</kbd>
  37. - select range (or clear selection): <kbd>m</kbd> and <kbd>^K</kbd>
  38. - select all in dir: <kbd>a</kbd>
  39. - list selection: <kbd>M</kbd>
  40. - <kbd>^N</kbd> replaces <kbd>^T</kbd> to toggle _nav-as-you-type_
  41. - <kbd>Shift TAB</kbd> to reverse context cycle
  42. - <kbd>'</kbd> to jump to first file in dir
  43. - <kbd>S</kbd> for du, <kbd>A</kbd> for apparent du
  44. - additional key <kbd>:</kbd> to run plugin
  45. - additional key <kbd>F2</kbd> to rename file
  46. - additional key <kbd>F5</kbd> to redraw
  47. - quit context key <kbd>Leadq</kbd> is removed
  48. - Leader key combinations:
  49. - <kbd>Lead'</kbd> to jump to first file in dir
  50. - <kbd>Lead]</kbd> go to next active context
  51. - <kbd>Lead[</kbd> go to prev active context
  52. - <kbd>Lead.</kbd> toggle show hidden files
  53. - improved duplicate file workflow
  54. - improved batch rename workflow when a selection exists
  55. - removed the wild load option (`-w`)
  56. - removed quick notes (added plugin `notes`)
  57. - fix #225 (thanks @KlzXS)
  58. - fix `tar`/`bsdtar` always creating tar archives (and not by suffix)
  59. - fix single mouse click to select file not working
  60. - fix symlink to dir removed on batch rename
  61. - fix detail mode not set with program option `-S`
  62. -------------------------------------------------------------------------------
  63. nnn v2.6
  64. 2019-08-06
  65. - new plugins
  66. - view image or browse a directory of images in terminal
  67. - show image thumbnails
  68. - PDF and text file reader
  69. - calculate and verify checksum of selection or file
  70. - append (and play) selection/dir/file music in MOC
  71. - variable bitrate mp3 ringtone generator
  72. - split current file or join selection
  73. - better experience on Termux (and touch based devices)
  74. - mouse scrolling support (with ncursesw6.0 and above)
  75. - tap/left click to visit parent, toggle nav-as-you-type mode
  76. - light mode set as default
  77. - show status bar and use reverse video in light mode
  78. - changed program options
  79. - `-d`: detail mode
  80. - `-H`: show hidden files
  81. - `-l` is retired
  82. - support `XDG_CONFIG_HOME`
  83. - support <kbd>/</kbd> as an additional Leader key when filter is on
  84. - sort by file extension
  85. - use zip/unzip/tar if atool/bsdtar not found
  86. - support duplicate file (key <kbd>^R</kbd>, same as rename file)
  87. - new config option `NNN_SSHFS_OPTS` to specify `sshfs` options
  88. - restrict opening 0 byte files (`NNN_RESTRICT_0B` is obsolete)
  89. - critical defects fixed
  90. - fix #276 - crash with variable length inotify event handling
  91. - fix #285 - hang after deleting/moving current directory
  92. - fix #274 - a broken prompt on empty input with libreadline
  93. - fix #304 - list selection from another instance
  94. - `cmatrix` as locker fallback
  95. - wait for user input after running a command from prompt
  96. - scrolloff set to 3 from 5
  97. -------------------------------------------------------------------------------
  98. nnn v2.5
  99. 2019-05-27
  100. - mouse support
  101. - new location for config files - `~/.config/nnn`
  102. - plugin dir location: `~/.config/nnn/plugins`
  103. - selection file `.nnncp` is now `~/.config/nnn/.selection`
  104. - plugins:
  105. - pdfview: view a PDF in pager
  106. - nmount: (un)mount a storage device
  107. - ndiff: file and directory diff for selection
  108. - hexview: view a file in hex
  109. - imgresize: batch resize images to desktop resolution
  110. - ipinfo: check your IP address and whois information
  111. - transfer: upload a file to transfer.in
  112. - pastebin: paste the contents of a text file to paste.ubuntu.com
  113. - boom: play random music from a directory
  114. - nwal: set an image as wallpaper using nitrogen
  115. - pywal: set selected image as wallpaper, change terminal color scheme
  116. - getplugs: update plugins
  117. - SSHFS support
  118. - support `bsdtar`, simplify `patool` integration
  119. - native batch rename support (`vidir` dependency dropped)
  120. - changes to support [configuration](https://github.com/jarun/nnn/wiki/nnn-as-default-file-manager) as the default file manager
  121. - per-context detail/light mode
  122. - case-insensitive version compare
  123. - shortcut to visit `/` - <kbd>`</kbd> (backtick)
  124. - vim-like scrolloff support
  125. - <kbd>^D</kbd> & <kbd>^U</kbd>: scroll half page, <kbd>PgDn</kbd> & <kbd>PdUp</kbd>: scroll full page
  126. - fix selection across contexts
  127. - recognize <kbd>Home</kbd> and <kbd>End</kbd> keys at prompt for editing
  128. - fix broken program option `-b`
  129. - POSIX-compliant user-scripts (wherever possible)
  130. - `NNN_SCRIPT` is retired (replaced by plugins)
  131. -------------------------------------------------------------------------------
  132. nnn v2.4
  133. 2019-03-19
  134. - FreeDesktop.org compliant trashing
  135. - mark selected entries with `+`
  136. - _wild_ mode (option `-w`, key <kbd>^W</kbd>) for _nav-as-you-type_
  137. - POSIX-compliant GUI app launcher with drop-down menu (key <kbd>=</kbd>)
  138. - new scripts:
  139. - upload image to imgur
  140. - send selection to Android using kdeconnect-cli
  141. - show permissions in detail mode
  142. - cp, mv progress bar for Linux (needs advcpmv) [BSD, macOS shows on <kbd>^T</kbd>]
  143. - make libreadline an optional dep (reduces memory usage)
  144. - minimize the number of redraws
  145. - handle screen resize gracefully
  146. - option `-d` to show hidden files (`NNN_SHOW_HIDDEN` is removed)
  147. - additional key <kbd>K</kbd> to toggle selection
  148. - change visit start dir key to <kbd>@</kbd>
  149. - option `-C` to disable colors removed
  150. - per-context initial directory replaced by program start dir
  151. - marker msg when spawning new shell removed
  152. - rename debug file to `nnndbg`
  153. -------------------------------------------------------------------------------
  154. nnn v2.3
  155. 2019-02-19
  156. - file picker mode
  157. - repo of user-contributed scripts
  158. - substring search for filters (option `-s`)
  159. - version sort (option `-n`)
  160. - disk usage calculation abort with <kbd>^C</kbd>
  161. - create sym/hard link(s) to files in selection
  162. - archiving of selection
  163. - show dir symlinks along with dirs in top
  164. - fixed CJK character handling at prompts
  165. - key `N` (1 <= N <= 4) to switch to context N
  166. - bring back `NNN_OPENER` to specify file opener
  167. - env var `NNN_NOTE` and keybind <kbd>^N</kbd> for quick notes
  168. - handle multiple arguments in VISUAL/EDITOR
  169. - show the current directory being scanned in `du` mode
  170. - select all files (<kbd>Y</kbd>)
  171. - show command prompt (<kbd>^P</kbd>)
  172. - key <kbd>,</kbd> replaces <kbd>`</kbd> as alternative Leader Key
  173. - keybind for visit pinned directory is now <kbd>^B</kbd>
  174. - additional key <kbd>^V</kbd> to run or select custom script
  175. - use libreadline for command prompt
  176. - reduce delay on <kbd>Esc</kbd> press
  177. - config option to avoid unexpected behaviour on 0-byte file open (see #187)
  178. - rename config option `DISABLE_FILE_OPEN_ON_NAV` to `NNN_RESTRICT_NAV_OPEN`
  179. - keys removed - <kbd>$</kbd>, <kbd>^</kbd>, <kbd>Backspace</kbd>, <kbd>^H</kbd>, <kbd>^P</kbd>, <kbd>^M</kbd>, <kbd>^W</kbd>, <kbd>`</kbd>
  180. -------------------------------------------------------------------------------
  181. nnn v2.2
  182. 2019-01-01
  183. What's in?
  184. - (neo)vim plugin [nnn.vim](https://github.com/mcchrish/nnn.vim)
  185. - macOS fixes
  186. - Fix issues with file copy, move, remove
  187. - Handle <kbd>Del</kbd> in rename prompt
  188. - Pass correct `file` option to identify mime
  189. - Support selection across directories and contexts
  190. - Offer option `force` before file remove
  191. - Keys <kbd>Tab</kbd>, <kbd>^I</kbd> to go to next active context
  192. - Per-context directory color specified by `$NNN_CONTEXT_COLORS`
  193. - Option `-c` is removed
  194. - Option `-C` to disable colors
  195. - Choose script to run from a script directory
  196. - Run a command (or launch an application)
  197. - Run file as executable (key <kbd>C</kbd>)
  198. - Documentation on lftp integration for remote file transfers
  199. - Support a _combined_ set of arguments to `$EDITOR`, `$PAGER` and `$SHELL`
  200. - Handle > 2 GB files on 32-bit ARM
  201. - Env var `$DISABLE_FILE_OPEN_ON_NAV` to disable file open on <kbd>Right</kbd> or <kbd>l</kbd>
  202. - `NUL`-terminated file paths in selection list instead of `LF`
  203. - Better support for Termux and Cygwin environments
  204. - Remapped keys
  205. - <kbd>^I</kbd> - go to next active context
  206. - <kbd>^T</kbd> - toggle _navigate-as-you-type_
  207. -------------------------------------------------------------------------------
  208. nnn v2.1
  209. 2018-11-23
  210. What's in?
  211. - Inclusion in several distros including Arch Linux official repo
  212. - Multiple contexts (_aka_ tabs _aka_ workspaces) [max 4]
  213. - Copy, move, remove selected files, remove current file
  214. - [Leader key](https://github.com/jarun/nnn#leader-key) (like vim)
  215. - In-built GUI app launcher with up to 2 arguments (key <kbd>o</kbd>)
  216. - List copy selection (key <kbd>y</kbd>)
  217. - Env var `NNN_NO_AUTOSELECT` to disable dir auto-select
  218. - Key <kbd>Esc</kbd> exits prompt, <kbd>^L</kbd> clears prompt
  219. - Program runtime help revamped
  220. - Static code analysis integration
  221. - gcc-8 warnings fixed
  222. - Remapped keys:
  223. - <kbd>^W</kbd> - go to pinned dir
  224. - <kbd>^X</kbd> - delete current entry
  225. - <kbd>^Q</kbd> - quit program
  226. - `nlay` is retired (functionality built into `nnn`)
  227. - `chdir` prompt is retired
  228. - Env var `NNN_NO_X` retired, selection now works out of the box
  229. - Only single-char bookmark keys (to work with Leader key)
  230. -------------------------------------------------------------------------------
  231. nnn v2.0
  232. 2018-10-19
  233. What's in?
  234. - Mode to show apparent size (key `S`)
  235. - Script to integrate `patool` instead of `atool`
  236. - Support `bashlock` (OS X) and `lock` (BSD) as terminal locker
  237. - Symbol `@/` for symlink to dir
  238. - Dependency on `libreadline` removed
  239. -------------------------------------------------------------------------------
  240. nnn v1.9
  241. 2018-08-10
  242. What's in?
  243. - Support unlimited number of scripts
  244. - Pass currently selected filename as first argument to custom scripts
  245. - Support directory auto-select in _navigate-as-you-type_ mode
  246. - Show selection name in archive name prompt
  247. - Support Cygwin opener
  248. - Better support on RHEL 25 with earlier version on curses
  249. - Sample script for `fzy` integration
  250. - Now available on OpenBSD
  251. - Disabled package generation for Ubuntu 17.10
  252. -------------------------------------------------------------------------------
  253. nnn v1.8
  254. 2018-05-02
  255. What's in?
  256. - Run a custom script
  257. - Archive selected file/directory
  258. - Show number of cherry-picked files in multi-copy mode
  259. - Env var `NNN_SHOW_HIDDEN` to show hidden files by default
  260. - Additional information in help screen
  261. - Give preference to env var VISUAL, if defined, over EDITOR
  262. - New/changed/remapped shortcuts
  263. - <kbd>^]</kbd> - spawn a new shell in current directory
  264. - <kbd>r</kbd> - edit directory entries in vidir
  265. - <kbd>R</kbd> - run a custom script
  266. - <kbd>^I</kbd> - toggle navigate-as-you-type mode
  267. - <kbd>L</kbd> - lock the current terminal (Linux-only)
  268. - All Ctrl shortcuts enabled in navigate-as-you-type mode
  269. - Fix: GUI programs closing when parent terminal is closed
  270. - Recognize `~`, `-` and `&` at bookmark prompt
  271. - Recognize ruby (.rb) files as text files
  272. - Efficient integer-only file size calculation
  273. - Official inclusion on openSUSE and Fedora
  274. - Package generation for Ubuntu 18.04
  275. -------------------------------------------------------------------------------
  276. nnn v1.7
  277. 2018-02-28
  278. What's in?
  279. - Batch rename/move/delete files in vidir from [moreutils](https://joeyh.name/code/moreutils/)
  280. - Copy multiple file paths
  281. - Copy file paths when X is unavailable
  282. - Optionally quote individual file paths with single quotes on copy
  283. - Use ISO 8601 date format in file details
  284. - New/changed/remapped shortcuts:
  285. - <kbd>^B</kbd> - show bookmark prompt (replaces <kbd>b</kbd>)
  286. - <kbd>b</kbd> - pin current dir (replaces <kbd>^B</kbd>)
  287. - <kbd>^J</kbd> - toggle du mode
  288. - <kbd>R</kbd> - batch rename files in vidir
  289. - <kbd>^F</kbd> - extract archive (replaces <kbd>^X</kbd>)
  290. - <kbd>^G</kbd> - quit nnn and change dir
  291. - <kbd>^X</kbd> - quit nnn (replaces <kbd>^Q</kbd>)
  292. - Extra shortcuts enabled in nav-as-you-type mode:
  293. - <kbd>^K</kbd>, <kbd>^Y</kbd> (file path copy)
  294. - <kbd>^T</kbd> (toggles quoted file path copy)
  295. - <kbd>^R</kbd> (rename)
  296. - <kbd>^O</kbd> (open with...)
  297. - <kbd>^B</kbd> (show bookmark prompt)
  298. - <kbd>^V</kbd> (visit pinned dir)
  299. - <kbd>^J</kbd> (toggle du mode)
  300. - <kbd>^/</kbd> (open desktop opener)
  301. - <kbd>^F</kbd> (extract archive)
  302. - <kbd>^L</kbd> (refresh)
  303. - <kbd>^G</kbd> (quit nnn and change dir)
  304. - <kbd>^X</kbd> (quit nnn)
  305. -------------------------------------------------------------------------------
  306. nnn v1.6
  307. 2017-12-25
  308. What's in?
  309. - Shortcut `^O` to open file with custom application
  310. - Option `-b` to open bookmarks directly at start
  311. - Huge performance improvements around file name storing and handling
  312. - Several large static buffers removed or reduced
  313. - Several internal algorithms fine tuned for performance/resource usage
  314. -------------------------------------------------------------------------------
  315. nnn v1.5
  316. 2017-10-05
  317. What's in?
  318. - File and directory creation (`n`)
  319. - Env variable `NNN_NOWAIT` to unblock nnn when opening files (DE-specific)
  320. - Show current entry number in status bar
  321. - Support archive listing (`F`) and extraction (`Ctrl-X`) [using `atool`]
  322. - Show correct file size on i386 for large files (> 2GB)
  323. -------------------------------------------------------------------------------
  324. nnn v1.4
  325. 2017-09-04
  326. What's in?
  327. - Monitor directory changes
  328. - In-place file rename
  329. - Pin (`Ctrl-B`) a directory and visit (`Ctrl-V`) it anytime
  330. - Auto-completion scripts
  331. - Show volume capacity and free in help
  332. - Auto-fallback to light mode if too few columns (< 35)
  333. - PackageCore integration
  334. - Unsupported Function keys (they never work universally):
  335. - `F2` (rename), use `Ctrl-R`
  336. - `F5` (refresh), use `Ctrl-L`
  337. -------------------------------------------------------------------------------
  338. nnn v1.3
  339. 2017-07-26
  340. What's in?
  341. - Show directories in custom color (default: enabled in blue)
  342. - Option `-e` to use exiftool instead of mediainfo
  343. - Fixed #34: nftw(3) broken with too many open descriptors
  344. - More concise help screen
  345. -------------------------------------------------------------------------------
  346. nnn v1.2
  347. 2017-06-29
  348. What's in?
  349. - Use the desktop opener (xdg-open on Linux, open(1) on OS X) to open files
  350. - Option `NNN_USE_EDITOR` to open text files in EDITOR (fallback vi)
  351. - Bookmark support (maximum 10, key `b`)
  352. - *Navigate-as-you-type* mode (key `Insert` or option `-i`)
  353. - Subtree search: gnome-search-tool, fallback catfish (key `^/`) (customizable)
  354. - Show current directory content size and file count in disk usage mode
  355. - Add detail view mode as default, use `-l` to start in light mode
  356. - Shortcuts `F2` and `^L` to refresh and unfilter
  357. Note: if filter is empty, `Enter` *opens* the currently selected file now
  358. - Help screen shows bookmarks and configuration
  359. - Show a message when calculating disk usage
  360. - Show the spawned shell level
  361. - Linux only: use vlock as the locker on timeout (set using `NNN_IDLE_TIMEOUT`)
  362. -------------------------------------------------------------------------------
  363. nnn v1.1
  364. 2017-05-12
  365. News
  366. - Introducing nlay - a highly customizable bash script to handle media type
  367. - nnn is on [Homebrew](http://braumeister.org/formula/nnn) now
  368. - RPM packages for CentOS 7 and Fedora 24 generated on release
  369. What's in?
  370. - *Search-as-you-type*
  371. - Unicode support
  372. - Option `-S` to start in disk usage analyzer mode
  373. - Show media information (using mediainfo)
  374. - Use readline at change directory prompt
  375. - Jump to prev directories using `cd .....` (with `.` as PWD)
  376. - Jump to initial directory using `&`
  377. - Show help, mediainfo and file info in PAGER
  378. - Several optimizations
  379. -------------------------------------------------------------------------------
  380. nnn v1.0
  381. 2017-04-13
  382. Modifications
  383. - Behaviour and navigation
  384. - Detail view (default: disabled) with:
  385. - file type (directory, regular, symlink etc.)
  386. - modification time
  387. - human-readable file size
  388. - current item in reverse video
  389. - number of items in current directory
  390. - full name of currently selected file in 'bar'
  391. - Show details of the currently selected file (stat, file)
  392. - Disk usage analyzer mode (within the same fs, doesn't follow symlinks)
  393. - Directories first (even with sorting)
  394. - Sort numeric names in numeric order
  395. - Case-insensitive alphabetic content listing instead of upper case first
  396. - Key `-` to jump to last visited directory
  397. - Roll over at the first and last entries of a directory (with Up/Down keys)
  398. - Removed navigation restriction with relative paths (and let permissions handle it)
  399. - Sort entries by file size (largest to smallest)
  400. - Shortcut to invoke file name copier (set using environment variable `NNN_COPIER`)
  401. - File association
  402. - Set `NNN_OPENER` to let a desktop opener handle it all. E.g.:
  403. export NNN_OPENER=xdg-open
  404. export NNN_OPENER=gnome-open
  405. export NNN_OPENER=gvfs-open
  406. - Selective file associations (ignored if `NNN_OPENER` is set):
  407. - Associate plain text files (determined using file) with vi
  408. - Associate common audio and video mimes with mpv
  409. - Associate PDF files with [zathura](https://pwmt.org/projects/zathura/)
  410. - Removed `less` as default file opener (there is no universal standalone opener utility)
  411. - You can customize further (see [how to change file associations](#change-file-associations))
  412. - `NNN_FALLBACK_OPENER` is the last line of defense:
  413. - If the executable in static file association is missing
  414. - If a file type was not handled in static file association
  415. - This may be the best option to set your desktop opener to
  416. - To enable the desktop file manager key, set `NNN_DE_FILE_MANAGER`. E.g.:
  417. export NNN_DE_FILE_MANAGER=thunar
  418. - Optimization
  419. - All redundant buffer removal
  420. - All frequently used local chunks now static
  421. - Removed some redundant string allocation and manipulation
  422. - Simplified some roundabout procedures
  423. - Compiler warnings fixed
  424. - strip the final binary
  425. -------------------------------------------------------------------------------