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