Commit Graph

478 Commits

Author SHA1 Message Date
Arun Prakash Jana fd8a8387b8
Add option to show noti and copy selection to system clipboard 2019-12-12 19:51:08 +05:30
Arun Prakash Jana 8d143bb87f
Disable partial regex errors 2019-12-10 18:37:10 +05:30
Arun Prakash Jana bc025ceb5a
Fix regex for file extension 2019-12-09 23:41:25 +05:30
Arun Prakash Jana 77ebfff98b
Rename opener nplay to nuke 2019-12-08 20:27:06 +05:30
Arun Prakash Jana 5826da920f
Add nplay: a custom opener 2019-12-07 23:04:40 +05:30
Arun Prakash Jana 90108ba763
Prepare for release v2.8.1 2019-12-05 04:47:32 +05:30
Arun Prakash Jana c139178916
Add more details on selection 2019-12-04 18:54:25 +05:30
Arun Prakash Jana cc36aa8d49
Prepare for release v2.8 2019-12-04 02:58:27 +05:30
Arun Prakash Jana 3f0c604111
Option -R to disable rollover at edges 2019-12-01 23:00:06 +05:30
Arun Prakash Jana f231c35ef9
Update docs 2019-11-30 02:21:59 +05:30
Arun Prakash Jana f9058e1aaa
Support link creation for hovered file 2019-11-29 20:58:12 +05:30
Arun Prakash Jana e6f9d6d2d0
Add rclone support for remote access 2019-11-24 21:24:32 +05:30
Arun Prakash Jana c4483a8956
Update docs on -E 2019-11-24 19:23:09 +05:30
Arun Prakash Jana 5d0af863b5
Set hovered and file as 2019-11-24 02:13:27 +05:30
Arun Prakash Jana 594d645e25
Rename plugins, group related ones 2019-11-22 17:51:13 +05:30
Arun Prakash Jana cb3ee616c2
update man page 2019-11-21 02:38:34 +05:30
Arun Prakash Jana 3004694cd4 Update man page on executing commands directly.
Remove extra static string.
2019-11-18 18:57:04 +05:30
Arun Prakash Jana 3aebeaec58
Update docs on session 2019-10-19 04:03:46 +05:30
Anna Arad 60dac94a5e Implementing sessions support (#360)
* Initial commit of sessions implementation

* Reduce code duplication

* Move load session to program flag -e

* Fix context initialization problem when loading session

* Add pinned directory to session and reduce session file size

* Make load_session print an error if exists and few minor adjustments

* Refactor session's file structure

* Initialize required structures in load_session before loading

* Add load session dynamically, restore last session, and extra fixes

* Fix indentation

* Add sessions documentation to man page

* Update fish completions with sessions and make some improvements

* Move to single keybinding session management and add help info

* ESC when asked to insert session name behaves better

* Add sessions completion for bash

* Remove pinned dir from session and minor code refactors
2019-10-19 03:41:39 +05:30
Arun Prakash Jana d1d491c102
Fix #350: cd on quit if NNN_TMPFILE is set 2019-10-11 23:19:25 +05:30
Arun Prakash Jana c99a47d688
Update man page on -K 2019-10-11 21:26:03 +05:30
Arun Prakash Jana b42efcbb1f
Document edit selection 2019-10-10 19:26:08 +05:30
Arun Prakash Jana 7965fa1b0d
Fix #342: mention as Lead key in docs 2019-10-10 08:30:17 +05:30
Arun Prakash Jana 84bb0b5bfe
Update doc on deselect, file size 2019-10-09 19:51:51 +05:30
Arun Prakash Jana 2d50a0db50
Update doc 2019-10-08 19:45:29 +05:30
Arun Prakash Jana b4ba845fe3
Remove obsolete troubleshooting note 2019-10-08 01:47:52 +05:30
Arun Prakash Jana 048c5195c3
Prepare for release v2.7 2019-10-06 20:19:22 +05:30
Arun Prakash Jana 9ff7ed9291
Update docs 2019-10-06 19:52:30 +05:30
Arun Prakash Jana add2db80f2
Update man 2019-10-03 03:46:44 +05:30
Arun Prakash Jana 9f68e74289 Revert "Fix #334: Detect session type"
This reverts commit e226e8c889.
2019-10-03 03:33:15 +05:30
Arun Prakash Jana e226e8c889
Fix #334: Detect session type 2019-10-03 02:38:26 +05:30
Arun Prakash Jana 5f4046b63d
Fix #334 2019-10-02 23:04:56 +05:30
Arun Prakash Jana 7cae5dfe44
Shortcut to list selection y is now M 2019-09-30 18:54:27 +05:30
Arun Prakash Jana 17de5bfc27
Use better keys for selection mode 2019-09-29 22:59:27 +05:30
Arun Prakash Jana 6f856dbe74
Update docs 2019-09-28 21:28:43 +05:30
Arun Prakash Jana d7ce06b10b
Add plugin to take quick notes 2019-09-26 19:56:43 +05:30
Arun Prakash Jana 450601bea5
Update docs 2019-09-16 21:01:56 +05:30
Arun Prakash Jana c3ce5bc705
Preserve attributes on duplicate, update docs 2019-09-11 18:28:41 +05:30
Arun Prakash Jana bb5ef221b3
Run a command at filter prompt
This is a conveninece for nav-as-you-type mode.
With this program option, on pressing ^P, the filter is  executed as cmd.
2019-09-11 14:54:23 +05:30
Arun Prakash Jana 460fe7c080
Update example 2019-08-30 21:03:39 +05:30
Arun Prakash Jana ec873ab4fa
Option -a to use file access time 2019-08-30 21:00:47 +05:30
Arun Prakash Jana 94c3af873c
Implement mediainfo as a plugin 2019-08-28 00:02:33 +05:30
Arun Prakash Jana a4d8d68c7d
Option -r to show cp, mv progress on Linux 2019-08-23 20:28:56 +05:30
Arun Prakash Jana 6ea75cfd8d
Fix broken links, update docs 2019-08-21 08:59:39 +05:30
Arun Prakash Jana f4f1acf856
Remove wild load option 2019-08-20 20:00:48 +05:30
Arun Prakash Jana e9f7b6aa6c
Option -t replaces NNN_NO_AUTOSELECT 2019-08-17 00:07:38 +05:30
Arun Prakash Jana ac815c692a
Option -o replaces NNN_RESTRICT_NAV_OPEN 2019-08-16 23:40:43 +05:30
Arun Prakash Jana 1294a9caf5
Revert rename cp mv progress 2019-08-16 22:22:45 +05:30
Arun Prakash Jana 02b3273233
Use key-plugin pairs for running plugins 2019-08-14 21:58:18 +05:30
Arun Prakash Jana 7b59a7dba9
Rename cp mv progress conf 2019-08-14 19:10:41 +05:30
Arun Prakash Jana 75bfcb1834
Prepare for release v2.6 2019-08-06 04:13:10 +05:30
Arun Prakash Jana 9fdfd9388d
Light mode as default, options changed
-d is to show detail mode
-H is to show hidden files
-l is retired
2019-08-04 09:55:14 +05:30
Arun Prakash Jana aa840a7f65
Resurrect default sort 2019-07-14 23:00:14 +05:30
Arun Prakash Jana 80bdeb8d72
Fix order of options in man 2019-06-24 21:50:01 +05:30
Arun Prakash Jana 277f156c37
Fix #291 2019-06-24 21:45:02 +05:30
Arun Prakash Jana 2d1d176160
Fix #288 2019-06-20 19:17:00 +05:30
Arun Prakash Jana 32b3445f3b
Use case insensitive version sort to compare 2019-06-17 07:04:25 +05:30
Arun Prakash Jana fa4f082ac0
Move cd on quit file
The new location is ~/.config/nnn/.lastd
2019-06-07 21:58:45 +05:30
Arun Prakash Jana cd458b9ab4
Remove retired config variable 2019-06-07 21:01:07 +05:30
Arun Prakash Jana 5ea8218e4f
Prepare for release v2.5 2019-05-27 08:00:32 +05:30
Arun Prakash Jana 4f15fb765a
Always detach opener
This may affect issue #227 but the defunct processes do not use any memory and exit when nnn exits. I guess that happens because of xdg-open using an intermediate script.

However, if we do not detach xdg-open, the child process is killed when the terminal is closed which is a severe problem.
2019-04-26 08:46:57 +05:30
Arun Prakash Jana 99b1b1f489 SSHFS refinements 2019-04-22 02:14:43 +05:30
Arun Prakash Jana 20280e182a
Update docs 2019-04-22 00:45:11 +05:30
Arun Prakash Jana a900b2c4fa Support config dir ~/.config/nnn 2019-04-21 23:59:51 +05:30
Arun Prakash Jana 882a17a60f
SSHFS support 2019-04-21 00:47:11 +05:30
Arun Prakash Jana 5cf3471716
Plugins! 2019-04-18 20:32:53 +05:30
Arun Prakash Jana 4997f047cc
Support only scripts directory 2019-04-06 06:54:06 +05:30
Arun Prakash Jana ebe12e288a
Update docs 2019-03-23 20:29:31 +05:30
Arun Prakash Jana fa31775547 Fix #231 2019-03-22 19:30:01 +05:30
Arun Prakash Jana 10c8344fbd
Update docs 2019-03-20 09:22:44 +05:30
Arun Prakash Jana 40b98e8c9e
Prepare for release v2.4 2019-03-19 03:17:22 +05:30
Arun Prakash Jana 75c90dbdc6
Add reference to program help for keybinds 2019-03-17 22:06:28 +05:30
Arun Prakash Jana a747a1e267
Update docs 2019-03-13 00:05:42 +05:30
Arun Prakash Jana 69aeeb51d2
GUI app launcher with drop-down menu
`nlauncher` is POSIX compliant. It needs `fzy`.
2019-03-12 16:23:00 +05:30
Arun Prakash Jana 99c1bdd2b7
Minor refactor 2019-03-11 23:56:18 +05:30
Arun Prakash Jana 2e07a20d23
Option `-d` to show hidden files.
NNN_SHOW_HIDDEN is removed.
2019-03-11 20:21:41 +05:30
Arun Prakash Jana f77d9bef3d
Rename env var 2019-03-09 13:46:18 +05:30
Arun Prakash Jana 090e55c74a
Revert native trashing 2019-03-09 09:15:04 +05:30
Arun Prakash Jana aba6557246
Update docs 2019-03-05 20:34:11 +05:30
Arun Prakash Jana 7811518903
Add empty trash key T 2019-03-02 22:28:41 +05:30
Arun Prakash Jana ff2bfff386
trash dir is ~/.local/trash 2019-03-02 18:45:15 +05:30
Arun Prakash Jana 62d1ff278f
Trash file when deleted 2019-03-02 18:32:23 +05:30
Arun Prakash Jana 746e5d0d1f
Fix #141, #196 2019-03-01 06:46:13 +05:30
Arun Prakash Jana 7d36f54d75
Remove option to disable color 2019-02-28 22:36:52 +05:30
Arun Prakash Jana 0522a426c0
Don't remember initial dir per-context 2019-02-28 22:36:52 +05:30
Arun Prakash Jana 3e053e9412
Wild mode for nav-as-you-type 2019-02-28 22:36:54 +05:30
Arun Prakash Jana 963252fcc7
Fix #214: show cp, mv progress with advcpmv 2019-02-25 19:37:23 +05:30
Arun Prakash Jana 42e36e85ee
Add key 'K' to toggle selection 2019-02-23 20:13:04 +05:30
Arun Prakash Jana 1c96ac4ff5
Prepare for release v2.3 2019-02-19 16:08:37 +05:30
Christoph 477d5a70eb Clarify the difference between copy and select. 2019-02-05 22:13:05 +01:00
Arun Prakash Jana cebb2469d3
Add option -s to use string filters 2019-02-06 00:38:55 +05:30
Arun Prakash Jana f21ec611cd
Replace backquote with comma as leader key 2019-02-05 23:58:13 +05:30
Arun Prakash Jana 336eca300a
Fix #190: support version sort (option -n) 2019-02-05 23:48:34 +05:30
Arun Prakash Jana 8b0fa2be44
Remove key N 2019-01-31 19:28:35 +05:30
Arun Prakash Jana d9977c5ea1
Support archiving files in selection 2019-01-31 07:27:08 +05:30
Arun Prakash Jana ebc81c5d34
Support select all with Y 2019-01-30 02:58:42 +05:30
Arun Prakash Jana cfb524ea5e
Fix #200: bind ^P to show command prompt 2019-01-29 23:40:46 +05:30
Arun Prakash Jana b1b1f90d11
Bind ^B to visit pinned dir 2019-01-29 23:37:09 +05:30
Arun Prakash Jana 7de98faa74
Un-document ^M 2019-01-23 21:39:41 +05:30
Arun Prakash Jana 80f4f54078
Remove shortcuts ^H, ^N, ^P 2019-01-23 21:33:43 +05:30
Arun Prakash Jana a8544f2842
Code reformat 2019-01-21 00:16:52 +05:30
Arun Prakash Jana 8ff56d2c74
Support link creation 2019-01-20 16:59:55 +05:30
Arun Prakash Jana 78048d6ef0
Document macros 2019-01-19 18:20:05 +05:30
Arun Prakash Jana 88a940dcab
Document NNN_TMPFILE 2019-01-19 17:32:43 +05:30
Arun Prakash Jana 366f49e6b3
Take notes with N 2019-01-19 14:51:40 +05:30
Arun Prakash Jana 772619527f
Remove key Backspace 2019-01-19 14:08:21 +05:30
Arun Prakash Jana 5f581ff20a
Key N to switch to context N 2019-01-19 13:09:46 +05:30
Arun Prakash Jana 5e4810b382
Remove keys ^, $ 2019-01-19 12:31:25 +05:30
Arun Prakash Jana 5f519841e7
Resurrect NNN_OPENER 2019-01-16 20:11:33 +05:30
Arun Prakash Jana 389180d139
Change env var name 2019-01-15 10:51:06 +05:30
Arun Prakash Jana 098c2acb27
Support substring match in filter mode 2019-01-13 22:49:14 +05:30
Arun Prakash Jana 08520ac80e
Rename config env var 2019-01-11 22:15:51 +05:30
Arun Prakash Jana 5df41255b2 Fix #187
It seems the behaviour of the default opener (xdg-open) varies across platforms
and environments. Details are documented in the issue. To prevent an empty file
from being accidentally opened leading to unexpected behaviour, we are adding a
guard with the message that the empty file should be opened using edit or open
option.
2019-01-11 21:43:57 +05:30
Arun Prakash Jana 03ea2252b2
Document prompt clear and exit behaviour 2019-01-06 02:34:37 +05:30
Arun Prakash Jana 98fd5755d1
Map ^V to run custom script 2019-01-06 02:08:07 +05:30
Arun Prakash Jana e87ff1129c
Fix #179 2019-01-04 23:56:02 +05:30
Arun Prakash Jana f9860f1c7f
Prepare for release v2.2 2019-01-01 08:01:48 +05:30
Arun Prakash Jana cc34b977da
Use run a command to launch apps 2018-12-16 20:29:03 +05:30
Arun Prakash Jana 94ae45b391
handle script dir with NNN_SCRIPT 2018-12-16 00:24:45 +05:30
Arun Prakash Jana e7b1215a20
Support run a command 2018-12-09 19:18:00 +05:30
Arun Prakash Jana 277df1c5a1
Update man page 2018-12-09 08:18:30 +05:30
Arun Prakash Jana cba1aec8d4
Reformat program help 2018-12-09 07:47:38 +05:30
Arun Prakash Jana 08cfcfea59
Support run file as executable 2018-12-08 18:22:06 +05:30
Arun Prakash Jana 2d8afc8de7
Support launching cli utility too 2018-12-07 00:43:49 +05:30
Arun Prakash Jana b59a21b57e
Handle argument ordering in spawn() 2018-12-06 22:57:59 +05:30
Arun Prakash Jana 4de4298ffd
Map ^I to context cycle 2018-12-05 20:43:00 +05:30
Arun Prakash Jana 36b7b433f9
Per-context directory color 2018-12-03 21:44:33 +05:30
Arun Prakash Jana 4c576cfded
Update docs 2018-12-03 09:23:03 +05:30
Arun Prakash Jana 8735f1691a
Support TAB to cycle contexts 2018-12-02 06:11:03 +05:30
Arun Prakash Jana d2c7a5a7cb
Update docs 2018-12-02 05:16:52 +05:30
Arun Prakash Jana 5b42d9d8ea
Update copier script and docs 2018-12-01 21:51:59 +05:30
Arun Prakash Jana 0afb792291
Fix #156: Support selection across directories, contexts 2018-12-01 10:29:28 +05:30
Arun Prakash Jana c0b9703831
Fix #147: support one argument to editor 2018-11-28 03:45:57 +05:30
Arun Prakash Jana 0a21d90ad5
Fix #143: support copy to clipboard 2018-11-27 22:37:06 +05:30
Arun Prakash Jana 28eb6a6312
Use keybind ^T to go to next context 2018-11-27 18:37:31 +05:30
Arun Prakash Jana 338b3be707
Remove file path quoting 2018-11-27 18:29:46 +05:30
Arun Prakash Jana 06ff738b4c
Use ^B to go to next context 2018-11-27 04:01:51 +05:30
Arun Prakash Jana 7db777756f
Option to disable file open on Right and `l` 2018-11-27 02:06:57 +05:30
Arun Prakash Jana 9e974be3dd
Add option -p for file picker 2018-11-23 22:41:47 +05:30
Arun Prakash Jana f71dc87e0c
Prepare for release v2.1 2018-11-23 16:36:39 +05:30
Arun Prakash Jana 7288f6a713
Update help screen 2018-11-23 10:44:39 +05:30
Arun Prakash Jana 82fbf19803
Add `Y` as selection keybind 2018-11-23 07:44:32 +05:30
Tim Chase bd9f86ad4e
Remove redundant "export" from man page 2018-11-22 16:27:18 -06:00
Arun Prakash Jana 80371258a1
Switch X and ^X key functionality 2018-11-17 08:31:47 +05:30
Arun Prakash Jana 229b1eba91
Use ^W to visit pinned directory.
Turns out ^B is also intercepted by Windows.
2018-11-15 19:04:14 +05:30
Arun Prakash Jana ff0999b801
Change visit pinned dir key to ^B.
^V does not work while working on Windows. It is intercepted as paste.
2018-11-14 20:08:30 +05:30
Arun Prakash Jana 784ed6fefe
Use the term Leader key 2018-11-12 03:37:17 +05:30
Arun Prakash Jana 81380ff8d4
Use ^B as the Leader key 2018-11-12 03:08:16 +05:30
Arun Prakash Jana 642af4667c
Update docs 2018-11-11 23:25:57 +05:30
Arun Prakash Jana ede3e0830e
Reformat program help 2018-11-11 22:17:15 +05:30
Arun Prakash Jana f41ed544d5
Document native cp, mv, rm 2018-11-11 05:51:05 +05:30
Arun Prakash Jana 598bf63686
List copy buffer if valid 2018-11-11 05:00:32 +05:30
Arun Prakash Jana 497911e999
Retire nlay 2018-11-10 12:06:21 +05:30
Arun Prakash Jana e8eeff9b3d
Introduce key prompt 2018-11-09 04:30:12 +05:30
Arun Prakash Jana 8a9319fb79
Support key q for context quit 2018-11-08 20:18:43 +05:30
Arun Prakash Jana fe9e8a62bf
Update docs on contexts 2018-11-08 18:29:38 +05:30
Arun Prakash Jana 99a9d63ee7
GUI app launcher mode with 'o'.
Removed file manager and desktop search keys.
Both can be launched with launcher key.
2018-11-08 07:06:09 +05:30
Arun Prakash Jana c174e32c06
Retire NNN_NO_X and make the behaviour default 2018-11-08 05:14:03 +05:30
Arun Prakash Jana 3cf81482a4
Retire chdir prompt 2018-11-06 20:46:45 +05:30
Arun Prakash Jana b12a27fc83
Update docs 2018-10-31 05:44:35 +05:30
Arun Prakash Jana c820e0c9f9
Use ^L to clear filter prompt 2018-10-28 01:52:07 +05:30
Arun Prakash Jana c5a841f507
Exit prompt on Escape press 2018-10-27 08:35:05 +05:30
Arun Prakash Jana 1562939325
Support copy buffer listing in multi-copy mode 2018-10-22 19:33:27 +05:30
Arun Prakash Jana e454078571
Option to disable dir auto-select 2018-10-21 23:30:46 +05:30
Arun Prakash Jana d4ab97cb54
Prepare for release v2.0 2018-10-19 15:24:15 +05:30
Arun Prakash Jana b7a6b1c12a
Show apparent size 2018-10-05 00:26:31 +05:30
Arun Prakash Jana 028e04abd3
Create copy file in home dir, remove copy file on exit 2018-09-06 06:33:50 +05:30
Arun Prakash Jana f0ca1e7785
Document that filenames are not unquoted 2018-08-16 20:13:31 +05:30
Arun Prakash Jana 68f0af6220
Prepare for release v1.9 2018-08-10 07:13:53 +05:30
Arun Prakash Jana bf36462a2b
Implement dir auto-select in nav-as-you-type mode.
If only one entry matches regex filter and it it a directory, cd into it.
2018-08-08 04:57:49 +05:30
Arun Prakash Jana d849779f00
nnn is a file manager now 2018-08-07 04:52:39 +05:30
Arun Prakash Jana 042d008392
Pass current file name as first argument to custom scripts 2018-07-04 19:35:36 +05:30
Arun Prakash Jana 9a7660fb62
Add Space as 2nd file-path copier key (easy to use) 2018-06-27 20:38:41 +05:30
Arun Prakash Jana 7a1dd541a6
Support multiple scripts 2018-06-17 21:47:19 +05:30
Arun Prakash Jana 7e300b90f2
Update man 2018-05-03 17:59:39 +05:30
Arun Prakash Jana d6c0e1093a
Prepare for release v1.8 2018-05-02 03:23:38 +05:30
Arun Prakash Jana 19448edfc6
Update help on filter 2018-05-01 10:15:27 +05:30
Arun Prakash Jana 9f51996b60
Fix man page 2018-04-26 00:41:40 +05:30
Arun Prakash Jana c27f58555e
Support archive creation 2018-04-25 05:40:07 +05:30
Arun Prakash Jana 48cf378c7b
Prefer VISUAL, if defined over EDITOR 2018-04-08 06:15:24 +05:30
Arun Prakash Jana 01e53e1b26
Update for PR #100: man and README should be in sync 2018-04-04 06:37:29 +05:30
Jakub Jirutka a85ce3348f Show hidden files by default when env NNN_SHOW_HIDDEN is set (#100) 2018-04-04 06:33:26 +05:30
Arun Prakash Jana f09bd47f26
Update help 2018-04-01 23:39:51 +05:30
Arun Prakash Jana 3a515585d1
Support screen locking on Linux 2018-03-30 21:23:28 +05:30
Arun Prakash Jana 1e1708c2ec
New shortcut ^] to spawn shell in current dir 2018-03-30 20:53:25 +05:30
Arun Prakash Jana 8d7a56cbaa
Run a custom script support 2018-03-19 06:17:58 +05:30
Arun Prakash Jana 70c39a063d Fix #81: GUI programs shouldn't exit on closing the parent terminal
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-16 04:39:49 +05:30
Arun Prakash Jana eddc0c93ba
Fix #95: Add ^I as an alternative to Insert 2018-03-07 18:32:48 +05:30
Arun Prakash Jana 3036b8a733
Fix #89: User-specific tmp file for copying filenames
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-04 10:37:18 +05:30
Arun Prakash Jana 43134cdfa8
Support ~, - and & keyboard shortcuts at the bookmark prompt.
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 19:19:06 +05:30
Arun Prakash Jana 0f89943d95
Prepare for release v1.7 2018-02-28 01:54:42 +05:30
Arun Prakash Jana 11dac5e3db
Add shortcut ^G to quit and cd 2018-02-24 22:54:54 +05:30
Arun Prakash Jana ee733a39b1
Support batch file rename in vidir 2018-02-24 19:46:58 +05:30
Arun Prakash Jana d0a08ca173
Document file path copy usage sans clipboard 2018-02-24 08:56:44 +05:30
Arun Prakash Jana 6da9d5f499 Support file path quote on copy 2018-01-28 11:34:18 +05:30
Arun Prakash Jana cbfeec5625
keybind to pin current dir - b 2018-01-17 19:32:22 +05:30
Arun Prakash Jana a40d29ba9f
Support multiple file path copy
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-14 01:43:30 +05:30
Arun Prakash Jana 4800250814
Key changes: ^F - extract archive, ^X - quit 2018-01-13 09:28:29 +05:30
Arun Prakash Jana 34b650aac8
Remap ^S and ^Q.
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 14:21:09 +05:30
Arun Prakash Jana 0a1776e18e
Add shortcut ^S to toggle du mode 2018-01-09 00:31:15 +05:30
Arun Prakash Jana afb6a7ab04
Change bookmark prompt and pin dir keys.
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 09:14:25 +05:30
Arun Prakash Jana 29188ca131
Fix #73: How to discard changes and exit new/rename prompt 2017-12-29 11:19:37 +05:30
Arun Prakash Jana 8b51a8a054
Update README
Update documentation
2017-12-26 10:33:38 +05:30
Arun Prakash Jana f687463574
Prepare for release v1.6 2017-12-25 17:13:25 +05:30
Arun Prakash Jana 7f804ca8f2
Support 'Open with...' 2017-12-25 15:55:53 +05:30
Arun Prakash Jana 8b98df0be1
Update documentation 2017-12-24 18:46:56 +05:30
Arun Prakash Jana d9537e6d49
Add option -b to open bookmark directly 2017-12-24 15:21:38 +05:30
Arun Prakash Jana 6f4ab8e3da
Update README, performance numbers 2017-12-21 05:20:59 +05:30
Arun Prakash Jana dcf8fbf78b
Prepare for release v1.5 2017-10-05 00:18:53 +05:30
Arun Prakash Jana 79cbc40a7f
Change archive list shortcut to 'F' 2017-10-01 04:28:48 +05:30
Arun Prakash Jana 20e8116a6c
Fix #44: document PAGER usage in certain screens 2017-09-30 05:47:38 +05:30
Arun Prakash Jana 71d27de517
Support archive listing and extraction 2017-09-27 22:14:01 +05:30
Arun Prakash Jana 55643a5fcc
Update NNN_NOWAIT changes 2017-09-19 19:55:02 +05:30
Paul df4b557ca1 Prevent nnn from waiting on open file process (#40)
* Prevent nnn from waiting on open file process

* Add env var flag to not wait for child process when opening file

* Set nowait flag once to skip bit-or every time we open a file

* Add documentation for NNN_NOWAIT
2017-09-19 12:00:54 +05:30
Arun Prakash Jana 28f69e59fa
Support file and dir create 2017-09-10 13:05:25 +05:30
Arun Prakash Jana 91ab00061c
Prepare for v1.4 release 2017-09-04 10:23:02 +05:30
Arun Prakash Jana e2fae851c3
Use 'pin' dir instead of 'mark' dir 2017-09-01 19:57:36 +05:30
Arun Prakash Jana f94235333a
More concise help 2017-08-25 22:09:03 +05:30
Arun Prakash Jana 776d782fcf
Clear rename prompt with Ctrl-L 2017-08-25 21:49:55 +05:30
Arun Prakash Jana f53f1b86e0
Remove shortcut F2 for refresh.
F2 is not very portable e.g., doesn't work over putty (default settings).
2017-08-23 17:36:32 +05:30
Arun Prakash Jana 0b3bec329f
Support in-place file rename 2017-08-23 00:51:59 +05:30
Arun Prakash Jana 3d89b3f945
Support mark a directory
In certain workflows you know you would have revisit a directory. Mark it!
2017-08-20 16:47:23 +05:30
Arun Prakash Jana 7fe6abb213
Prepare for release v1.3 2017-07-26 09:31:03 +05:30
Arun Prakash Jana a8f7ee9deb
Option -n is redundant 2017-07-06 00:02:09 +05:30
Arun Prakash Jana be8e9d5213
Re-format help 2017-07-03 10:24:20 +05:30
Arun Prakash Jana be8e4d8552
Custom color support for directories 2017-07-03 02:26:47 +05:30
Arun Prakash Jana 2b963634bc
Add option -e to use exiftool 2017-07-02 23:57:41 +05:30
Arun Prakash Jana e780360e7d
Show directories in color (default: enabled) 2017-06-30 07:58:18 +05:30
Arun Prakash Jana 590d079533
Prepare for release v1.2 2017-06-29 09:48:11 +05:30
Arun Prakash Jana 908965b6f5
Support F2 to refresh 2017-06-25 10:07:04 +05:30
Arun Prakash Jana 2a1f99526f
Show current config along with help 2017-06-11 19:24:02 +05:30
Arun Prakash Jana 8c6ab7df02
Support bookmarks 2017-06-11 10:12:32 +05:30
Arun Prakash Jana e495886b59
Suppress output when spawning DE file manager 2017-06-07 20:05:31 +05:30
Arun Prakash Jana a9a8b30bdf
When filter is empty, open file on Enter 2017-06-07 03:04:47 +05:30
Arun Prakash Jana 6a9640afdf
Exit once an app is found. Help, doc updates. 2017-06-06 23:32:40 +05:30
Arun Prakash Jana 889500b057
Set detail view mode as default, introduce light mode 2017-06-06 21:01:28 +05:30
Arun Prakash Jana e8942707cd
We copy the absolute file path 2017-06-06 20:24:04 +05:30
Arun Prakash Jana da9499b138
Optionally use EDITOR (fallback vi) for text files 2017-06-06 20:16:32 +05:30
Arun Prakash Jana fe775ccf1f
desktop opener - xdg-open on Linux and open(1) on OS X 2017-06-06 02:13:58 +05:30
Arun Prakash Jana 94ed36b498
nlay - support multiple apps 2017-06-05 21:06:52 +05:30
Arun Prakash Jana b0efe4c642
Disable key to run top 2017-06-05 03:39:30 +05:30
Arun Prakash Jana 8d6ceb00a7
Use vlock as locker, add ^Q to quit
^Q would quit even from filter mode
2017-06-05 03:39:23 +05:30
Arun Prakash Jana 9b6446a0be
Update documentation 2017-06-04 23:15:08 +05:30
Arun Prakash Jana ac717a7531
Bind ^L to clear prompt 2017-06-04 22:05:23 +05:30
Arun Prakash Jana 9457558d1b
Update docs on navigate-as-you-type mode 2017-06-04 12:39:56 +05:30
Arun Prakash Jana c42df81ae5
Insert key for navigate-as-you-type mode 2017-06-04 11:51:45 +05:30
Arun Prakash Jana 88e9df01a4
Navigate-as-you-type support
1. Open directories in filter mode
2. Fix arrow keys not working after filter selection (due to invalid cur entry)
3. Support `Insert` key to clear filter prompt
4. Update documentation
2017-06-04 05:06:56 +05:30
Arun Prakash Jana 16ec5d3351
Use gnome-search-tool as default search utility
Reasons:

gnome-search-tool is much more powerful than other tools in its category. It
supports numerous search parameters like size, modification date and supports
text search.
2017-05-23 18:57:19 +05:30
Arun Prakash Jana 71bc3c7432
Fix #27: use catfish as default search utility 2017-05-15 20:14:13 +05:30
Arun Prakash Jana a310176160
Prepare for release v1.1 2017-05-11 22:25:22 +05:30