Commit graph

463 commits

Author SHA1 Message Date
Arun Prakash Jana 74a13c645d
Maximize rlimit, switch to detail view in du mode 2017-04-11 20:22:30 +05:30
Zhiming Wang 1e9fc04995
.travis.yml: bring back -Werror
Convert warnings to errors on CI, or they'll go unnoticed.
2017-04-10 21:40:31 -04:00
Arun Prakash Jana 6cb87b4248
Fix #4. 2017-04-11 03:25:48 +05:30
Arun Prakash Jana afbce66747
Optimize dentfill 2017-04-11 01:58:27 +05:30
Arun Prakash Jana f2a5002fa9
Toggle help and file details screens with same key 2017-04-10 18:35:30 +05:30
Arun Prakash Jana a569d383bc
Use static vars 2017-04-10 18:17:12 +05:30
Arun Prakash Jana b123985437
Show unprivileged free blocks in du mode 2017-04-10 10:28:34 +05:30
Arun Prakash Jana ea6f11a4d4
Update README 2017-04-10 10:28:32 +05:30
Arun Prakash Jana cbefcfd67b
Initial path: support sort by disk usage 2017-04-10 10:28:25 +05:30
Arun Prakash Jana e54ed037bd
Key - to jump to last visited directory 2017-04-08 13:46:03 +05:30
Arun Prakash Jana 5aa4c799c0
Remove redundant search when entering directory 2017-04-08 11:14:51 +05:30
Arun Prakash Jana 1293b28f2d
Add notes on fallback opener 2017-04-07 17:42:02 +05:30
Arun Prakash Jana e5b9a11584
Show marker only when spawning a shell. 2017-04-06 09:57:32 +05:30
Arun Prakash Jana 579316b5c0
Brand new video. Thanks @zmwangx! 2017-04-06 07:12:16 +05:30
Arun Prakash Jana 205dd6db05
Try fallbak for missing apps, use popen wrapper 2017-04-06 06:29:18 +05:30
Arun Prakash Jana b7e4968a48
Resolve ~ (HOME) at chdir prompt 2017-04-06 06:29:13 +05:30
Arun Prakash Jana 2e3502ea4b
Show notifier only for associations 2017-04-06 06:29:00 +05:30
Arun Prakash Jana cb1a1112a8
Disable checksum calculation
Calculation can take very long. Most Unix-ish OSes have utilities to do this.
2017-04-04 10:34:18 +05:30
Arun Prakash Jana 07c59cfd62
vim-ish binding for jump to first and last entry
It was troubling me. Mimicking 'gg' would have been hacky and would need
additional processing... 'g' was free. Who cares even if you press twice? ;)
2017-04-04 09:46:52 +05:30
Arun Prakash Jana aebe6c1898
Fix warnings. Harden compilation. 2017-04-04 07:20:38 +05:30
Arun Prakash Jana 8fbd97a1ea Merge pull request #3 from zmwangx/travis
Test on Travis
2017-04-04 01:05:35 +05:30
Zhiming Wang 1c0c6de635
Add .travis.yml 2017-04-03 15:15:37 -04:00
Arun Prakash Jana 10a18bf07e
ASCII Art to indicate nnn launched program 2017-04-04 00:37:44 +05:30
Zhiming Wang e758ff78e5
Allow custom CFLAGS and CPPFLAGS in Makefile
This is consistent with the fact that custom LDFLAGS are already allowed, and
for once, it makes warning options easier to control.

Also use automatic variables $@ and $^ consistently.
2017-04-03 14:50:21 -04:00
Arun Prakash Jana 754ea4d3ef
Update static associations 2017-04-03 23:45:53 +05:30
Arun Prakash Jana 30c8828e42
Use double quotes to handle file names with spaces
Remove dependency on cut.
2017-04-03 23:33:31 +05:30
Arun Prakash Jana 4b66029762
Add help screen on keybinds 2017-04-03 22:33:46 +05:30
Arun Prakash Jana 418c9f2654
Show stat, file, md5, sh256 in file details
This commit adds dependencies on file, openssl and cut binaries.
2017-04-03 20:32:09 +05:30
Arun Prakash Jana f466ba543c
Show file details
We closely follow the output for stat(1).
2017-04-03 05:05:14 +05:30
Arun Prakash Jana 87e0891b8d
Remove redundant stuff
1. Have a faster copy of strlcpy()
2. Remove redundant legacy files
3. Fix an issue with NULL check on array name
2017-04-02 21:45:10 +05:30
Arun Prakash Jana 4bc2ce0fbc
Optimize directory search 2017-04-02 14:33:36 +05:30
Arun Prakash Jana 691291245a
Use standard function for numeric sort
Numeric is numeric i.e., n, -n. +n.
Other forms such as --n, ++n, -c, +c should not be considered numeric.

If size is same (e.g. dirs), use alphanum sort.
2017-04-02 12:13:40 +05:30
Arun Prakash Jana 90e98b832b
Revert non-portable optimization 2017-04-02 08:23:13 +05:30
Arun Prakash Jana fb5963facc Merge pull request #2 from zmwangx/gitignore
Add .gitignore to ignore compilation products
2017-04-02 07:45:26 +05:30
Zhiming Wang cd683bde41
Add .gitignore to ignore compilation products 2017-04-01 17:42:49 -04:00
Arun Prakash Jana 0aa1d43428
Show message when trying to go above / 2017-04-02 02:50:56 +05:30
Arun Prakash Jana 951d323616
Show directories first 2017-04-02 01:48:33 +05:30
Arun Prakash Jana 0e82544199
Support sort by numeric value for numeric names 2017-04-02 01:21:31 +05:30
Arun Prakash Jana 6e7aaa18fb
Show sort order if applied 2017-04-01 21:03:58 +05:30
Arun Prakash Jana 8f18c4049c
An optimized dirname() 2017-04-01 17:32:58 +05:30
Arun Prakash Jana 7be7a6d215
Optimizations 2017-04-01 14:41:07 +05:30
Arun Prakash Jana f3d95b6d0d
Show indicators in column 2017-04-01 13:05:20 +05:30
Arun Prakash Jana 54a307767c
Support opening in detail view mode 2017-04-01 10:48:18 +05:30
Arun Prakash Jana 8bbb752a79
Open audio files with mpv 2017-04-01 08:59:00 +05:30
Arun Prakash Jana 584a5f90f3
Remove sh as script opener, use vi 2017-04-01 02:55:00 +05:30
Arun Prakash Jana aeeeed0bce
Change vim to vi 2017-03-31 22:25:56 +05:30
Arun Prakash Jana 8563ec5cb2
Revamp detail mode
If a filename has Unicode chars, the alignment is broken. Hence moving name to
the last column. This also makes the view compact.
Moving block and char dev indicators in the space for size.
2017-03-31 21:30:00 +05:30
Arun Prakash Jana eb12354ce4
Show indicator with filename in bar 2017-03-31 19:32:59 +05:30
Arun Prakash Jana c037f0c55b
Update documentation (man, README) 2017-03-31 10:18:31 +05:30
Arun Prakash Jana 86c3f75512
Fix: can't go to parent if only dir name specified
Invoking nnn with:

nnn dir
nnn ./dir
nnn dir

wouldn't allow user to navigate to parent directory.
2017-03-31 01:34:41 +05:30