Arun Prakash Jana
2e3502ea4b
Show notifier only for associations
hace 7 años
Arun Prakash Jana
cb1a1112a8
Disable checksum calculation
Calculation can take very long. Most Unix-ish OSes have utilities to do this.
hace 7 años
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? ;)
hace 7 años
Arun Prakash Jana
aebe6c1898
Fix warnings. Harden compilation.
hace 7 años
Arun Prakash Jana
10a18bf07e
ASCII Art to indicate nnn launched program
hace 7 años
Arun Prakash Jana
30c8828e42
Use double quotes to handle file names with spaces
Remove dependency on cut.
hace 7 años
Arun Prakash Jana
4b66029762
Add help screen on keybinds
hace 7 años
Arun Prakash Jana
418c9f2654
Show stat, file, md5, sh256 in file details
This commit adds dependencies on file, openssl and cut binaries.
hace 7 años
Arun Prakash Jana
f466ba543c
Show file details
We closely follow the output for stat(1).
hace 7 años
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
hace 7 años
Arun Prakash Jana
4bc2ce0fbc
Optimize directory search
hace 7 años
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.
hace 7 años
Arun Prakash Jana
90e98b832b
Revert non-portable optimization
hace 7 años
Arun Prakash Jana
0aa1d43428
Show message when trying to go above /
hace 7 años
Arun Prakash Jana
951d323616
Show directories first
hace 7 años
Arun Prakash Jana
0e82544199
Support sort by numeric value for numeric names
hace 7 años
Arun Prakash Jana
6e7aaa18fb
Show sort order if applied
hace 7 años
Arun Prakash Jana
8f18c4049c
An optimized dirname()
hace 7 años
Arun Prakash Jana
7be7a6d215
Optimizations
hace 7 años
Arun Prakash Jana
f3d95b6d0d
Show indicators in column
hace 7 años
Arun Prakash Jana
54a307767c
Support opening in detail view mode
hace 7 años
Arun Prakash Jana
aeeeed0bce
Change vim to vi
hace 7 años
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.
hace 7 años
Arun Prakash Jana
eb12354ce4
Show indicator with filename in bar
hace 7 años
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.
hace 7 años
Arun Prakash Jana
8775a52779
Rename project to nnn (Noice is Not Noice)
hace 7 años
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.
hace 7 años
Arun Prakash Jana
6b169bbd86
Re-format detailed view, show filename
hace 7 años
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.
hace 7 años
Arun Prakash Jana
187835c2bb
Show modification time in detail view
hace 7 años
Arun Prakash Jana
3c94193992
Show number of entries in detailed view
hace 7 años
Arun Prakash Jana
98e3f22cb4
Simpler regular listing
hace 7 años
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.
hace 7 años
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
hace 7 años
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.
hace 7 años
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.
hace 7 años
Arun Prakash Jana
56dca997b9
Various optimizations
hace 7 años
Arun Prakash Jana
ad0fb1df8c
Implement navigation roll over
hace 7 años
sin
45e6fafc47
Split out default filter initialization
hace 8 años
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.
hace 8 años
Arun Prakash Jana
0b5cdd468b
List alphabetically, case ignored (like 'ls -l').
hace 8 años
Arun Prakash Jana
4eaf071fc2
Document NOICE_FALLBAK_OPENER.
hace 8 años
Arun Prakash Jana
95ca9c3a95
Support NOICE_FALLBAK_OPENER.
hace 8 años
Arun Prakash Jana
8b12ac4b5c
Support NOICE_OPENER env variable.
hace 8 años
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.
hace 8 años
Arun Prakash Jana
8cb25227b3
Fix compilation issues with -O3 optimization.
hace 8 años
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.
hace 8 años
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.
hace 8 años
sin
829bcdd7d4
Add command to cd back to HOME
Original patch written by Richard Hyde and taken from
https://github.com/RichardHyde/noice
hace 9 años
sin
e1c26079b1
Add command to toggle hide .dot files
Patch written by Richard Hyde and taken from
https://github.com/RichardHyde/noice
hace 9 años