Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-03-19 | Run a custom script support | Arun Prakash Jana | |
2018-03-19 | Omit sorting if no matches/entries | Arun Prakash Jana | |
2018-03-19 | Free regex | Arun Prakash Jana | |
2018-03-16 | Retain nav-as-you-type mode after exiting spawned shell | Arun Prakash Jana | |
2018-03-16 | Fix #81: GUI programs shouldn't exit on closing the parent terminal | Arun Prakash Jana | |
Issue reproduction steps: 1. Spawn a GUI program e.g. open a PDF file in zathura or evince. 2. Without quitting `nnn` close the terminal. 3. Notice that the application quits too. Can be a nagging issue if someone is not using a drop-down terminal. Fix: detach a GUI child and start it in a new session. There are 2 aspects to this commit: - It fixes #81: in cases where we do not wait for a spawned child we can assume that the child is a GUI process. We detach and spawn the child in a new session. - It changes the behaviour to @Rahi374's suggestion in PR #40 i.e. invoke the DE opener in F_NOWAIT mode. | |||
2018-03-09 | Replace all sprintf() with snprintf() | Arun Prakash Jana | |
2018-03-07 | Fix #95: Add ^I as an alternative to Insert | Arun Prakash Jana | |
2018-03-05 | Integer calculation-only coolsize() | Arun Prakash Jana | |
2018-03-05 | float is suficient and a _little_ faster in coolsize() | Arun Prakash Jana | |
2018-03-05 | Revert "Integer-only coolsize() (#84)" | Arun Prakash Jana | |
This reverts commit 7be0726164442a83f47e5a9a0cdf2db343832d23. | |||
2018-03-05 | Revert "fix rounding carry in coolsize() (#91)" | Arun Prakash Jana | |
This reverts commit 7654a2e0c6057c6d6d85e0625627e3e1dbe8d52d. | |||
2018-03-05 | Revert "Fix compilation warning" | Arun Prakash Jana | |
This reverts commit 30fdb6ff11a8a4d720d3efbb21cb0755abd06665. | |||
2018-03-05 | Fix compilation warning | Arun Prakash Jana | |
2018-03-05 | fix rounding carry in coolsize() (#91) | Alex Suykov | |
Sizes like 1.999 get rounded to (1 + 100/100), which should be displayed as 2.00 not 1.100 as simple %i.%02i would do without additional measures. | |||
2018-03-04 | Fix #89: User-specific tmp file for copying filenames | Arun Prakash Jana | |
Use distinct (by username) tmp filename to copy file paths. The pattern used is: /tmp/nnncp$USER If username is 'arun', the file name is `/tmp/nnncparun`. | |||
2018-03-03 | Support ~, - and & keyboard shortcuts at the bookmark prompt. | Arun Prakash Jana | |
In nav-as-you-type mode only control keys are understood when filter is enabled. We need some way to quicly jump HOME, last visited dir or start dir. | |||
2018-03-03 | Both src and dst should be alignment checked separately | Arun Prakash Jana | |
The following pattern passes the current check: src - 1010 dst - 0101 mask - 1111 | |||
2018-03-01 | Integer-only coolsize() (#84) | Alex Suykov | |
2018-02-28 | Prepare for release v1.7 | Arun Prakash Jana | |
2018-02-24 | Add shortcut ^G to quit and cd | Arun Prakash Jana | |
2018-02-24 | Use macros for external utils | Arun Prakash Jana | |
2018-02-24 | Support batch file rename in vidir | Arun Prakash Jana | |
2018-02-24 | Enable file extract in nav-as-you-type mode | Arun Prakash Jana | |
2018-02-24 | Support file path copy when X is unavailable | Arun Prakash Jana | |
2018-02-15 | Re-populate after spawning shell | Arun Prakash Jana | |
2018-02-13 | Start dir watch, preserve cur entry when navigate-as-you-type is disabled | Arun Prakash Jana | |
2018-02-04 | Better message for multi-copy | Arun Prakash Jana | |
2018-01-29 | Do not show quotes on ^K | Arun Prakash Jana | |
2018-01-28 | Show copymode on/off | Arun Prakash Jana | |
2018-01-28 | Interpret ^T in filter mode | Arun Prakash Jana | |
2018-01-28 | Support file path quote on single copy | Arun Prakash Jana | |
2018-01-28 | Support file path quote on copy | Arun Prakash Jana | |
2018-01-19 | Use macro for CRC8 table length | Arun Prakash Jana | |
2018-01-17 | Redraw if no entries when navigate-as-you-type is turned off | Arun Prakash Jana | |
The main reason to do this is to start watching the current dir for changes. In any case, this does not harm; if there are dir entries shown on redraw that's better than showing nothing. | |||
2018-01-17 | keybind to pin current dir - b | Arun Prakash Jana | |
2018-01-14 | Set to last selection if filter is empty | Arun Prakash Jana | |
2018-01-14 | Use consistent date format | Arun Prakash Jana | |
2018-01-14 | Improve common message handling | Arun Prakash Jana | |
2018-01-14 | Use concise and lowercase messages | Arun Prakash Jana | |
2018-01-14 | Replace snprintf() with xstrlcpy() | Arun Prakash Jana | |
2018-01-14 | Support multiple file path copy | Arun Prakash Jana | |
Design overview: We are introducing multiple file path copy as a mode which can be toggled using the keybind `^Y`. `^K` works as the individual entry selector. If the user wants to select a range, (s)he can press `^Y` on the first entry and `^Y` on the last entry. We subscribe to notifications, so we need a fail-proof way to detect changes in the directory contents. For example, if a file is deleted, it becomes difficult to get the names of all the files in a range containing that file. If the file is on a range boundary it would lead to wrong calculations. To handle this the right way we use CRC8 checksum of all the visible entries in the directory. The checksum is calculated based on the file information buffer. If the CRC changes on a redraw(), we reset the multi-select mode. New line (`\n`) works as the delimiter between file paths. Note that you may have to disable IFS in the `NNN_COPIER` script to show file paths separated by spaces. | |||
2018-01-13 | Key changes: ^F - extract archive, ^X - quit | Arun Prakash Jana | |
2018-01-09 | Remap ^S and ^Q. | Arun Prakash Jana | |
The replacement keys are: ^J - toggle du mode ^Y - quit The change is done because ^S, ^Q keybinds are lost in the following case: - start nnn - navigate to a different directory - spawn a shell - exit the shell The issue happens only with the 'special' keybinds like ^S, ^Q, ^Z... which get their original shell interpretation back. So we are replacing these 2 keybinds with 2 'non-special' combinations. | |||
2018-01-09 | Sufficient to use refresh() after exitcurses() | Arun Prakash Jana | |
2018-01-09 | Add shortcut ^S to toggle du mode | Arun Prakash Jana | |
2018-01-09 | Explicitly optimize modulo ops | Arun Prakash Jana | |
2018-01-08 | Open with GUI app - Suppress stdout, stderr | Arun Prakash Jana | |
2018-01-07 | Simplify detail printing | Arun Prakash Jana | |
2018-01-07 | Change bookmark prompt and pin dir keys. | Arun Prakash Jana | |
New keys: - bookmark prompt (^B) - pin directory (B) The intention of the change is to facilitate opening the bookmark prompt in navigate-as-you-type mode. The bookmark prompt is used more than the pin current directory option. | |||
2018-01-07 | Highest priority to desktop search, rename | Arun Prakash Jana | |