Arun Prakash Jana
2e3502ea4b
Show notifier only for associations
7 лет назад
Arun Prakash Jana
cb1a1112a8
Disable checksum calculation
Calculation can take very long. Most Unix-ish OSes have utilities to do this.
7 лет назад
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? ;)
7 лет назад
Arun Prakash Jana
aebe6c1898
Fix warnings. Harden compilation.
7 лет назад
Arun Prakash Jana
10a18bf07e
ASCII Art to indicate nnn launched program
7 лет назад
Arun Prakash Jana
30c8828e42
Use double quotes to handle file names with spaces
Remove dependency on cut.
7 лет назад
Arun Prakash Jana
4b66029762
Add help screen on keybinds
7 лет назад
Arun Prakash Jana
418c9f2654
Show stat, file, md5, sh256 in file details
This commit adds dependencies on file, openssl and cut binaries.
7 лет назад
Arun Prakash Jana
f466ba543c
Show file details
We closely follow the output for stat(1).
7 лет назад
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
7 лет назад
Arun Prakash Jana
4bc2ce0fbc
Optimize directory search
7 лет назад
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.
7 лет назад
Arun Prakash Jana
90e98b832b
Revert non-portable optimization
7 лет назад
Arun Prakash Jana
0aa1d43428
Show message when trying to go above /
7 лет назад
Arun Prakash Jana
951d323616
Show directories first
7 лет назад
Arun Prakash Jana
0e82544199
Support sort by numeric value for numeric names
7 лет назад
Arun Prakash Jana
6e7aaa18fb
Show sort order if applied
7 лет назад
Arun Prakash Jana
8f18c4049c
An optimized dirname()
7 лет назад
Arun Prakash Jana
7be7a6d215
Optimizations
7 лет назад
Arun Prakash Jana
f3d95b6d0d
Show indicators in column
7 лет назад
Arun Prakash Jana
54a307767c
Support opening in detail view mode
7 лет назад
Arun Prakash Jana
aeeeed0bce
Change vim to vi
7 лет назад
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.
7 лет назад
Arun Prakash Jana
eb12354ce4
Show indicator with filename in bar
7 лет назад
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.
7 лет назад
Arun Prakash Jana
8775a52779
Rename project to nnn (Noice is Not Noice)
7 лет назад
Arun Prakash Jana
c42790aa18
Support file name copier
Add keybind 'Ctrl-k' to copy the absolute path of the file under the cursor if environment variable NOICE_COPIER is set.
7 лет назад
Arun Prakash Jana
6b169bbd86
Re-format detailed view, show filename
7 лет назад
Arun Prakash Jana
055439f23e
Use reverse video in detail view
1. Highlight the currently selected item in reverse video.
2. Fix: remember the current item when toggling detail view.
7 лет назад
Arun Prakash Jana
187835c2bb
Show modification time in detail view
7 лет назад
Arun Prakash Jana
3c94193992
Show number of entries in detailed view
7 лет назад
Arun Prakash Jana
98e3f22cb4
Simpler regular listing
7 лет назад
Arun Prakash Jana
5c7aaa6d0d
Shows 'Cannot resolve path' on narrow terminal
noice truncates the cwd string dynamically. If the numbers of columns is lesser than the length of the path, cwd is truncated so that the correct path cannot be resolved. We should try to resolve the full path instead.
7 лет назад
Arun Prakash Jana
b5e0023bfc
Concise file type info in detail view
B - Block Device
C - Character Device
D - Directory
E - Executable
F - Fifo
L - Symbolic Link
R - Regular File
S - Socket
7 лет назад
Arun Prakash Jana
4bf17cb7bc
Switches to toggle detail view, file size sort
1. The detailed view shows file type and size using keybind 'd'. Disabled by default.
2. Option 's' sorts dir entries by descending order of size.
7 лет назад
Arun Prakash Jana
c64327b4a6
Re-scan directory contents after spawning a shell
The contents of the directory may be changed from the shell by adding or deleting content. Permissions may have changed too. We must re-populate the contents of the current directory.
7 лет назад
Arun Prakash Jana
56dca997b9
Various optimizations
7 лет назад
Arun Prakash Jana
ad0fb1df8c
Implement navigation roll over
7 лет назад
sin
45e6fafc47
Split out default filter initialization
8 лет назад
sin
dd29e81df5
Make toggle dot behaviour persistent
Once set, the default filter is updated. This means that
toggle dot will also work as expected when noice is executed
as root.
Based on discussion with Ypnose.
8 лет назад
Arun Prakash Jana
0b5cdd468b
List alphabetically, case ignored (like 'ls -l').
8 лет назад
Arun Prakash Jana
4eaf071fc2
Document NOICE_FALLBAK_OPENER.
8 лет назад
Arun Prakash Jana
95ca9c3a95
Support NOICE_FALLBAK_OPENER.
8 лет назад
Arun Prakash Jana
8b12ac4b5c
Support NOICE_OPENER env variable.
8 лет назад
Arun Prakash Jana
2958ecd040
Remove libmagic, use file command.
The magic.mgc file gets created in the local directory, opening
the global file throws unwanted messages. So we are using the o/p
of the file command to determine if the file is a plain text file.
8 лет назад
Arun Prakash Jana
8cb25227b3
Fix compilation issues with -O3 optimization.
8 лет назад
Arun Prakash Jana
bc731cd9c0
Modify file type handling.
Use mpv, fmedia, zathura.
Invoke libmagic to identify text files and open with vim.
Use xdg-open for unhandled mimes.
8 лет назад
sin
3ccbaef87b
Fix initscr() crash on NetBSD
NetBSD has its own curses implementation and initscr() does not
terminate with an error if TERM is not set properly.
Instead check the return value and exit if an initialization
error occurs.
8 лет назад
sin
829bcdd7d4
Add command to cd back to HOME
Original patch written by Richard Hyde and taken from
https://github.com/RichardHyde/noice
9 лет назад
sin
e1c26079b1
Add command to toggle hide .dot files
Patch written by Richard Hyde and taken from
https://github.com/RichardHyde/noice
9 лет назад