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