Commit graph

225 commits

Author SHA1 Message Date
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 10a18bf07e
ASCII Art to indicate nnn launched program 2017-04-04 00:37:44 +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 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 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 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
Arun Prakash Jana 8775a52779
Rename project to nnn (Noice is Not Noice) 2017-03-30 23:57:38 +05:30
Renamed from noice.c (Browse further)