Commit Graph

241 Commits

Author SHA1 Message Date
Arun Prakash Jana 8b8e644cf5
Remove readline dep and use native prompt
- `nnn` is all about navigational convenience so the user doesn't have to type
- the binary size increases due to readline linkage
- alternative workflow: ^G, cd, `nnn`
- readline required using the prompt and the history would stay after quit
2018-08-16 22:54:49 +05:30
Arun Prakash Jana 9d3f75f63b
Update program help 2018-08-16 20:36:07 +05:30
Arun Prakash Jana 6987b3c4bc
Centred column 2018-08-16 20:17:57 +05:30
Arun Prakash Jana 70df4fb3c2
Use symbol @/ to denote symbolic link to directory 2018-08-16 20:14:07 +05:30
Arun Prakash Jana f0ca1e7785
Document that filenames are not unquoted 2018-08-16 20:13:31 +05:30
Youssef Hesham 1d6a36ae18 fix invalid command (#113)
* fix invalid command

* adding '-S' argument
2018-08-12 18:06:12 +05:30
Arun Prakash Jana 367e7425c0
Update docs 2018-08-08 05:18:19 +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 38a4a2cf8b
Fixed link 2018-08-08 02:02:03 +05:30
Arun Prakash Jana d849779f00
nnn is a file manager now 2018-08-07 04:52:39 +05:30
Arun Prakash Jana 20bb5388e6
Add link to repos 2018-07-18 01:50:22 +05:30
Arun Prakash Jana c19706006d
Reduce indentation level 2018-07-12 19:59:07 +05:30
Arun Prakash Jana ae74c69a34
ToDo list is rolled 2018-07-04 19:39:11 +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 e2d532416a
Update documentation 2018-06-18 22:54:23 +05:30
Arun Prakash Jana 12c3f5cd12
Bring examples below description 2018-06-17 21:56:06 +05:30
Arun Prakash Jana 7a1dd541a6
Support multiple scripts 2018-06-17 21:47:19 +05:30
Arun Prakash Jana 41532ef002
Example to integrate fzy using custom script 2018-06-17 18:28:47 +05:30
Arun Prakash Jana ff3031ade0
Add LinuxLinks to Mentions section 2018-06-08 22:00:15 +05:30
Arun Prakash Jana 5bff663180
Add OpenBSD as a packager 2018-05-15 06:06:12 +05:30
Arun Prakash Jana f53be3effd
Update instruction 2018-05-02 20:30:18 +05:30
Arun Prakash Jana 19448edfc6
Update help on filter 2018-05-01 10:15:27 +05:30
Arun Prakash Jana 090324b8f1
Update image 2018-04-26 01:30:43 +05:30
Arun Prakash Jana c27f58555e
Support archive creation 2018-04-25 05:40:07 +05:30
Arun Prakash Jana c8a431841c
nnn is always quoted 2018-04-19 06:55:59 +05:30
Arun Prakash Jana 2eee4ad028
Fix #104: document tmux TERM setting 2018-04-19 06:52:41 +05:30
Arun Prakash Jana 48cf378c7b
Prefer VISUAL, if defined over EDITOR 2018-04-08 06:15:24 +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 f2faa2ff12
Update link to ToDo list 2018-04-01 03:50:54 +05:30
Arun Prakash Jana ef689d08b6
Document how to integrate sxiv 2018-03-30 21:52:26 +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 0bb05104b3
Add install commands for listed packagers 2018-03-30 08:42:27 +05:30
Arun Prakash Jana bfb814bca6
Support ^A, ^E, ^U and ignore ^ chars at rename prompt 2018-03-28 08:08:02 +05:30
Arun Prakash Jana 8d7a56cbaa
Run a custom script support 2018-03-19 06:17:58 +05:30
Arun Prakash Jana 7e099c2d53
Update features 2018-03-18 17:01:11 +05:30
Arun Prakash Jana a387682a1b
Add Fedora as a packager 2018-03-18 14:59:42 +05:30
Arun Prakash Jana ca1e2a02d8
Remove reference of NNN_NOWAIT 2018-03-16 04:46:14 +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 f13974ff2c
Add table of external dependencies 2018-03-11 13:42: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 1ad5a7bd7d
Add openSUSE Leap badge 2018-02-28 16:53:48 +05:30
Arun Prakash Jana b99c036242
openSUSE build system provides several distro packages. thanks @dilawar! 2018-02-28 10:20:29 +05:30
Arun Prakash Jana 045da7a172
Update documentation on vidir 2018-02-27 09:01:39 +05:30
Arun Prakash Jana fa549aa5f7
Update README 2018-02-26 17:50:31 +05:30
Arun Prakash Jana 11dac5e3db
Add shortcut ^G to quit and cd 2018-02-24 22:54:54 +05:30