Arun Prakash Jana
0f10bd6cdc
Update lock threads to latest
2024-05-24 06:32:02 +05:30
Arun
e27d059552
Merge pull request #1881 from N-R-K/colemak-collision
...
fix collision in colemak patch
2024-05-18 05:43:44 +05:30
NRK
4f3662cf88
fix collision in colemak patch
...
Closes: https://github.com/jarun/nnn/issues/1876
2024-05-11 11:46:11 +00:00
Arun
9e95578c22
Merge pull request #1879 from N-R-K/use_stdio
...
use buffered io to reduce syscalls
2024-05-10 17:33:32 +05:30
NRK
78b9677abd
use buffered io to reduce syscalls
2024-05-10 08:37:21 +00:00
Arun Prakash Jana
55137600e0
Fix #1877 : use dprintf() instead of write()
2024-05-06 19:05:46 +05:30
Arun Prakash Jana
be6988d1c8
Fix #1877 : malloc: error pointer being freed was not allocated
2024-05-05 18:40:52 +05:30
Arun Prakash Jana
191e77ec5d
Fix CI error
2024-04-28 20:37:53 +05:30
Arun Prakash Jana
46b5255814
Add comma
2024-04-28 20:25:08 +05:30
Arun
2fb7490bf0
Merge pull request #1834 from TheUtopian/master
...
preview-tabbed: show sxiv/nsxiv in thumbnail mode when watching Pictures folder
2024-04-28 18:16:36 +05:30
Arun
d61c983dd0
Merge pull request #1872 from N-R-K/manpage_sort
...
clarify au and du in manpage
2024-04-24 18:12:53 +05:30
NRK
e60be2eaa2
silence new clang-tidy warnings
2024-04-24 07:31:15 +00:00
NRK
72ee94ed6e
clarify au and du in manpage
...
Closes: https://github.com/jarun/nnn/issues/1855
Closes: https://github.com/jarun/nnn/issues/1290
Closes: https://github.com/jarun/nnn/discussions/1750
2024-04-24 06:16:00 +00:00
Oktay Imanzade
b20886a29c
preview-tabbed: show (n)sxiv in thumbnail mode when watching "Pictures" directory
2024-04-18 20:18:24 +04:00
Arun
ad04944bdf
Merge pull request #1865 from flipflop133/patch-1
...
preview-tui: add svg support
2024-04-08 18:04:00 +05:30
François Bechet
133c0d329b
preview-tui: add full svg support
2024-04-08 13:55:21 +02:00
Arun
5853ac8e48
Merge pull request #1864 from horrad/master
...
Fix file creation on OpenBSD
2024-04-05 23:31:08 +05:30
Martin Ziemer
28d993a8e8
Fix file creation on OpenBSD
...
On OpenBSD at least one of O_RDONLY, O_WRONLY or O_RDWR is needed to open a file.
In creating a new file none of those is set, which leads to an EINVAL error ("invalid argument").
Since the new file is only created and never read, I chose to use O_WRONLY.
2024-04-04 15:57:36 +02:00
Arun
22aa1455a6
Merge pull request #1861 from KlzXS/makefile_icons
...
Prevent multiple icons options being selected at the same time
2024-03-30 01:33:20 +05:30
KlzXS
7806d5d371
Prevent multiple icons options being selected at the same time
2024-03-28 18:20:21 +01:00
Arun
5456ba4582
Merge pull request #1830 from c79cea05/master
...
nuke: use sort -V
2024-03-05 23:31:45 +05:30
c79cea05
297b85492f
nuke: use sort -V
2024-02-23 09:21:15 +09:00
Arun Prakash Jana
f71b1309a9
Fix deletion prompt when rm is used
2024-02-18 06:32:49 +05:30
Arun
eb66598145
Merge pull request #1821 from KlzXS/cpmvrm_dashes
...
Added dashes to progress versions of cp and mv
2024-02-16 19:17:39 +05:30
KlzXS
3d6777920a
Add -- to mvg and cpg which were missed
2024-02-13 18:49:02 +01:00
Arun
4a9587a5e6
Merge pull request #1820 from KlzXS/cpmvrm_dashes
...
Add -- to cp, mv and rm
2024-02-13 19:45:38 +05:30
KlzXS
b392dd3723
Added -- to all instances of cp, mv or rm dealing with user provided paths
2024-02-13 14:32:42 +01:00
Arun
0f62c6258a
Merge pull request #1806 from BeyondMagic/master
...
quitcd: fix old bug and feat. for modular export for nushell
2024-02-12 22:24:53 +05:30
João F. (BeyondMagic/koetemagie)
2a442ec30c
quitcd: fix bugs and feat. for modular export and selective quit
2024-02-10 18:59:26 -03:00
Michel DHOOGE
5b05c8b9b1
fix: use a more generic way to print NUL with awk
...
Only gawk undestands the \0 syntax
feat(mimelist): use `mimetype` for better type detection
docs(mimelist): add author & dependencies
2024-02-09 23:14:58 +05:30
90
eb3888cb09
Add option to `rm -rf` irrespective of trash setting
2024-02-09 23:14:56 +05:30
Arun Prakash Jana
94aeaccdbd
Fix #1765 : detect and ignore false mouse click
2024-02-09 23:14:49 +05:30
NRK
0738f39cf0
show relative line numbering when jumping
...
Co-authored-by: Darukutsu <darupeter@pm.me>
Closes: https://github.com/jarun/nnn/pull/1804
Closes: https://github.com/jarun/nnn/discussions/1708
2024-02-03 09:53:11 +00:00
Antonio Mancera Gamez
e76d7bbf1d
Changed exa from grid to tree view (preview-tui) ( #1803 )
...
* Changed exa from grid to tree view (preview-tui)
* Update plugins/preview-tui
Change also eza
Co-authored-by: blissful <blissful@sunsetglow.net>
* Changed maximum depth in exa and eza
* Added fifo_pager to exa and eza
---------
Co-authored-by: blissful <blissful@sunsetglow.net>
2024-02-02 21:11:18 +05:30
Arun
f2a8648861
Merge pull request #1783 from 7ocb/alternative-setenv-pwd-3
...
Setting PWD: set on use case, not on browse
2023-12-15 06:07:44 +05:30
Arun
82f9e544f2
Merge pull request #1782 from BeyondMagic/master
...
fix nushell quitcd script: remove deprecated keywords
2023-12-15 06:06:09 +05:30
me
3d2caf861d
Setting PWD: set on use case, not on browse
...
This moves setting PWD environment variable closer to the places where child process (that needs PWD correctly set) is started instead of start it on browse.
2023-12-14 11:03:38 +03:00
João F. (BeyondMagic/koetemagie)
eb775914af
fix nu quitcd: remove deprecated keywords
2023-12-13 21:18:29 -03:00
Arun
5595d93d29
Merge pull request #1778 from 7ocb/set-PWD-to-current-path
...
Set PWD environment variable
2023-12-08 19:38:46 +05:30
Arun
bb650eb9dd
Merge pull request #1775 from JefeDavis/master
...
feat(preview-tui): allow image previews inside tmux on kitty terminal
2023-12-08 18:21:29 +05:30
me
ab718387c2
Set PWD environment variable
...
This is to make spawned shells and processes to see "logical" path.
2023-12-04 14:09:37 +03:00
Jeff Davis
3849430ebc
feat(preview-tui): allow image previews inside tmux on kitty terminal
...
Signed-off-by: Jeff Davis <mr.jefedavis@gmail.com>
2023-12-03 00:51:27 -05:00
Arun
f2a909dafd
Merge pull request #1770 from 7ocb/pass-path-to-abspath
...
When handling SEL_NEW pass `path` to `abspath` call
2023-11-25 18:36:52 +05:30
Arun
404eed5fc7
Merge pull request #1773 from 7ocb/handle-link-by-readlink-not-realpath-mk2
...
When handling bookmark, use readlink, not realpath
2023-11-25 18:34:01 +05:30
me
9aaf9491ad
When handling bookmark, use readlink, not realpath
...
This is to cd to path as it pointed by symlink, not to it's real path. Bookmarked directory may itself contain symlinks in path, which should be respected.
For example: if directory is physically in /mnt/storage/some and it's symlinked to ~/some and directory ~/some/dir added to bookmarks, it's expected that when following bookmark directory will be changed to ~/some/dir (as in bookmark's link) not to /mnt/storage/some/dir (as dir real path).
2023-11-22 20:41:49 +03:00
Arun
485079d3ec
Merge pull request #1769 from N-R-K/fix-helpstr
...
fix buffer overflow on certain platforms
2023-11-21 22:11:12 +05:30
me
bca441e00f
When handling SEL_NEW pass `path` to `abspath` call
...
If `path` is not provided to `abspath`, later will do `getcwd`, and it's result will differ from `path`. This causes problem that when creating directory inside path reached with symlink, subsequent call to get_cwd_entry does not recognize newly created path as subpath of current path, thus not selecting newly created element.
2023-11-21 19:26:20 +03:00
NRK
60eabb6170
silence ci warning
2023-11-21 20:50:45 +06:00
NRK
3665541dac
fix buffer overflow on certain platforms
...
the size of g_buf depends on PATH_MAX and NAME_MAX which on certain
platforms (such as mac) might not be big enough to decode the help
string. use an explicit buffer with proper size instead.
Closes: https://github.com/jarun/nnn/issues/1768
2023-11-21 19:32:00 +06:00
Arun
744a7554ef
Merge pull request #1762 from azuline/sortctx
...
restore sort function pointers when restoring cfg
2023-11-19 13:39:24 +05:30
blissful
c0b3cc8689
factor out a `setcfg` function for setting the cfg global
2023-11-18 16:34:17 -05:00
blissful
703d349389
restore sort function pointers when restoring cfg
2023-11-17 17:45:06 -05:00
Arun Prakash Jana
9259170afd
Add example: run cmd as plugin to change directory
2023-11-18 01:00:03 +05:30
Arun
2f22afcacc
Merge pull request #1755 from cronyakatsuki/alacritty
...
preview-tabbed: Add alacritty as xembed client for text-based preview
2023-11-17 19:08:03 +05:30
luukvbaal
4009e211f3
Merge pull request #1749 from abhinav3398/master
...
preview-tui: tmux sixel support for img, gif & vid preview
preview-tui: mpv kitty backend and better previewer handling
2023-11-16 15:50:08 +01:00
Luuk van Baal
3160442f0c
preview-tui: mpv kitty backend and better previewer handling
2023-11-16 15:40:03 +01:00
Abhinav Lakhani
9ff81ca1f9
preview-tui: tmux sixel support for img, gif & vid preview
2023-11-12 14:40:31 -07:00
CronyAkatsuki
8e8289373a
Add alacritty as xembed client for text-based preview
2023-11-03 12:08:09 +00:00
Arun
1051d7213d
Merge pull request #1747 from luukvbaal/master
...
Preview-tui avoid early exit after SIGWINCH
2023-10-18 06:53:33 +05:30
Luuk van Baal
f8f6d6a482
Preview-tui avoid early exit after SIGWINCH
2023-10-11 01:20:44 +02:00
Arun
7f63bef4d6
Merge pull request #1744 from s-hamann/fix-colemak-patch
...
Fix colemak patch
2023-10-08 17:33:02 +05:30
black
bfb46159a1
Fix colemak patch
2023-10-08 09:28:58 +02:00
Arun
f3397d5ea4
Merge pull request #1741 from N-R-K/rm-colemak-dh
...
rm colemak-dh
2023-09-30 22:12:55 +05:30
NRK
336ec8be5d
rm colemak-dh
...
one colemak patch ought to be enough.
Closes: https://github.com/jarun/nnn/issues/1735
2023-09-30 22:25:23 +06:00
J-Kappes
afe84862ff
fix nu quitcd: switched quotes ( #1737 )
...
Closes: https://github.com/jarun/nnn/issues/1736
2023-09-30 16:19:01 +00:00
Arun
3176eaa85c
Merge pull request #1732 from N-R-K/pr-clang-tidy
...
Fix CI
2023-09-23 13:54:39 +05:30
NRK
4d5e29c3dd
fix CI
2023-09-23 12:26:58 +06:00
NRK
6d6fc3419e
split clang-tidy checks into multiple lines
...
makes it more readable and more easily editable. also produces better
diff when editing.
2023-09-23 12:26:29 +06:00
Arun Prakash Jana
9b921761b6
Update CI name
2023-09-23 08:21:20 +05:30
Arun
09bf8fe469
Merge pull request #1729 from azuline/eza
...
Add support for eza as a replacement for exa
2023-09-21 09:39:44 +05:30
blissful
3b3ad9ccc6
Add support for eza as a replacement for exa
2023-09-20 15:50:58 -04:00
Arun Prakash Jana
dd07aeb703
Fix patch build errors
2023-09-20 23:41:54 +05:30
Arun Prakash Jana
9c7c7284c0
Option `-N` to use native prompt
...
This is useful for situations where the executable is compiled with
readline support but the user wants to use the native prompt. Often
this happens because packagers build without readline disabled.
2023-09-20 23:02:04 +05:30
Arun
ba439084c5
Merge pull request #1728 from Xerillic/master
...
wallpaper plugin: remove unneeded code
2023-09-20 17:51:22 +05:30
Xerillic
06d8da9052
wallpaper plugin: remove unneeded code
2023-09-13 19:53:55 -04:00
Arun
ed59aa2ac3
Merge pull request #1727 from Xerillic/master
...
wallpaper plugin: add ability to set wallpaper for specific monitors
2023-09-13 22:44:55 +05:30
umaranis
a06af824ee
plugins for integration with MacOS clipboard
2023-09-13 18:01:35 +05:30
Xerillic
66447d52a7
wallpaper plugin: add ability to set wallpaper for specific monitors using nitrogen
2023-09-12 20:58:37 -04:00
Syed Umar Anis
547508aa78
fzhist plugin: add support for zsh history #1721 ( #1722 )
...
* fzhist plugin: add support for zsh history
* fzhist plugin: check $HISTFILE for history file location
* fzhist plugin: remove extra trailing spaces
2023-09-07 18:03:01 +05:30
Arun Prakash Jana
d72ab3497a
Use CircleCI parallelism
2023-08-27 18:58:15 +05:30
Arun Prakash Jana
2472554e9a
Use identifiable CircleCI test name
2023-08-27 18:08:27 +05:30
Arun Prakash Jana
785dd3ddf1
Update Haiku nnn.rdef
2023-08-27 10:09:11 +05:30
Arun Prakash Jana
33126ee813
Prepare for release v4.9 Elixir
2023-08-27 09:55:13 +05:30
Arun
d8c1c99e45
Merge pull request #1719 from umaranis/master
...
Update finder plugin find command with default path #1718
2023-08-27 09:12:40 +05:30
Syed Umar Anis
b28f209c84
Update finder plugin find command with default path #1718
2023-08-27 10:00:12 +10:00
Arun
1ba85825c5
Merge pull request #1711 from quantonganh/dup-first-char-macOS
...
Double-width icons can cause duplicated first characters in the filename on macOS
2023-08-20 17:59:30 +05:30
Arun
66f636de13
Merge pull request #1712 from Rahlir/plugin-fzopen-fix
...
Fix bug in fzopen when selection is canceled
2023-08-17 05:09:19 +05:30
Tadeas Uhlir
e500179188
Fix bug in fzopen when selection is canceled
2023-08-12 17:45:14 +02:00
Quan Tong
d220c50773
Double-width icons can cause duplicated first characters in the filename on macOS
2023-08-11 06:54:15 +07:00
Arun Prakash Jana
186f9d01ea
Move to Ubuntu 22.04 on Circle CI
2023-08-07 06:16:34 +05:30
Arun Prakash Jana
693ba757c0
Fix #1704 - Show only selected file name if sel is preferred
2023-08-05 23:53:01 +05:30
Arun Prakash Jana
3539e5c1b1
Update help
2023-07-28 20:52:21 +05:30
Arun
d65a095d9b
Merge pull request #1698 from ANtlord/young-files
...
Jump to the next young file
2023-07-28 20:39:29 +05:30
ANtlord
dedf0554e5
Jump to the next young file
...
Forward jumping to the next young file is implemented. The starting
position from which the next young file is searched is the next
position. If no young file has been found, the search starts from the
beginning. It stops at the initial position where the search has
started.
2023-07-25 08:17:21 +06:00
Arun
b835cfcc2a
Merge pull request #1686 from Anomalocaridid/nmount-replace-pmount
...
nmount: make `pmount` optional
2023-07-16 00:20:50 +05:30
Anomalocaridid
80bbf76b5b
nmount: add support for luks volumes for udisksctl
2023-07-09 19:57:57 -04:00
Anomalocaridid
5723023491
nmount: update dependencies in plugins/README.md
2023-07-08 19:55:10 -04:00
Anomalocaridid
280068c5da
nmount: make pmount optional
2023-07-08 19:55:07 -04:00
Arun
53e4fec75b
Merge pull request #1679 from N-R-K/ifdef_fixes
...
Remove some unnecessary ifdefs
2023-07-04 20:21:43 +05:30
NRK
db8b61866b
define _FILE_OFFSET_BITS 64 unconditionally
...
according to the manpage, it won't have any effect on 64bit system
anyways. and musl always uses 64bit so this macro doesn't have any
effect there either.
2023-07-01 08:56:18 +06:00
Arun
26d5b5c614
Merge pull request #1668 from N-R-K/better_compress
...
better and faster string compression
2023-06-16 12:14:02 +05:30
Arun
899fd5b4cf
Merge pull request #1673 from JingMatrix/master
...
Add djvu icon
2023-06-16 12:12:41 +05:30
JingMatrix
e6ce7a614e
Add djvu icon
...
Use paperclip as icon since it is used by DjVuLibre.
2023-06-15 16:56:51 +02:00
NRK
5e3ee08e64
fix failing colemak patches
2023-06-15 08:57:48 +06:00
NRK
4c2ce0a84d
better helpstring compression
...
this avoids multiple printf calls and instead decodes the buffer
natively. using %NN instead of %-NNc also saves two bytes per run.
helpstr is also made `static` to avoid unnecessary stack allocation.
2023-06-15 08:49:30 +06:00
Arun
0dfc6881b4
Merge pull request #1672 from luukvbaal/preview-tui
...
Preview-tui add -C to NNN_PAGER
2023-06-14 16:20:15 +05:30
Luuk van Baal
05990dc9e5
Preview-tui add -C to NNN_PAGER
...
This makes it so that when the paged text is fewer lines than the preview pane, it is placed at the top instead of at the bottom
2023-06-14 09:24:23 +02:00
Arun
fb6e7403cf
Merge pull request #1658 from N-R-K/chmod_fix
...
fix: properly update mode after xchmod
2023-05-27 04:44:56 +05:30
NRK
b2b830e69d
fix: properly update mode after xchmod
...
xchmod now returns the new mode through a pointer, no need to assume all
executable bits were toggled.
Closes: https://github.com/jarun/nnn/issues/1657
2023-05-26 19:31:00 +06:00
Arun
4149a2619d
Merge pull request #1655 from mistersmee/gitstatus-nerd
...
patches/gitstatus: Fix nerd fonts broken by 3.0.0 update
2023-05-22 18:08:39 +05:30
Aseem Athale
aed2725cb3
patches/gitstatus: Fix nerd fonts broken by 3.0.0 update
...
Signed-off-by: Aseem Athale <athaleaseem@gmail.com>
2023-05-22 14:22:13 +05:30
Arun
04d9f6738d
Merge pull request #1650 from leo-arch/master
...
Fix crash when PWD is set to empty string
2023-05-19 01:57:34 +05:30
Arun
e013a867da
Merge pull request #1651 from N-R-K/cp_mv
...
make the cp/mv modification more robust
2023-05-19 01:56:53 +05:30
Arun
ed58e07a98
Merge pull request #1646 from Delgan/patch-2
...
Fix some broken table links in docs
2023-05-19 01:53:48 +05:30
NRK
16899bda53
make the cp/mv modification more robust
...
this makes it so that if the cp/mv commands are changed the in the
future, it will continue to work reliably instead of having hardcoded
indexes to modify the array.
the `#ifdef __linux__` is also removed, compilers should be smart enough
to see that PROGRESS_{CP,MV} are unused (on non-linux systems) and
optimize it out.
2023-05-15 11:29:47 +06:00
Arun
4c0305f11c
Merge pull request #1648 from N-R-K/g3_debug
...
Makefile: use -g3 for debug builds
2023-05-15 06:38:03 +05:30
leo-arch
4babedc3e4
Fix crash when PWD is set to empty string
...
nnn crashes when PWD is set to empty string: `PWD="" nnn`
2023-05-14 20:12:04 +00:00
NRK
ddcf331205
Makefile: use -g3 for debug builds
...
-g3 builds additional information such as macro definition and so on.
2023-05-14 22:13:44 +06:00
Delgan
bd4a4454fe
Fix some broken table links in docs
2023-05-13 17:25:59 +02:00
Arun
aaf60b93d7
Merge pull request #1645 from Delgan/patch-1
...
Add "$NNN_TERMINAL_ARGS" for "preview-tui" plugin
2023-05-12 22:03:22 +05:30
Arun
145ea41490
Merge pull request #1644 from jaspwr/master
...
Update Haskell icon colour
2023-05-12 22:02:52 +05:30
Arun
29779acc57
Merge pull request #1643 from UnleashedMarf/iconlookup-fix
...
Fix syntax-error in .iconlookup
2023-05-12 21:07:29 +05:30
Delgan
a7262eb4ee
Allow $NNN_TERMINAL additional arguments for "preview-tui" plugin
...
This can be used to start terminal with a custom title and prevent focus switch with i3 window manager.
2023-05-12 15:53:45 +02:00
Jasper
fb3a648756
Update Haskell icon color
2023-05-12 15:19:04 +10:00
UnleashedMarf
9be3ee9abf
Fix another typo
...
Co-authored-by: luukvbaal <luukvbaal@gmail.com>
2023-05-11 19:44:17 +02:00
UnleashedMarf
d873eb393d
Fix syntax-error in .iconlookup
...
Fixed syntax-error that prevented .iconlookup from executing.
2023-05-11 18:58:11 +02:00
Arun Prakash Jana
efd5bc9db1
Update docs
2023-05-06 17:56:21 +05:30
Arun
737ebaa9ef
Merge pull request #1639 from atomcult/posix-quitcd
...
quitcd.bash_zsh: make POSIX compliant; minor fixes and style changes
2023-05-06 08:34:31 +05:30
J. Brock
95183fbef8
quitcd.bash_zsh: make POSIX compliant; minor fixes and style changes
...
This commit makes the following changes to quitcd.bash_zsh:
- POSIX compliance and an according rename of the script
- Enforces consistent if-then statements and indentation
- Minor comment fixes
Signed-off-by: J. Brock <joseph.brock@protonmail.com>
2023-05-05 14:42:13 -04:00
Arun
fe96bd6bc7
Merge pull request #1638 from luukvbaal/nerdfix
...
Update nerd-font icons to v3
2023-05-05 05:36:27 +05:30
Luuk van Baal
20e944f5e5
Update nerd-font icons to v3
...
This is an upstream breaking change.
Update your font to the latest version if you see missing icons.
2023-05-05 01:01:43 +02:00
Arun Prakash Jana
5d81aeb477
Filter adjustment when opening context from plugin
...
- Clear filter only when a plugin is selected manually.
Plugin dir should be unfiltered when opened.
- Plugins invoked by keys don't require clearing filter
of original context. If a new context is opened using
the plugin, it will be unfiltered by default. If the
same context is re-used (when all the contexts are in
use) the filter should be cleared so the the new path
is opened unfiltered.
2023-04-29 21:53:49 +05:30
Arun
8fd1822ca6
Merge pull request #1633 from N-R-K/assert_fix
...
icons-hash: replace assert with handmade version
2023-04-23 21:01:27 +05:30
NRK
20725b0b4d
icons-hash: replace assert with handmade version
...
since 2fc9d51
, the hash-table generator inherits environmental
CFLAGS and so we shouldn't disallow setting -DNDEBUG.
fixes: https://github.com/jarun/nnn/issues/1632
2023-04-22 17:08:00 +06:00
Arun
6a8d74a43a
Merge pull request #1630 from musjj/preview-tui-escape
...
feat(preview-tui): handle quoting in `start_preview` more robustly
2023-04-22 03:02:37 +05:30
Luuk van Baal
d3b5d0e49d
perf(preview-tui): replace env for loop with parameter expansion
2023-04-21 10:39:10 +02:00
musjj
432b0755d3
feat(preview-tui): handle quoting in start_preview more robustly
...
This commit makes the script more resistant to naughty filenames.
The script now depends on bash for the following features:
- Arrays
Correctly creating and passing argument lists is now simple
- Parameter transformation
`${parameter@Q}` makes it easy to correctly quote a string so that it
can be safely re-evaluated by the interpreter later.
On iTerm, the shell command used to render the preview is now passed to
osascript via a named pipe: `$FIFO_OSASCRIPT`. By not embedding the
shell command directly, we now no longer need to worry about osascript's
quoting rules. It's not perfect, because $SHELL and $TMPDIR might
contain naughty characters, but it's quite unlikely to happen.
2023-04-19 08:20:41 +07:00
Arun
621dbba02e
Merge pull request #1628 from spfanning/patch-1
...
Support wezterm split size percentage in preview-tui
2023-04-14 18:54:22 +05:30
spfanning
63891578d7
Support wezterm split size percentage
2023-04-13 15:50:31 -05:00
Arun Prakash Jana
8a1dce888a
config option to specify archive mounter utility
2023-04-14 01:47:50 +05:30
Arun Prakash Jana
9319b638e7
Revert variety
2023-04-13 19:10:07 +05:30
Arun Prakash Jana
6dd8cf8b4d
Happy Birthday nnn!
...
Prepare for release v4.8 Spritz!
2023-04-13 18:37:42 +05:30
Arun
18b5371d08
Merge pull request #1621 from kianmeng/fix-typos
...
Fix typos
2023-04-04 21:06:08 +05:30
Kian-Meng Ang
3d1bc6e8e5
Fix typos
...
Found via `codespell -L noice,nd,fils,numer,caf,iterm`
2023-04-03 12:49:03 +08:00
Arun
79007074f7
Merge pull request #1619 from yoshiyoshyosh/icon-jxl
...
add jpeg xl icon
2023-03-29 22:09:52 +05:30
yosh
98d3b2135d
add jxl icon
2023-03-28 11:44:38 -04:00
Arun
a3759abd4e
Merge pull request #1616 from N-R-K/quitcd
...
add shell_escape() to properly escape filenames fed to shell
2023-03-28 04:28:04 +05:30
NRK
57882ffab7
add shell_escape() to properly escape filenames fed to shell
...
Fixes: https://github.com/jarun/nnn/issues/1615
2023-03-22 10:09:39 +06:00
Arun Prakash Jana
c4678e3116
Update issue templates
...
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2023-03-15 04:21:17 +05:30
Arun
03ae86cca4
Merge pull request #1598 from N-R-K/tilde_handling
...
More correct tilde handling
2023-03-10 18:15:16 +05:30
Arun
15e55f5e18
Merge pull request #1606 from mmai/patch-2
...
Fix paths in nushell quitcd script
2023-03-08 20:26:05 +05:30
Arun
2af79c9ad2
Merge pull request #1604 from irhl/patch-1
...
plugins/wallpaper: update link
2023-03-08 20:18:13 +05:30
Henri Bourcereau
eaffd311d4
Fix paths in nushell quitcd script
...
This set the correct path to the temp nnn file when XDG_CONFIG_HOME is set. It fixes https://github.com/jarun/nnn/discussions/1605
2023-03-07 15:40:10 +01:00
NRK
003228afba
add some critical comments
2023-03-05 18:43:08 +06:00
birik
8b8e3eb522
plugins/wallpaper: update link
2023-03-05 09:07:04 +00:00
Arun
9656c809d2
Merge pull request #1602 from mmai/patch-1
...
Create quitcd script for nushell
2023-03-02 05:09:23 +05:30
Henri Bourcereau
69882b3bff
Create quitcd script for nushell
2023-02-28 16:26:36 +01:00
NRK
3a30211e6c
handle tilde more strictly in mkpath and abspath
...
otherwise, if a file is named "~" it will get incorrectly expanded into
$HOME and disaster can happen.
2023-02-26 18:13:26 +06:00
Arun
2a38132012
Merge pull request #1597 from amalgame21/master
...
Add old 1997-2003 .doc and .xls preview support
2023-02-26 07:33:57 +05:30
NRK
8dbd9da0cc
convert_tilde: return whether the conversion was done or not
2023-02-25 21:15:55 +06:00
NRK
a59a91c312
handle tilde more correctly
...
closes: https://github.com/jarun/nnn/issues/1596
2023-02-25 21:15:46 +06:00
amalgame21
1dc4c96139
Add old 1997-2003 .doc and .xls support
2023-02-25 09:52:33 +00:00
Arun
9503703517
Merge pull request #1593 from luukvbaal/preview-tui
...
Preview-tui hide terminated/broken pipe messages
2023-02-20 19:42:15 +05:30
Luuk van Baal
675e50c941
Preview-tui hide terminated/broken pipe messages
...
Fix #1583 , close #1591
2023-02-19 21:55:07 +01:00
Arun
a4745272db
Merge pull request #1592 from N-R-K/nmv_tmp_cleanup
...
nmv: ensure the tmpfile is cleaned up in all cases
2023-02-19 22:27:36 +05:30
Jacob Moena
2dc7f19be0
Added patch for colemak keyboard layout. Existing renamed to colemak-dh ( #1587 )
...
* Added patch for colemak keyboard layout. Existing renamed
to colemak-dh
* Missed two spots of O_COLEMAK
* Update check-patches.sh
2023-02-19 17:22:32 +01:00
NRK
bc6a09475d
nmv: ensure the tmpfile is cleaned up in all cases
...
currently, there's a couple exit paths where the tmpfile doesn't get
cleaned up.
2023-02-19 21:14:53 +06:00
Arun Prakash Jana
b874da395c
Update copyright year
2023-02-19 08:28:20 +05:30
Arun
b49cc28d80
Merge pull request #1589 from N-R-K/prefer_sel
...
fix shellcheck issues
2023-02-17 21:00:44 +05:30
NRK
8c23c3da4e
fix shellcheck issues
2023-02-17 20:12:07 +06:00
Arun
f1c85b977a
Merge pull request #1588 from N-R-K/prefer_sel
...
nmv: prefer selection if -u is active
2023-02-17 19:30:59 +05:30
NRK
4867fa2bc7
plugin-helper: add nnn_use_selection()
2023-02-17 19:54:36 +06:00
NRK
9cc4b66868
export NNN_PREFER_SELECTION to all plugins
2023-02-17 19:24:45 +06:00
NRK
8ad5c87107
nmv: prefer selection if -u is active
...
the rename plugin always asks for "selection vs current" even when -u
flag is active. pass it to the plugin via `NNN_PREFER_SELECTION` so that
there's less distracting prompts.
2023-02-17 19:22:46 +06:00
Arun
9357825b34
Merge pull request #1586 from luukvbaal/preview-tui
...
Preview-tui restore current working directory
2023-02-17 18:42:50 +05:30
Luuk van Baal
fc26493602
Preview-tui restore current working directory
2023-02-17 03:02:01 +01:00
Arun
ade477e705
Merge pull request #1585 from luukvbaal/preview-tui
...
Preview-tui hide wezterm split-pane output
2023-02-17 07:18:35 +05:30
Luuk van Baal
08d2ba0b5d
Preview-tui hide wezterm split-pane output
2023-02-17 01:45:17 +01:00
Arun Prakash Jana
bbfb16db42
Update readme
2023-02-13 01:05:36 +05:30
Arun
d7bfe38728
Merge pull request #1580 from luukvbaal/preview-tui
...
Preview-tui!: refactor environment variables
2023-02-12 07:58:58 +05:30
Luuk van Baal
80c07741e5
Preview-tui!: refactor environment variables
...
Problem: List of environment variables is copied for each previewer.
Environment variable names are too general.
Solution: Parameterize environment variable flags with static list of
variables. Prepend user-facing variables with `NNN_`.
2023-02-11 03:09:56 +01:00
Arun
3739aab578
Merge pull request #1578 from kuntau/wezterm-preview-support
...
feat(preview-tui): add `wezterm` support
2023-02-04 07:04:24 +05:30
Nizamuddin Sulieman
70204a2d0f
Update plugins/preview-tui
...
use `$WEZTERM_PANE` instead, since `$WEZTERM_UNIX_SOCKET` is not set on Linux
Co-authored-by: luukvbaal <31730729+luukvbaal@users.noreply.github.com>
2023-02-04 07:36:57 +08:00
Nizamuddin Sulieman
1ad6d30a36
feat(preview-tui): use built in `iTerm2` image protocol if
...
`NNN_PREVIEW_IMGPROG` is not specified. Add some notes.
2023-02-02 18:25:39 +08:00
Nizamuddin Sulieman
0ac8b7aa54
feat(preview-tui): add `wezterm` support
2023-02-02 16:14:56 +08:00
Arun Prakash Jana
58b77411c8
Optimize listed selection size calculation
2023-01-31 18:36:26 +05:30
Arun
d0631707fc
Merge pull request #1576 from greenfoo/add_chafa
...
preview-tui: add chafa and PREFERRED_IMAGE_VIEWER env variable
2023-01-30 18:37:42 +05:30
Fernando Ramos
c4c720a59a
preview-tui: add chafa and PREFERRED_IMAGE_VIEWER env variable
2023-01-30 08:24:44 +01:00
Arun
326e76b9d0
Merge pull request #1575 from luukvbaal/colemak
...
Update colemak patch
2023-01-30 06:49:00 +05:30
Luuk van Baal
778d6617b1
Update colemak patch
2023-01-29 23:05:49 +01:00
Arun Prakash Jana
33827109d5
Show total size of non-filtered selected files in a directory.
2023-01-30 00:14:54 +05:30
Arun Prakash Jana
4f95796ede
Run cmd as plugin now supported exported variables
2023-01-28 10:01:46 +05:30
Arun Prakash Jana
b80e047d50
Set defaults for some multiple choice prompts
...
Archive options: listing
Create new options: create file
Open with options: command type GUI
2023-01-28 09:50:58 +05:30
Arun Prakash Jana
ad4ecb19cb
Simplify paged and GUI commands run as plugin
2023-01-28 09:16:06 +05:30
Arun Prakash Jana
03e0531e81
Place "$nnn" in double quotes in man page examples
2023-01-28 08:31:25 +05:30
Arun
786ecf9fc2
Merge pull request #1571 from KlzXS/plugin_simplification
...
Simplify the command as plugin codepath
2023-01-28 08:23:24 +05:30
Arun
1a5a7da8eb
Merge pull request #1570 from KlzXS/general_simplification
...
Second attempt at #1566
2023-01-28 08:22:52 +05:30
Arun
d4575e99c8
Merge pull request #1573 from N-R-K/fix_chksum
...
plugins/chksum: use exit instead of return
2023-01-27 21:03:45 +05:30
NRK
ca8fcf454a
plugins/chksum: use exit instead of return
...
From https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_24 :
| The return utility shall cause the shell to stop executing the current
| function or dot script. If the shell is not currently executing a
| function or dot script, the results are unspecified.
Closes: https://github.com/jarun/nnn/issues/1572
2023-01-26 01:21:40 +06:00
KlzXS
867726d870
Add debug message for bad call
2023-01-25 18:56:48 +01:00
KlzXS
7abfb77a13
Update signatures
2023-01-25 17:37:31 +01:00
KlzXS
827e84a56f
Simplify commands as plugins
...
Remove restrictions on $nnn
Update the plugin README
2023-01-25 17:33:15 +01:00
KlzXS
8d21e5e832
Revert using UTIL_SH_EXEC
2023-01-25 17:26:14 +01:00
Arun Prakash Jana
6b94911bc9
Revert "Simplify get_output()"
...
This reverts commit 6c23fdfd5f
.
2023-01-16 00:19:03 +05:30
Arun Prakash Jana
653cab9dff
Revert "Give better names to variables"
...
This reverts commit 1a2f783b75
.
2023-01-16 00:18:52 +05:30
Arun Prakash Jana
f9295780ef
Revert "Make CI happy"
...
This reverts commit 8a1e32d9eb
.
2023-01-16 00:18:41 +05:30
Arun Prakash Jana
cac5b9ba33
Revert "Concatenate arguments to pass to `sh`"
...
This reverts commit 428c652d36
.
2023-01-16 00:18:19 +05:30
Arun Prakash Jana
df05f593de
Revert "Paging is achieved through shell command now"
...
This reverts commit 243301603e
.
2023-01-16 00:15:54 +05:30
Arun Prakash Jana
243301603e
Paging is achieved through shell command now
2023-01-15 11:46:03 +05:30
Arun
f9281c8eab
Merge pull request #1566 from KlzXS/general_simplification
...
General simplification
2023-01-15 11:16:01 +05:30
Arun
428c652d36
Concatenate arguments to pass to `sh`
...
Co-authored-by: KlzXS <klzx+github@klzx.cf>
Co-authored-by: Arun Prakash Jana <engineerarun@gmail.com>
2023-01-15 10:59:36 +05:30
KlzXS
8a1e32d9eb
Make CI happy
2023-01-14 23:18:22 +01:00
KlzXS
1a2f783b75
Give better names to variables
2023-01-14 22:31:16 +01:00
KlzXS
6c23fdfd5f
Simplify get_output()
2023-01-14 22:11:10 +01:00
Arun
fef3c673cd
Merge pull request #1565 from N-R-K/discussion_template
...
issue-template: add a section for opening a discussion
2023-01-14 18:35:59 +05:30
NRK
1887cd1a77
issue-template: add a section for opening a discussion
...
this should give the section more visibility.
2023-01-14 18:48:11 +06:00
Arun
12aedd521d
Merge pull request #1563 from N-R-K/macos_ci
...
attempt at fixing macos CI
2023-01-10 20:59:49 +05:30
NRK
cf68675478
attempt at fixing macos CI
2023-01-10 14:19:00 +06:00
Arun
2b6fb3f388
Merge pull request #1559 from leovilok/tabbed-wayland-warn
...
preview-tabbed: warn & prevent running on Wayland
2023-01-08 06:32:50 +05:30
Léo Villeveygoux
dac5fb0af9
preview-tabbed: warn & prevent running on Wayland
2023-01-07 23:19:28 +01:00
Arun Prakash Jana
789449a464
Update bug template
2023-01-06 04:24:38 +05:30
Arun
fa62b08243
Merge pull request #1555 from N-R-K/icons_fix_ub
...
icons-hash: fix bitwise rotation
2023-01-03 04:38:26 +05:30
Arun Prakash Jana
dd214c50f3
Update plugin docs and examples
2023-01-03 04:37:07 +05:30
NRK
fb5b2e5e64
icons-hash: fix bitwise rotation
...
in case the rotation is 0, `v >> (32 - r)` would end up doing a 32 right
shift which is equal to the width of `v` and thus undefined behavior.
ref: https://blog.regehr.org/archives/1063
2023-01-03 02:20:21 +06:00
Raffaele Mancuso
c9b384f009
[kdeconnect] Various improvements ( #1551 )
...
- Support multiple devices paired and available at the same time
- Filter out non-regular files
2023-01-02 22:23:47 +05:30
N-R-K
2000ed5080
icons-hash: misc improvements ( #1553 )
...
* icons-hash: take total probe count into account as well
* icons-hash: use a better PRNG
the older method was using a multiplicative congruential generator (MCG)
which doesn't work too well especially with just 32 bits of state.
change it to a PCG instead with 64 bits of state (and 32 bits of output)
which should give better results.
and since we should get better rng - the search iteration has been
halved as well to save some build time.
* icons-hash: use an xor-rotate hash function
* icons-hash: fix some compiler warnings
2023-01-02 22:23:18 +05:30
8B411
a51437ff16
Miscellaneous improvements to nmount plugin ( #1547 )
...
* plugins/nmount: keep `while` & `do` on one line for consistency
* plugins/nmount: sync only that device, which user wants to unmount
* plugins/nmount: replace all instances of `$dev` with `/dev/$dev`
* plugins/nmount: add `--no-user-interaction` option to `udisksctl`
Otherwise the user will be asked for authentication each time he wants
to unmount, say, HDD, since `udisksctl` will try to power it off.
* plugins/nmount: try to mount only existing block devices
* plugins/nmount: do not invoke `lsblk` immediately after mounting
Sometimes `lsblk` fails to provide mountpoint in such a short time frame.
* plugins/nmount: simplify pipe
* plugins/nmount: keep `echo` arguments in a single pair of quotes
* plugins/nmount: report mountpoint only if mounting was successful
2022-12-21 23:14:28 +05:30
Arun Prakash Jana
e236bd0b3a
Add Discussions link to README.
2022-12-18 21:30:23 +05:30
Raffaele Mancuso
1b5cfbca3d
kdeconnect: misc improvements ( #1543 )
...
- Work with multiple connected devices by sending files to the first
device
- Support multi-files selection
- Support sending hovered file in case no file is selected
Co-authored-by: NRK <nrk@disroot.org>
Co-authored-by: Arun Prakash Jana <engineerarun@gmail.com>
2022-12-18 21:29:52 +05:30
Arun Prakash Jana
1688b07d0e
Update readme
2022-12-16 19:54:53 +05:30
Arun
4d54490433
Merge pull request #1542 from KlzXS/archive_script
...
Remove unnecessary parameter from `archive_selection()`
2022-12-13 18:40:42 +05:30
KlzXS
87627a6e08
Remove unnecessary parameter from `archive_selection()`
2022-12-12 16:13:35 +01:00
Arun Prakash Jana
17ed380b57
Optimize link creation
2022-12-12 18:03:11 +05:30
Arun Prakash Jana
38d7090e64
Clear selection if all links are generated
2022-12-12 16:15:06 +05:30
Arun Prakash Jana
824e7a2c18
Show errno on link creation failure
2022-12-12 15:57:20 +05:30
Arun Prakash Jana
2e84716e76
Restore check to prevent overwriting hovered file when archiving
2022-12-12 14:45:04 +05:30
Arun Prakash Jana
e8bc59a816
Improve archive, rename, new workflows
...
1. hover on entry created in cwd
2. check user input doesn't end with /
3. check user input len < PATH_MAX
4. support creation in ~ directory
5. handle filter mode after creation
6. ensure absolute path len < PATH_MAX
2022-12-12 10:19:53 +05:30
Arun Prakash Jana
32a6a63f44
Improve archive creation handling
2022-12-12 02:43:23 +05:30
Arun Prakash Jana
cf46da60d9
Fix memory leak
2022-12-12 00:17:28 +05:30
Arun Prakash Jana
1a04e813be
Update docs
2022-12-11 10:53:16 +05:30
Arun Prakash Jana
02dec98bf8
Use built-in
2022-12-11 03:42:34 +05:30
Arun Prakash Jana
608fbb4ad7
Fix length calculation
2022-12-11 03:01:19 +05:30
Arun Prakash Jana
d4c3e52f2f
Attmept to create PATH if PATH is non-existent
2022-12-11 00:03:24 +05:30
Arun Prakash Jana
93de728eab
Create files in less permissive mode
2022-12-10 22:02:22 +05:30
Arun Prakash Jana
c9dbae0586
Fix build break
2022-12-10 21:43:42 +05:30
Arun Prakash Jana
b6bfc740ce
Fix signed and unsigned comparison
2022-12-10 21:39:44 +05:30
Arun Prakash Jana
28ea6e0f36
Allow creating a new file on startup
...
An accessibe parent directory must exist to allow creation
2022-12-10 21:39:36 +05:30
Arun Prakash Jana
2a673b4eb1
Allow overwriting regular files on new empty file creation
2022-12-10 19:28:58 +05:30
Arun Prakash Jana
cd145b982d
Update ToDo link
2022-12-03 07:26:26 +05:30
Arun Prakash Jana
92a0158f93
Update README
2022-11-26 09:36:07 +05:30
Arun Prakash Jana
0c234060bf
Add correct check for Wayland in clipboard plugins
2022-11-26 09:33:59 +05:30
Arun
07c5590db3
Merge pull request #1531 from sjmulder/pr/cflags
...
Respect CFLAGS and LDFLAGS when building generator
2022-11-25 22:24:31 +05:30
Sijmen J. Mulder
2fc9d518d1
Respect CFLAGS and LDFLAGS when building generator
2022-11-25 16:40:17 +01:00
Arun Prakash Jana
1de825b5bb
Fix #1529 : fix improper piping
2022-11-25 19:48:45 +05:30
Arun Prakash Jana
fbf9279973
Set rdef to development
2022-11-24 11:24:10 +05:30
Arun Prakash Jana
7330e6642b
Prepare for release v4.7 Cuba libre
2022-11-24 10:58:21 +05:30
Darukutsu
4bb7ffcd4a
plugins/upload: handle selection using ffsend
2022-11-18 21:17:02 +05:30
Arun
3359b8f7cd
Merge pull request #1516 from lgtm-migrator/codeql
...
Add CodeQL workflow for GitHub code scanning
2022-11-09 23:10:30 +05:30
LGTM Migrator
66fd131f2d
Add CodeQL workflow for GitHub code scanning
2022-11-09 15:46:24 +00:00
Arun
a1477c2668
Merge pull request #1512 from Darukutsu/pull-requests
...
plugins/wallpaper: support wayland and fix indentation
2022-11-02 18:34:44 +05:30
NRK
f13b527a93
plugins/wallpaper: update description
2022-11-02 05:27:57 +06:00
NRK
83c4c880cc
plugins/wallpaper: fix indentation
2022-11-01 23:03:14 +06:00
daru
e7abf87c54
Update wallpaper
2022-11-01 17:05:57 +01:00
Darukutsu
e80ba2e44a
fix plugins/wallpaper support for wayland
2022-11-01 16:40:25 +01:00
Arun
2a4231ea89
Merge pull request #1511 from N-R-K/icons_clarify
...
Misc icon changes
2022-10-26 17:26:32 +05:30
NRK
985f6537ce
add ksh, ttf and otf icons
...
Co-authored-by: Tanner Babcock <babkock@protonmail.com>
2022-10-26 15:08:27 +06:00
NRK
080a061969
icons.h: fix alignment
2022-10-26 14:55:20 +06:00
NRK
ff27d9ee14
clarify the goal of the default icon set
2022-10-26 14:54:07 +06:00
nblock
b511506fa3
imgview: handle arguments as strings ( #1509 )
...
* imgview: handle arguments as strings
Avoids the following synax errors:
line 34: [: : integer expression expected
line 49: [: : integer expression expected
* imgview: use meaningful strings as arguments
Co-authored-by: Florian Preinstorfer <florian@nblock.org>
Co-authored-by: Luuk van Baal <luukvbaal@gmail.com>
2022-10-21 14:16:06 +02:00
Arun
f89ba77516
Merge pull request #1506 from N-R-K/nsxiv_link
...
update nsxiv upstream link
2022-10-12 20:23:21 +05:30
Arun
0c4180f2d8
Merge pull request #1507 from N-R-K/prompt_prefill
...
prefill the prompt when there's a single target
2022-10-12 06:04:20 +05:30
NRK
e5074ebc83
prefill the prompt when there's a single target
...
Fixes : #1505 #1282 #1345
2022-10-12 00:48:33 +06:00
NRK
b00700ce4d
fix nsxiv upstream link
...
main repo is hosted on codeberg, github is only a mirror.
2022-10-11 22:00:42 +06:00
Dean G
38b7282050
Add Rust icons ( #1502 )
2022-10-05 11:38:48 +00:00
Arun
31b83ef1f0
Merge pull request #1501 from luukvbaal/patches
...
Fix gitstatus patch git command
2022-10-01 21:15:48 +05:30
Luuk van Baal
bc4233767a
Fix git pathspec for gitstatus patch
2022-10-01 17:06:30 +02:00
Arun Prakash Jana
59eed597c2
Fix #1498 : count broken when selection is updated outside nnn
2022-09-28 00:30:26 +05:30
Arun Prakash Jana
de3ad1b146
Fix build break
2022-09-19 21:36:04 +05:30
Christian Rackerseder
c24ede2d4a
Fix #1486 : update macOS instructions for chksum plugin
2022-09-19 20:10:51 +05:30
Arun Prakash Jana
0907895865
Add macOS instruction
2022-09-17 21:43:46 +05:30
Arun
1cefc326e3
Merge pull request #1491 from PatrickF1/patch-1
...
slightly improve n.fish
2022-09-16 23:28:59 +05:30
Patrick
a7ce7bb36c
wrap in quotes just in case
2022-09-15 19:57:25 -07:00
Patrick
c9c74dd753
make one single invocation to test
2022-09-15 18:24:04 -07:00
Patrick
3dac035819
slightly improve and optimize n.fish
...
The expr is redundant because `test -ge` treats strings as numbers already.
2022-09-15 17:11:34 -07:00
Arun
f6edcc41b9
Merge pull request #1485 from pataquets/detect-key-collision-text
...
Detect key collisions: make clear everywhere that it exits afterwards.
2022-09-13 06:32:39 +05:30
pataquets
78019a758e
Detect key collisions: make clear everywhere that it exits afterwards.
2022-09-12 23:04:54 +02:00
Arun
23f8c37094
Merge pull request #1480 from luukvbaal/master
...
Show selected items in rm msg
2022-09-09 00:40:35 +05:30
Luuk van Baal
4f57e0df37
Show selected items in rm msg
...
Close https://github.com/jarun/nnn/issues/1479
2022-09-08 20:07:34 +02:00
Arun Prakash Jana
f56a8caf65
Use correct data type for key collision detection
2022-08-23 19:00:45 +05:30
Arun
340ba19098
Merge pull request #1461 from N-R-K/xstrdup_memcpy
...
xstrdup: use memcpy
2022-08-16 19:07:21 +05:30
NRK
f8ee991254
xstrdup: use memcpy
...
the length is already known, so memcpy should be faster than xstrsncpy.
2022-08-16 19:31:18 +06:00
Arun
d49ddd1331
Merge pull request #1457 from N-R-K/alignas
...
use standard C11 alignas
2022-08-11 16:16:31 +05:30
NRK
29a5992dee
use standard C11 alignas
...
nnn source code already uses C11, which introduced `_Alignas` [^0] as a
standardized alternative to __attribute__((aligned)).
there are no other usage of `__attribute__` in the nnn source code, so
in theory this should make things more portable across compilers.
also removes an unnecessary usage of `alloca()` with an aligned constant
sized buffer instead.
[^0]: https://en.cppreference.com/w/c/language/_Alignas
2022-08-11 11:31:35 +06:00
Arun
ad62463b48
Merge pull request #1456 from luukvbaal/preview-tui
...
Preview-tui fix image_preview stdout
2022-08-07 21:30:23 +05:30
Luuk van Baal
95e1d56ee4
Preview-tui fix image_preview stdout
2022-08-07 16:40:12 +02:00
Arun Prakash Jana
a335f94d05
Update docs
2022-08-06 11:23:10 +05:30
Arun Prakash Jana
a937bc0a4c
Update ToDo list link
2022-08-05 05:46:25 +05:30
Arun
92873352e0
Merge pull request #1453 from N-R-K/fix_manpage
...
fix outdated manpage
2022-08-04 21:45:20 +05:30
NRK
e57bb26295
fix outdated manpage
...
Closes: https://github.com/jarun/nnn/issues/1452
2022-08-04 21:38:38 +06:00
Arun
7086d030f0
Merge pull request #1451 from KlzXS/list_mode_read
...
Improved chunk allocation logic
2022-08-03 21:27:47 +05:30
KlzXS
65dec55e23
Improved chunk allocation logic
...
Found memory deallocation edge case
Update and move chunk limit check
Generalize maximum size of input
Remove hard-coded values
Remove superfluous check before free
Let the kernel deal with extra data
Handle signals while reading
Conform to the manpage
Make CI happy
use `size_t` instead of `ssize_t`
`ssize_t` was used just so `--i` when `i` was zero would become -1
instead of SIZE_MAX. for looping through something in reverse order, the
"goes-to" operator (`-->`) can be used instead which doesn't require `i`
to be signed anymore.
remove useless blank line
use a normal loop
don't see any reason why freeing in reverse order would've been needed.
Co-authored-by: N-R-K <nrk@disroot.org>
2022-08-03 17:38:19 +02:00
Arun Prakash Jana
ab9d8bee89
Fix #1449 : ^N not working
2022-08-01 23:41:04 +05:30
Arun Prakash Jana
926c4014b3
Update colemak patch
2022-07-31 19:40:50 +05:30
Arun Prakash Jana
a7ebc7858a
Key 'J' to jump to entry number or relative offset
2022-07-31 18:54:47 +05:30
Arun Prakash Jana
e8acae3274
Continue listing when max files/size is exceeded
2022-07-31 12:49:42 +05:30
Arun Prakash Jana
21eebbb003
File list mode changes
...
- support listing maximum 16K files
- check if target directory exists before directory tree creation
in most of the cases many files will be under the same directory
- make frequently used function 'inline'
2022-07-31 11:11:32 +05:30
Arun Prakash Jana
f530b2ca18
Let ffmpegthumbnailer use embedded image metadata
2022-07-30 21:44:00 +05:30
Arun Prakash Jana
e298f7eeaf
Update patches
2022-07-30 10:32:32 +05:30
Arun Prakash Jana
e73b57c78a
Option -B to use bsdtar as archive tool
2022-07-29 22:35:43 +05:30
Arun Prakash Jana
49a0d9d02c
Fix typo
2022-07-29 22:18:34 +05:30
Arun Prakash Jana
b76cea3a34
Revert "Patch #1386 : make bsdtar the default archive handler"
...
This reverts commit e104b749be
.
2022-07-29 22:14:00 +05:30
Arun Prakash Jana
83825a7d11
Fix rm prompt
...
Esc - cancels the search
y/Y - adds the force option
n/N/any other key - prompts for every file
2022-07-28 19:38:55 +05:30
Arun Prakash Jana
22db656b8d
Update gitignore file
2022-07-28 18:38:54 +05:30
Arun
07c1e8e655
Merge pull request #1440 from N-R-K/fix_emoji_tar
...
fix emoji tar command
2022-07-26 21:09:59 +05:30
NRK
61e1356fbd
fix emoji tar command
...
Fixes: https://github.com/jarun/nnn/pull/1356#discussion_r930094949
2022-07-26 21:37:38 +06:00
N-R-K
f618b78866
Makefile: more robust generated header tracking ( #1439 )
...
give each generated header it's own unique file so that it's not
possible to try and build `O_EMOJI=1` with the generated header for
`O_NERD=1`.
2022-07-26 20:26:49 +05:30
Arun Prakash Jana
f2a38b0e22
Update Haiku file
2022-07-26 20:20:04 +05:30
Arun Prakash Jana
0988268a61
Prepare for release v4.6 Absinthe
2022-07-26 19:28:44 +05:30
Tharindu Abeydeera
98287158aa
Add Elixir icon ( #1437 )
...
* Added icons for erlang, elixir and lockfile
* Lockfile icon updated
* Added colors for Erlang and elixir
* Added few more color variations and configured colors and file
extensions
* remove erlang and lock, use 1 color for elixir
Co-authored-by: Tharindu Abeydeera <tharindu.a@vizuamatix.com>
Co-authored-by: NRK <nrk@disroot.org>
2022-07-25 19:40:00 +05:30
Arun
e2e1d80d58
Merge pull request #1438 from N-R-K/icons_cleanup
...
icons-hash: comments and cleanups
2022-07-25 19:19:25 +05:30
NRK
e6b6466c49
icons-hash: comments and cleanups
...
adds some comments, references and cleanups. no change in functionality.
2022-07-25 18:34:36 +06:00
Arun Prakash Jana
f415924c7e
Remove redundant spaces
2022-07-24 20:07:27 +05:30
Arun Prakash Jana
ab0dc52c49
Add example to quick find in subtree and nuke
2022-07-24 16:20:54 +05:30
Arun
f829afe60b
Merge pull request #1436 from N-R-K/icon_compaction
...
icons: use a compact array
2022-07-24 16:14:52 +05:30
NRK
fe9c1bbb3a
icons: use a compact array
...
a lot of the extension use the same icon. this can be exploited via
having an array with all the unique icons and then storing a single byte
index into the unique array.
when using `O_EMOJI` this results in around ~1.7KiB drop in the total
table size. `O_NERD` and `O_ICONS` get roughly ~0.5KiB savings.
2022-07-24 16:24:11 +06:00
NRK
63a254951d
icons-hash: some minor cleanups
2022-07-24 16:24:11 +06:00
Arun
aab5ab53a5
Merge pull request #1435 from N-R-K/icons_update
...
Update some icons and colors
2022-07-24 15:40:18 +05:30
NRK
12f5faa10d
icons: replace double-width icons
2022-07-24 16:06:14 +06:00
NRK
f1932967e2
icons: use COLOR_C for go files
2022-07-24 16:06:14 +06:00
Arun Prakash Jana
197717ce68
Enable hidden when opening a hidden file
2022-07-23 09:33:11 +05:30
Arun
117025c1a4
Merge pull request #1432 from N-R-K/icon_rework_squashed
...
Revise and optimize icons handling
2022-07-22 22:37:25 +05:30
Arun
0381db1875
Merge pull request #1431 from luukvbaal/preview-tui
...
Preview-tui improvements
2022-07-22 22:33:16 +05:30
NRK
e98d9288d2
some cleanups and comments
2022-07-22 21:33:35 +06:00
NRK
c3a42f0d92
make clang-tidy happy
2022-07-22 17:31:55 +06:00
NRK
3b09fd1c75
Revise and optimize icons handling
...
This pretty much reworks the entire icon system. Some notable changes:
* The extensions are put into a statically generated hash-table instead
of a sorted array. We use Robin-Hood insertion to reduce the max probe
length. Currently we need to probe only 2 slots for `O_EMOJI` and only
3 for `O_NERD`/`O_ICONS`.
* I've opted not to use a perfect-hash since the perfect hashes
generated by [`gperf`](https://www.gnu.org/software/gperf ) used some
huge lookup table. The hash function also wasn't as minimal as I'd
like.
* Colors are now using X-Macros. This should speed up startup since we
don't have to search `icons_ext` linearly to find unique colors.
* The hash-table generator outputs a more space optimized `struct
icon_pair` using a char array instead of char pointer. This brings
down the binary size from `145KiB` when using `O_NERD` down to
`137KiB`.
* Some unnecessary duplication and indirection has been reduced by using
the `ICON_STR()` macro.
2022-07-22 17:08:42 +06:00
Luuk van Baal
3fb9cc1e5a
Preview-tui improvements
2022-07-22 10:49:13 +02:00
Arun Prakash Jana
d95755cce1
Use unget_wch()
2022-07-21 17:51:20 +05:30
Arun Prakash Jana
12b5416b2c
Fix #1428 : handle unicode keybinds
2022-07-20 20:09:34 +05:30
Arun Prakash Jana
a937265833
Reduce get_wch() array length and initialization.
2022-07-20 18:49:24 +05:30
Anomalocaridid
f2c7495f50
escape call to `nnn` so `nnn` can be used as an alias to `n`
2022-07-18 18:28:18 +05:30
Arun Prakash Jana
b0580905f2
Add Makefile target shellcheck
2022-07-18 18:28:16 +05:30
Arun Prakash Jana
b75a22f72d
Minor improvements
2022-07-18 18:28:16 +05:30
Arun Prakash Jana
b752744ca0
Show volume used information in help
2022-07-18 18:28:16 +05:30
Arun Prakash Jana
db7cb4da1e
Fix double order chars on filter case match change
2022-07-18 18:28:15 +05:30
Luuk van Baal
910763441d
Fix checkpatches duplicate make
2022-07-18 18:28:15 +05:30
Arun Prakash Jana
b658f324c2
Update README
2022-07-10 21:36:56 +05:30
Arun Prakash Jana
3f4efbefe4
Remove redundant check
...
sdfdf
2022-07-10 11:00:56 +05:30
Arun
c09ac1c174
Merge pull request #1421 from luukvbaal/patches
...
Add colemak patch
2022-07-09 17:20:46 +05:30
Luuk van Baal
a3cef1611d
Add colemak patch
2022-07-09 13:42:38 +02:00
Arun
f4116a5f42
Merge pull request #1420 from CinnamonJui/patch-1
...
Update plugin name in Configuration section
2022-07-08 20:57:35 +05:30
Jie
a7f243beed
Update plugin name in Configuration section
...
As the plugin was renamed from 'mocplay' to 'mocq' in 4dcefcc4d4
2022-07-08 23:25:40 +08:00
Arun Prakash Jana
8520fe5a0a
Udpate ToDO list
2022-07-01 22:28:21 +05:30
Arun
a998938b9d
Merge pull request #1413 from N-R-K/patches_ci
...
make it easy to check for failing patches locally
2022-07-01 07:45:00 +05:30
NRK
fd69fc2dca
make it easy to check for failing patches locally
...
adds a script `check-patches.sh` to check for patch failures and also
adds a make target `checkpatches` which will invoke the check-patches
script.
2022-07-01 05:47:23 +06:00
NRK
7121a6fe43
Fix build break
2022-06-30 22:26:17 +05:30
happy wang
dc2cfe78cd
add z.lua to autojump
2022-06-30 22:26:12 +05:30
Arun
96cfd3a41a
Merge pull request #1412 from N-R-K/misc_cleanups
...
Misc cleanups
2022-06-30 00:51:43 +05:30
NRK
0df6eebea0
fix breaking patches
2022-06-30 01:04:25 +06:00
NRK
744e9aaf70
initialize to zero instead of using memset
...
reduces some unncessary code. and when initializing larger objects,
compilers (gcc and clang at least) typically tend to compile it down to
a memset anyways.
2022-06-30 00:27:00 +06:00
NRK
1d347b1ce9
cfg: use designated initializer
...
anything not explicitly initialized will be implicitly initialized to
zero. this makes things more robust since comments are not checked by
the compiler and can be incorrect.
2022-06-30 00:26:36 +06:00
NRK
2df0cbd08b
fix incorrect comment
...
xextension() uses xmemrchr to find '.'
2022-06-30 00:25:44 +06:00
Arun
b9a1f1747f
Merge pull request #1411 from luukvbaal/preview-tui
...
Account for ueberzug offset in preview-tui
2022-06-29 20:59:14 +05:30
Luuk van Baal
0ab9189bc5
Account for ueberzug offset in preview-tui
2022-06-29 12:33:11 +02:00
Arun Prakash Jana
52f4ee5aee
Fix build break
2022-06-28 23:17:23 +05:30
Arun
5ace352d2c
Merge pull request #1409 from luukvbaal/preview-tui
...
Scale up kitty previews
2022-06-28 16:55:22 +05:30
Luuk van Baal
3e84c275ba
Scale up kitty previews
2022-06-28 12:43:35 +02:00
Arun Prakash Jana
89bd541562
Add new emoji for C files
2022-06-25 20:07:43 +05:30
Arun Prakash Jana
02d48a9144
New icons for audio and video
2022-06-25 19:59:13 +05:30
Arun
c69067b502
Merge pull request #1406 from N-R-K/realpath
...
account for realpath failure and update link
2022-06-20 21:48:20 +05:30
NRK
af5cdca043
README: update my name and link
2022-06-20 22:06:23 +06:00
NRK
eb66cb5d11
account for realpath failure
...
realpath may fail, in which case fallback to mkpath.
2022-06-20 21:49:41 +06:00
Arun Prakash Jana
6c197f5f02
Update plugin doc
2022-06-16 23:40:05 +05:30
Arun Prakash Jana
2130e1b33a
Use the term auto-advance instead of auto-jump
...
There's no jump.
2022-06-15 20:04:56 +05:30
Arun Prakash Jana
0c626d49a6
Revert "Add bookmarknav patch"
...
This reverts commit fbd6f69f25
.
2022-06-14 17:43:50 +05:30
Arun Prakash Jana
d898d174f5
Fix docs, allow `/` to enable filter inside bookmarks
2022-06-14 17:36:17 +05:30
Arun Prakash Jana
581e629c20
Enable automatic dir entry on unique filer match
2022-06-14 13:49:41 +05:30
Arun Prakash Jana
56f96c3d0a
Enable filtering in plugins/bookmarks dirs
...
Enable auto-dir entry on filter mode
2022-06-14 13:10:54 +05:30
Arun Prakash Jana
51f2fde0e6
Revert #1398 : Go to prev dir on bookmark key repeat
...
Reasons:
1. `b` is not a special key and will be interpreted as a filter
2. with this change pressing the standard `-` inside a symlinked
bookmark takes back to the bookmarks directory. This deviates
from the regular bookmarks behaviour.
2022-06-14 12:51:42 +05:30
Arun
40f75e9c38
Merge pull request #1402 from luukvbaal/selbm
...
Fix false positive selbm
2022-06-13 17:21:02 +05:30
Luuk van Baal
5b5a62bb0d
Fix false positive selbm
2022-06-13 04:07:40 +02:00
Arun Prakash Jana
1b31f5cf9b
Fix patch doc
2022-06-12 07:56:21 +05:30
Arun Prakash Jana
783ea754f7
Use a more visible color
2022-06-12 07:55:23 +05:30
Arun
c02605a907
Merge pull request #1401 from luukvbaal/master
...
Add bookmarknav patch
2022-06-12 07:31:06 +05:30
Luuk van Baal
fbd6f69f25
Add bookmarknav patch
2022-06-11 19:44:44 +02:00
Arun Prakash Jana
19b2ea324a
Skip redundant getutil() call
2022-06-11 21:32:16 +05:30
Arun Prakash Jana
03fc3b99c5
Add informative comment
2022-06-11 21:25:03 +05:30
Arun Prakash Jana
e104b749be
Patch #1386 : make bsdtar the default archive handler
2022-06-11 15:09:40 +05:30
Arun Prakash Jana
8fb7feb61c
Add new icon colors for mp4 and flac formats
2022-06-11 07:34:59 +05:30
Arun Prakash Jana
49f21ae013
Fix segfault when last dir is not set
2022-06-11 06:05:57 +05:30
Göran Gustafsson
4baee859f8
Go to last dir on bookmark key repeat
2022-06-10 21:18:02 +05:30
Arun Prakash Jana
de004d944e
Fix #1385 : document internal files in 'plugins' dir
2022-06-10 21:00:06 +05:30
Arun
4784587024
Merge pull request #1394 from luukvbaal/explorer
...
Disable e on explorer mode
2022-06-09 02:26:27 +05:30
Luuk van Baal
6fc8f63c0d
Disable e on explorer mode
2022-06-08 21:01:03 +02:00
Arun
88306e2d9c
Merge pull request #1391 from ggustafsson/feat/usage-stdout-fix
...
Print usage info to stdout instead of stderr
2022-06-08 02:54:27 +05:30
Arun
4c6c06b743
Merge pull request #1389 from ggustafsson/feat/bsd-stat-x-fix
...
Use -x flag with BSD stat
2022-06-08 01:38:53 +05:30
Göran Gustafsson
5023abe2df
Print usage info to stdout instead of stderr
2022-06-07 20:33:05 +02:00
Göran Gustafsson
93db9bb2be
Use -x flag with BSD stat
2022-06-05 22:13:23 +02:00
Arun
46a5092eee
Merge pull request #1384 from N-R-K/fix_sizeof
...
fix incorrect usage of sizeof
2022-06-02 21:44:52 +05:30
NRK
5ae3891ee5
fix incorrect usage of sizeof
...
`sizeof(cmd)` here would give the sizeof a char pointer, not the sizeof
the cp/mv array.
2022-06-02 15:44:31 +06:00
Arun
01ab453cff
Merge pull request #1380 from luukvbaal/master
...
Update patch conflict instructions/workflow
2022-05-31 16:36:23 +05:30
Luuk van Baal
3072aa7891
Update patch conflict instructions/workflow
2022-05-31 11:07:31 +02:00
Arun
0499998e2a
Merge pull request #1379 from luukvbaal/master
...
Move patch ci to ubuntu
2022-05-30 23:29:46 +05:30
Luuk van Baal
bb604bdf1d
Move patch ci to ubuntu
2022-05-30 19:45:28 +02:00
Arun Prakash Jana
a70ad9c480
Update doc
2022-05-30 22:31:24 +05:30
Arun Prakash Jana
10e2d37d0f
Revert "Enter type-to-nav for bookmarks dir"
...
This reverts commit 8cdeddeb4a
.
2022-05-30 22:20:45 +05:30
Arun Prakash Jana
85be28c019
Revert "Fix reverting filtermode on empty directory"
...
This reverts commit 4337214f50
.
2022-05-30 22:19:41 +05:30
Arun
d859e81444
Merge pull request #1377 from luukvbaal/patches
...
Add patch conflict instructions
2022-05-30 22:12:30 +05:30
Arun
33ec6dece4
Merge pull request #1376 from N-R-K/patches_ci
...
Improve patches ci
2022-05-30 22:11:43 +05:30
Luuk van Baal
4c974f286c
Add patch conflict instructions
2022-05-30 14:43:59 +02:00
N-R-K
1e98e2e126
improve patch conflict ci script
...
goes through all different combinations automatically and makes adding
another patch easier by simply putting the name into the patches array.
2022-05-30 17:43:41 +06:00
Arun
f8b8e77be9
Merge pull request #1375 from luukvbaal/master
...
Add patch conflict workflow
2022-05-30 06:22:23 +05:30
Luuk van Baal
0095948d8d
Add patch conflict workflow
2022-05-30 01:01:46 +02:00
Arun Prakash Jana
d618922177
Get rid of rundir
2022-05-29 22:32:54 +05:30
Arun Prakash Jana
4337214f50
Fix reverting filtermode on empty directory
2022-05-29 20:17:55 +05:30
Arun Prakash Jana
31a273fdd0
Fix build break
2022-05-29 20:09:33 +05:30
Arun
c2a2a9dee7
Merge pull request #1373 from luukvbaal/bmnav
...
Enter type-to-nav for bookmarks dir
2022-05-29 19:37:33 +05:30
Luuk van Baal
8cdeddeb4a
Enter type-to-nav for bookmarks dir
2022-05-29 13:55:15 +02:00
Arun
772fd30fa0
Merge pull request #1372 from luukvbaal/patches
...
Fix restorepreview patch conflict
2022-05-29 14:12:44 +05:30
Luuk van Baal
ae36d30b66
Fix restorepreview patch conflict
2022-05-29 01:32:07 +02:00
Arun Prakash Jana
14e80c3872
Update docs
2022-05-28 23:59:11 +05:30
Arun Prakash Jana
8175571952
Clear runtime states
2022-05-28 23:30:56 +05:30
Arun Prakash Jana
3a50be93fd
Fix #1369 : limit symlinked bookmarks to bookmarks dir
2022-05-28 23:14:07 +05:30
Arun Prakash Jana
ec7692bb9e
Update man page.
2022-05-28 06:20:57 +05:30
Arun
e4c2cb9fd4
Merge pull request #1371 from dnbz/master
...
Fix a broken link in CONTRIBUTING.md
2022-05-28 05:57:18 +05:30
Arun Prakash Jana
8d83af811f
Fix #1369 : open target of symlinked bookmark
2022-05-28 05:54:55 +05:30
Dan Baz
ef5d90f4bb
Fix a broken link in CONTRIBUTING.md
2022-05-28 00:17:15 +00:00
Arun Prakash Jana
ec076f5886
FIx alignment
2022-05-26 02:36:59 +05:30
Arun
81f96ecc1e
Merge pull request #1366 from jarun/preview-tui-kitty
...
Improve preview-tui kitty documentation
2022-05-23 21:14:36 +05:30
luukvbaal
ed7afd2dd1
Improve preview-tui kitty documentation
2022-05-23 17:25:19 +02:00
Arun
ab8505efa4
Merge pull request #1364 from cain-dev/patch-1
...
Reference dependency needed for kitty preview
2022-05-14 06:36:07 +05:30
cain-dev
b3f16e7671
Reference dependency needed for kitty preview
2022-05-13 16:41:42 -03:00
Arun Prakash Jana
f6783c2065
Emoji changes
2022-05-13 04:44:27 +05:30
Arun
a3fbda02d7
Merge pull request #1363 from N-R-K/alloc_check
...
check for some alloc failures
2022-05-12 18:05:53 +05:30
NRK
ba72fca69a
check for some alloc failures
2022-05-12 18:26:48 +06:00
Arun
e1e47f909f
Merge pull request #1361 from N-R-K/headers_makefile
...
add headers as make dependancy
2022-05-12 16:36:11 +05:30
NRK
6f332e5260
add headers as make dependancy
2022-05-12 00:32:10 +06:00
Arun Prakash Jana
c23125ba50
Change some emojis
2022-05-11 21:40:23 +05:30
Arun Prakash Jana
0a67c5d657
Use correct Emojis for arrows
2022-05-11 01:54:54 +05:30
Arun Prakash Jana
af94c7704f
Remove redundant Emojis
2022-05-11 00:56:25 +05:30
Desmond Kabus
b45be9bc5b
Add build option EMOJI for Unicode emoji as file icons
2022-05-10 20:31:11 +05:30
Arun Prakash Jana
18a6a010cf
Fix #1355 : interpret suffix `$nnn` when paging
2022-05-10 19:46:19 +05:30
Patrick
4ddd048feb
.cbcp plugin: output a more useful error message
2022-04-30 14:44:11 +05:30
Arun Prakash Jana
fd998b3045
Post-release formalities.
2022-04-26 19:03:04 +05:30
Arun Prakash Jana
3f58f6111c
Prepare for release v4.5 Cachaça
2022-04-26 18:34:24 +05:30
Arun
4366247441
Merge pull request #1347 from luukvbaal/patches
...
Fix patch conflicts and rebase
2022-04-26 18:33:05 +05:30
Luuk van Baal
7793cb8b5c
Fix patch conflicts and rebase
2022-04-26 14:54:27 +02:00
Arun Prakash Jana
cc965d1c2d
Use bold forward arrowhead for current
2022-04-26 04:26:01 +05:30
Arun Prakash Jana
dc16ca2340
Add 2 spaces after icons for better visibility
2022-04-26 03:59:12 +05:30
Arun Prakash Jana
6b9f8f3666
Fix #1345 : allow symlink name '@' in single file case
2022-04-20 20:20:25 +05:30
Arun
15243186c5
Merge pull request #1344 from SlIdE42/patch-1
...
quitcd script for Elvish shell > 0.17.0
2022-04-17 17:05:26 +05:30
SlIdE42
0812c7afac
quitcd script for Elvish shell > 0.17.0
2022-04-17 13:29:51 +02:00
Arun Prakash Jana
be4460c1da
Handle broken window if started in type-to-nav
2022-04-16 18:48:52 +05:30
Arun Prakash Jana
eb42f7a948
Bind ^J with toggle auto-jump on open
2022-04-16 18:04:09 +05:30
Arun Prakash Jana
2c5cb4c5aa
Replace ^J with + to (un)select
...
^J has been reported as out of place several times.
As `+` is used as the seleciton marker, it makes more sense.
2022-04-16 17:04:53 +05:30
Arun
a555a7d122
Merge pull request #1342 from N-R-K/use_elements
...
consistently use ELEMENTS macro
2022-04-14 06:26:16 +05:30
NRK
d0bf2abb37
consistently use ELEMENTS macro
...
+ some small white-space fixes
2022-04-12 22:30:22 +06:00
Arun
59cf883437
Merge pull request #1338 from JingMatrix/fix-gsconnect
...
Allow gsconnect to handle multiple devices
2022-04-09 16:56:30 +05:30
JingMatrix
5bc75ef4fd
Allow gsconnect to handle multiple devices
...
When gsconnect is connected to multiple devices, the original
script won't work. Now the code will share files to all devices.
2022-04-09 11:42:31 +02:00
Arun
bb875cd5e7
Merge pull request #1337 from pcapriotti/pcapriotti/quit-on-cd-docs
...
Clarify docs in the quit-on-cd wrapper
2022-04-07 06:26:12 +05:30
Paolo Capriotti
4220f4e2eb
Clarify docs in the quit-on-cd wrapper
2022-04-06 17:28:12 +02:00
Arun Prakash Jana
d66492ac10
Show reverse timestamp for young entries
...
Show timestamps for entries modified/created within 5 minutes in
reverse.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2022-04-02 10:15:14 +05:30
Arun Prakash Jana
88e9122c79
opener improvements
...
- show file name
- open hovered if none selected
- open and exit if only one file selected
- code improvements
2022-04-01 09:00:51 +05:30
Arun Prakash Jana
5745597fd5
Fix #1333 : plugin openall to open selection
2022-03-31 19:29:30 +05:30
Arun
0a7742089a
Merge pull request #1331 from JingMatrix/master
...
Preview for djvu files
2022-03-26 04:02:44 +05:30
JingMatrix
0a59005acd
Preview for djvu files
2022-03-25 17:21:11 +01:00
Arun
81226db24e
Merge pull request #1330 from N-R-K/prompt_clearsel
...
native prompt: clear selection on successful operation
2022-03-24 03:05:47 +05:30
NRK
72ecf6c4b8
native prompt: clear selection on successful operation
...
have been using the %j substitution for a bit now, it's quite nice :)
but it's also quite annoying when doing something like
mv "%j" ./
in this case, the files have been moved but the selection is incorrectly
points to them.
when there's a successful operation made on the selection via the native
prompt, it makes sense to clear the selection.
2022-03-24 00:23:38 +06:00
Arun
675016eb55
Merge pull request #1329 from N-R-K/avoid_malloc
...
avoid unnessary heap allocation
2022-03-23 21:03:31 +05:30
NRK
9be6c1a5e2
avoid unnessary heap allocation
...
the binary size shouldn't change since it'll most likely go into the bss
section.
2022-03-22 17:50:54 +06:00
Arun Prakash Jana
d38841d5f3
Support n/N to cancel forced rm
2022-03-13 12:37:50 +05:30
Arun
136549b1ba
Merge pull request #1321 from N-R-K/preview_tui_debug
...
preview-tui: make debugging easier
2022-03-10 22:52:46 +05:30
NRK
c3534bd7e0
preview-tui: make debugging easier
...
i've noticed that there's a non-trival amount of issues user face
related to preview-tui. allowing all the null redirection to be easily
switched on/off can make debugging much easier, both for the users and
for us.
2022-03-09 01:48:13 +06:00
Arun Prakash Jana
57d212c3ca
Fix entry order
2022-02-27 02:06:24 +05:30
Arun Prakash Jana
66639c6053
Fix #1312
2022-02-27 01:44:30 +05:30
Arun
b718d6d305
Merge pull request #1314 from Darukutsu/master
...
Added a user-script/plugin to send selected files using GSConnect.
2022-02-23 21:11:22 +05:30
Arun
994bc80e82
Merge pull request #1315 from N-R-K/include-hidden
...
export NNN_INCLUDE_HIDDEN to plugins
2022-02-23 21:08:12 +05:30
daru
633a9ca8e1
Update plugins/gsconnect
...
Co-authored-by: N-R-K <79544946+N-R-K@users.noreply.github.com>
2022-02-22 22:19:44 +06:00
daru
d1de515532
Update plugins/gsconnect
...
Co-authored-by: N-R-K <79544946+N-R-K@users.noreply.github.com>
2022-02-22 22:19:44 +06:00
Darukutsu
cd2445607b
workaround with xargs -0
...
added hover over file to send
2022-02-22 22:19:44 +06:00
Darukutsu
83b6d6aff7
Added a user-script/plugin to send selected files using GSConnect.
2022-02-22 22:19:44 +06:00
NRK
2fedc92efc
export NNN_INCLUDE_HIDDEN to plugins
...
Closes: https://github.com/jarun/nnn/issues/1308
2022-02-22 17:40:44 +06:00
Arun Prakash Jana
953643b9f1
Fix condition
2022-02-21 02:01:03 +05:30
Arun
816680ed01
Merge pull request #1313 from N-R-K/dragon_name
...
dragdrop: use "dragon-drop" if it exists
2022-02-20 14:22:34 +05:30
NRK
a8e9d279ac
dragdrop: use "dragon-drop" if it exists
...
to avoid name conflict some distros renamed dragon to `dragon-drop`
https://github.com/mwh/dragon/issues/17#issuecomment-889878960
2022-02-20 14:41:37 +06:00
Arun
cb410e25d8
Merge pull request #1307 from N-R-K/fd_leak
...
don't leak inotify_fd to plugins
2022-02-15 19:48:53 +05:30
NRK
799b8fd378
don't leak inotify_fd to plugins
...
Closes: https://github.com/jarun/nnn/issues/1291
Co-authored-by: Daniel Eklöf <daniel@ekloef.se>
2022-02-15 19:05:58 +06:00
Arun
30bd6a4e33
Merge pull request #1306 from KlzXS/nmv_trash
...
Respect NNN_TRASH in .nmv
2022-02-14 07:17:49 +05:30
KlzXS
184f134c9e
Respect NNN_TRASH in .nmv
2022-02-13 10:37:21 +01:00
Arun Prakash Jana
23b54ba0cf
Open previous active context on context quit
2022-02-06 00:23:45 +05:30
Arun
866612bfda
Merge pull request #1302 from N-R-K/makefile_rebuild
...
rebuild if Makefile changes
2022-02-04 08:57:40 +05:30
NRK
ff1c1eb2e1
rebuild if Makefile changes
2022-02-03 22:20:55 +06:00
Arun
fbb2172627
Merge pull request #1300 from N-R-K/rsynccp_fix
...
[rsynccp & fzcd]: avoid using non-portable xargs flag
2022-02-01 18:28:41 +05:30
NRK
24db74fd7b
fzcd: avoid using non-portable xargs flag
2022-02-01 18:00:20 +06:00
NRK
ffd0468f67
rsynccp: avoid using non-portable flags
...
Closes: https://github.com/jarun/nnn/issues/1299
2022-02-01 16:29:40 +06:00
Arun Prakash Jana
e67587204b
Update ToDo list link
2022-01-23 20:55:16 +05:30
Arun Prakash Jana
aa2147f3ef
make option O_NOSORT to disable sort on dir load
2022-01-23 10:52:33 +05:30
Arun Prakash Jana
e140e34483
Disable filterinfo if file details enabled
2022-01-22 21:06:57 +05:30
Arun Prakash Jana
fe4ea8a029
Update copyright date
2022-01-22 16:02:51 +05:30
Arun
bfa2d4fce5
Merge pull request #1289 from luukvbaal/preview-tui
...
Preview-tui support windows terminal split
2022-01-18 00:22:11 +05:30
Luuk van Baal
ecad3e0524
Preview-tui support windows terminal split
...
Co-authored-by: WanderLanz
2022-01-17 14:20:27 +01:00
Arun
b8b0bab426
Merge pull request #1288 from Anomalocaridid/fix-nuke-imv
...
add support for imv when named imv in nuke
2022-01-09 16:16:37 +05:30
Arun
9c6ce560f1
Merge pull request #1287 from lawnowner/master
...
Remove trailing blanks to assure .desktop suffix for xdg-mime.
2022-01-09 16:15:52 +05:30
Anomalocaridid
efa960d022
add support for imv when named imv in nuke
2022-01-08 16:21:49 -05:00
lwnctd
49aa4dabf1
Remove trailing blanks to assure .desktop suffix for xdg-mime.
2022-01-08 05:34:20 +03:00
Arun
2eadf35fa0
Merge pull request #1277 from N-R-K/webp_icon
...
add webp icon
2021-12-26 17:33:46 +05:30
NRK
04181084c0
add webp icon
2021-12-26 14:43:18 +06:00
Arun
dcf3a35cd5
Merge pull request #1276 from N-R-K/bookmark_doc
...
add bookmark section to the manpage
2021-12-26 11:56:53 +05:30
NRK
e2b856904d
add bookmark section to the manpage
2021-12-26 11:07:18 +06:00
Arun Prakash Jana
693df568e0
Document symlinked bookmarks in the manpage
2021-12-26 09:58:34 +05:30
Arun
3368a7905b
Merge pull request #1275 from N-R-K/pedantic_cleanups
...
Pedantic cleanups
2021-12-25 22:36:13 +05:30
NRK
02d6feb9b9
check bound before making access
2021-12-25 12:47:48 +06:00
NRK
1608c8763f
avoid having function with unspecified arguments
2021-12-25 12:47:33 +06:00
NRK
78c0d54400
avoid doing arithmetic on void pointer
2021-12-25 12:47:24 +06:00
Arun
e44f8d3fcc
Merge pull request #1270 from N-R-K/doc_improvement
...
Make the manpage more clear
2021-12-25 08:17:45 +05:30
Arun
282266705e
Merge branch 'master' into doc_improvement
2021-12-25 08:17:34 +05:30
Patrick
fe0608116a
introduce new plugin for jumping git root
2021-12-25 08:13:43 +05:30
Arun Prakash Jana
0fb7a25612
Use terms consistent with man page in docs
2021-12-25 08:13:41 +05:30
Arun Prakash Jana
b69f838fb8
Update bug report template
2021-12-25 08:13:40 +05:30
Luuk van Baal
beafeaaea2
Preview-tui fix gif conversion
2021-12-25 08:13:40 +05:30
Luuk van Baal
a3d660b673
Preview-tui fix gif whitespace name
2021-12-25 08:13:39 +05:30
NRK
ac86fbed0f
add icon for opus files
2021-12-25 08:13:39 +05:30
Luuk van Baal
48bcc929e8
Restorepreview when launching subshell
2021-12-25 08:13:39 +05:30
Luuk van Baal
06bf4f5dce
Replace restorepreview workaround
2021-12-25 08:13:38 +05:30
KlzXS
3be2dd8390
Remove -E from sed in plugins
2021-12-25 08:13:35 +05:30
NRK
ce58aab6b2
slight reword
2021-12-25 08:39:29 +06:00
NRK
62f1004836
upadte the source code according to the docs
2021-12-25 08:37:28 +06:00
NRK
d215a9c61d
-A doc: change auto-select to auto-enter
2021-12-25 08:35:23 +06:00
NRK
c234c05b3d
clarify '+' keybinding in type-to-nav mode
2021-12-25 08:35:23 +06:00
NRK
f7298efa99
reword 'select' -> 'selection'
2021-12-25 08:35:23 +06:00
NRK
9a26739132
fix plugin requirement
2021-12-25 08:35:23 +06:00
NRK
23edf571a7
make the manpage more clear
...
some of the terms used in the manpage aren't exactly obvious, especially
to a new user. this is an attempt at making the manual more clear and
remove any potential confusion.
here's a couple issues i've noticed where users were confused due to non
clear manpage description:
https://github.com/jarun/nnn/issues/1268
https://github.com/jarun/nnn/issues/1269
https://github.com/jarun/nnn/issues/1209
2021-12-25 08:35:23 +06:00
Arun Prakash Jana
892e4c0082
Use terms consistent with man page in docs
2021-12-25 08:02:27 +05:30
Arun Prakash Jana
bd6e7e8147
Update bug report template
2021-12-20 11:56:54 +05:30
Arun
ecfe819a73
Merge pull request #1267 from luukvbaal/preview-tui
...
Preview-tui fix gif conversion
2021-12-20 10:16:23 +05:30
Luuk van Baal
b851b58e83
Preview-tui fix gif conversion
2021-12-20 02:39:10 +01:00
Arun
2c31615256
Merge pull request #1263 from luukvbaal/preview-tui
...
Preview-tui fix gif whitespace name
2021-12-19 03:13:25 +05:30
Luuk van Baal
95f709f86a
Preview-tui fix gif whitespace name
2021-12-18 22:34:24 +01:00
Arun
a1b15eb766
Merge pull request #1258 from N-R-K/opus_icon
...
add icon for opus files
2021-12-17 17:46:59 +05:30
Arun
48e478bb90
Merge pull request #1257 from luukvbaal/patches
...
Restorepreview patch improvements
2021-12-17 17:46:33 +05:30
Luuk van Baal
8ba43edffc
Restorepreview when launching subshell
2021-12-17 12:41:29 +01:00
NRK
7aef60a9d5
add icon for opus files
2021-12-15 00:45:58 +06:00
Luuk van Baal
e0c1ed273f
Replace restorepreview workaround
2021-12-14 17:16:56 +01:00
Arun
40b2250209
Merge pull request #1247 from KlzXS/posix_sed
...
Remove -E from sed in plugins
2021-11-28 06:45:30 +05:30
Arun
eb62775852
Merge pull request #1248 from yeetologist/master
...
Fix zsh auto-completion typo
2021-11-27 15:43:27 +05:30
yeetologist
c147414bc7
Fix zsh auto-completion typo
2021-11-27 11:57:45 +07:00
Arun Prakash Jana
1e8b8d14ff
Remove redundant line
2021-11-27 09:48:21 +05:30
KlzXS
8f2e17303e
Remove -E from sed in plugins
2021-11-26 10:33:11 +01:00
Arun
1bc234b0eb
Merge pull request #1244 from N-R-K/malloc_size
...
fix the malloc size in get_archive_cmd
2021-11-24 22:48:02 +05:30
NRK
bd8faa2dd8
use patterns[] for archive command string
2021-11-24 22:34:22 +06:00
NRK
578e6d1aaa
use a macro for the format string
...
this makes things slightly more robust as changing the string inside the
macro would automatically change the malloc size.
2021-11-24 22:06:05 +06:00
NRK
f7091f78e5
fix the malloc size in get_archive_cmd
...
since the tr hack was removed in deead97
, the format string is no longer
70 chars. also removes unnecessary malloc casting.
2021-11-24 21:53:11 +06:00
Arun
c87b67e073
Merge pull request #1243 from omar-polo/sed-misc
...
misc sed tweaks
2021-11-24 18:25:13 +05:30
Omar Polo
fb3d3ab0ef
define SED only if not already defined
...
This allows packagers to set a custom path for sed (gsed may be simply
called `gsed' or `gnu-sed' or ...)
2021-11-24 11:44:50 +01:00
Omar Polo
deead97e23
drop unnecessary ifdef __linux__
...
since nnn requires gsed anyway, why don't use it?
Probably forgot in #1210
2021-11-24 11:40:59 +01:00
Arun Prakash Jana
8ec2fe7f81
Set Haiku variety to dev
2021-11-23 18:58:43 +05:30
Arun Prakash Jana
65eddfe7b9
Prepare for release v4.4 Tequila
2021-11-23 18:33:45 +05:30
Arun
2f986253e4
Merge pull request #1241 from luukvbaal/master
...
Guard open_with getreadline for picker
2021-11-23 18:17:13 +05:30
Luuk van Baal
1a6d54515b
Guard open_with getreadline with for picker
...
fix luukvbaal/nnn.nvim#25
2021-11-23 13:11:42 +01:00
Arun
256f0d008f
Merge pull request #1240 from KlzXS/percent_j
...
Enforce %J only at the end of command
2021-11-16 22:38:32 +05:30
KlzXS
ca9b5e04c7
Enforce %J only at the end of command
...
Also removes double shell
2021-11-16 00:44:44 +01:00
Arun
f3df0816d9
Merge pull request #1239 from tonijarjour/patch-1
...
n/sxiv play gifs automatically from tabbed
2021-11-15 19:06:54 +05:30
Toni Jarjour
8755a3c0cf
n/sxiv play gifs automatically from tabbed
2021-11-14 20:56:32 -05:00
Arun Prakash Jana
f66183937d
More frequent interrupt handling during du
...
The check is done when traversing directories in preorder i.e before the files
inside are enumerated. Postorder traversal is unwinding, so mostly we are done
with the calculation and finishing off the thread.
2021-11-15 01:11:46 +05:30
Arun
6178be7e06
Merge pull request #1235 from luukvbaal/preview-tui
...
Preview-tui pass pts device in env variable
2021-11-13 01:00:26 +05:30
Luuk van Baal
84bfbcf4e7
Preview-tui pass pts device in env variable
2021-11-12 13:57:27 +01:00
Arun
9cb0a13ffe
Merge pull request #1234 from luukvbaal/preview-tui
...
Preview-tui ensure pts device for tput in subshell
2021-11-12 07:59:10 +05:30
Luuk van Baal
e94f90c89a
Preview-tui ensure pts device for tput in subshell
2021-11-11 17:35:10 +01:00
Arun
8b7feff4b6
Merge pull request #1232 from KlzXS/nmv_list_env
...
Env variable should be not set, not set to 0
2021-11-11 06:06:37 +05:30
Arun
bd7f127ad9
Merge pull request #1231 from luukvbaal/preview-tui
...
Preview-tui workaround for ncurses tput regression
2021-11-11 06:05:35 +05:30
Arun
fec0479da3
Merge pull request #1230 from N-R-K/nsxiv_support
...
add nsxiv support to nuke, preview-tabbed and imgview
2021-11-11 06:00:23 +05:30
KlzXS
875a4d8c23
-n exists for a reason
2021-11-10 21:56:51 +01:00
KlzXS
a300e3267f
Env variable should be not set, not set to 0
2021-11-10 21:51:05 +01:00
Luuk van Baal
0d657b47b9
Preview-tui workaround for ncurses tput regression
2021-11-10 19:22:41 +01:00
NRK
39a3cc5309
add nsxiv support to nuke, preview-tabbed and imgview
...
`nuke` and `preview-tabbed` works as expected. I would assume `imgview`
should work as expected as well since `nsxiv` (at the moment at least)
is a drop-in replacement for sxiv, but I haven't tested it.
Closes: https://github.com/jarun/nnn/issues/1229
2021-11-10 22:46:45 +06:00
Arun
c9b9c14481
Merge pull request #1227 from luukvbaal/patches
...
Fix restorepreview patch conflict
2021-11-09 15:35:01 +00:00
Arun
182ac51b8d
Merge pull request #1226 from luukvbaal/preview-tui
...
Proper fix for preview-tui zombie-pane
2021-11-09 15:34:28 +00:00
Luuk van Baal
66dfa60465
Fix restorepreview patch conflict
2021-11-09 14:52:45 +01:00
Luuk van Baal
26f380f154
Proper fix for preview-tui zombie-pane
2021-11-09 14:33:52 +01:00
KlzXS
48415c5e1c
Revert "malloc() mem those persist through program runtime"
...
This reverts commit b84ad2d552
.
2021-11-08 15:08:12 +01:00
Arun
1508874b5a
Merge pull request #1224 from KlzXS/nmv_list_current
...
Updated .nmv to support current when NNN_LIST
2021-11-08 13:34:39 +00:00
Arun
e686b94f7e
Merge pull request #1223 from akrifari/fix-invisible-description
...
Fix invisible description
2021-11-08 13:33:20 +00:00
KlzXS
22096ee0cd
Updated .nmv to support current when NNN_LIST
...
NNN_LIST now should pass listroo
2021-11-07 22:08:43 +01:00
Krisan Alifari
eff4bd6e67
Fix invisible description
2021-11-07 13:00:06 +07:00
Arun
f854b3c748
Merge pull request #1220 from luukvbaal/patches
...
Add nerd icons to gitstatus patch
2021-11-06 06:12:13 +05:30
Luuk van Baal
1621c0303b
Add nerd icons to gitstatus patch
2021-11-05 17:01:56 +01:00
Arun Prakash Jana
b84ad2d552
malloc() mem those persist through program runtime
...
At exit, the OS should reclaim all the memory, so no explicit free() required.
2021-11-05 07:59:40 +05:30
Arun Prakash Jana
07a47db8fe
Update ToDO list link
2021-11-04 20:50:32 +05:30
Arun Prakash Jana
e2c4445d74
Fix build break
2021-11-03 09:01:26 +05:30
KlzXS
eb769c0de5
Resolve symlinks one level for .nmv when in list mode
2021-11-03 08:37:08 +05:30
Terminator X
b56e488f1c
Merge pull request #1217 from N-R-K/nuke
...
nuke: port sxiv-rifle performance improvement over
2021-11-02 10:16:17 +05:30
NRK
5e6c62cd8e
nuke: port sxiv-rifle performance improvement over
...
this commit is mostly porting over some recent performance improvements
from `sxiv-rifle`: https://github.com/ranger/ranger/pull/2411
there's one "bug-fix" in this commit. currently a file named "afilejpeg"
would be matched due to the `-iregex` in listimages. this commit changes
that so only extensions would match, so for example "afile.jpeg" would
match but not "afilejpeg".
As for performance, there's a couple things this commit does:
* store the result of listimages into a tmp file instead of calling that
function twice, this is probably the biggest performance improvement.
especially when loading large directories.
* abspath now sets the var abs_target instead of calling printf. since
abspath is only called from load_dir, we can go one step further and
inline it. but i haven't done that since the function might be useful
later on.
* avoid call to dirname and use parameter subsitution instead inside
`listimages`
* use grep instead of `-iregex`, it's POSIX compliant and can be faster.
i've tested this out with sxiv and everything seems to be working as
expected.
2021-11-02 10:13:45 +06:00
Terminator X
b5f5b2f55c
Merge pull request #1216 from CantoroMC/master
...
[icons nerdfont] added gpg icon
2021-11-01 17:34:59 +05:30
Marco Cantoro
da03016c79
[icons nerdfont] added gpg icon
2021-11-01 11:39:33 +01:00
Terminator X
bcae254ff2
Merge pull request #1215 from N-R-K/fzopen_fix
...
plugin: fzopen: print full path for picker mode
2021-11-01 13:53:48 +05:30
NRK
65ae3abc24
quickfix
2021-11-01 14:15:49 +06:00
NRK
d2dff487e0
use $PWD
2021-11-01 14:13:21 +06:00
NRK
afb7a6e9c1
check if $entry is fullpath or not
2021-11-01 14:05:18 +06:00
NRK
a47376ee04
plugin: fzopen: print full path for picker mode
...
Closes: https://github.com/mcchrish/nnn.vim/issues/133
2021-11-01 13:28:49 +06:00
Arun Prakash Jana
bdbd182c65
Handle plugin selection early
2021-11-01 12:54:47 +05:30
Arun Prakash Jana
cffcd655e9
Minor code refactor
2021-10-30 12:26:31 +05:30
Arun Prakash Jana
2a87694e6a
Do not reorder pre-ordered directory on refresh
2021-10-30 12:07:45 +05:30
Arun Prakash Jana
473cd271b5
Position cursor in correct place for long names
2021-10-29 21:27:02 +05:30
Arun Prakash Jana
8efcc24e0e
Fix #1213 : scroll long strings in prompts
2021-10-29 19:41:56 +05:30
Arun Prakash Jana
aa8baa3d91
Update docs
2021-10-29 05:23:14 +05:30
Avimitin
254fd9b7a3
patch/docs: correct the git status build flag ( #1212 )
...
The git status build flag is missing a letter 'T'.
Signed-off-by: Avimitin <avimitin@gmail.com>
2021-10-28 14:11:49 +02:00
Terminator X
684a8c7b99
Merge pull request #1210 from alexDarcy/master
...
FreeBSD: use gsed instead of sed
2021-10-28 16:06:49 +05:30
Alexis Praga
e3e4159e11
BSDs and Solaris: use gsed instead of sed
2021-10-28 11:38:35 +02:00
Arun Prakash Jana
856896f55d
Update comment
2021-10-27 03:57:23 +05:30
Terminator X
b72090c9a3
Merge pull request #1208 from luukvbaal/preview-tui
...
Fix preview-tui without -a
2021-10-23 19:24:57 +05:30
Arun Prakash Jana
4d864d438f
Update help
2021-10-23 19:21:22 +05:30
Luuk van Baal
de017b7aa2
Fix preview-tui without -a
2021-10-23 15:50:29 +02:00
Arun Prakash Jana
f4f78276e2
Disable verbose xargs, change nativ eprompt to "nnn]"
2021-10-23 03:47:53 +05:30
Terminator X
b411dfe1ba
Merge pull request #1202 from KlzXS/cmd_selection
...
Added %s and %S for using selection in shell
2021-10-23 03:01:07 +05:30
KlzXS
7857b7bc5a
Fix off-by-one
2021-10-22 21:06:26 +02:00
KlzXS
1022340aa1
Revert searching for a leading space
...
%j and %J will be replaced by a file path. File paths should be quoted to ensure proper interpretation by the shell
2021-10-22 20:28:33 +02:00
KlzXS
73ef170da7
Replace %s and %S with %j and %J
...
Those two conversions aren't used by any printf and scanf functions so there will no longer be any erroneous rewrites
Style fixes
2021-10-22 19:58:50 +02:00
Terminator X
0c0afd4799
Merge pull request #1207 from luukvbaal/master
...
Clear selection for send_to_explorer
2021-10-22 22:04:49 +05:30
Luuk van Baal
fa9067afd4
Clear selection for send_to_explorer
2021-10-22 18:26:45 +02:00
Arun Prakash Jana
cb5aefa59a
Remove option -w: always place HW cursor on current entry
2021-10-22 06:45:42 +05:30
Arun Prakash Jana
00c73512b9
Revert "fix: no mouse support inside vim terminal"
...
This reverts commit dd7c13dd77
.
Single/double mouse click breaks on xfce4-terminal and xterm on Ubuntu 20.04
2021-10-22 00:30:11 +05:30
Luuk van Baal
2801832c4d
Selection and mouse support for explorer/picker
2021-10-21 23:58:35 +05:30
Terminator X
5f76b69c36
Merge pull request #1204 from N-R-K/mouse_ev
...
fix: no mouse support inside vim terminal
2021-10-21 18:23:57 +05:30
NRK
dd7c13dd77
fix: no mouse support inside vim terminal
...
we need to signal mouse event by printing these escape codes. the X10
escape code seems to be legacy format only used as fallback incase SGR
extended coordinates aren't supported.
2021-10-21 18:21:59 +06:00
Terminator X
f3e027c283
Merge pull request #1203 from luukvbaal/patches
...
Resolve gitstatus patch conflict
2021-10-21 17:11:14 +05:30
Luuk van Baal
a0fcd78df2
Resolve gitstatus patch conflict
2021-10-21 13:39:09 +02:00
KlzXS
bc69c968be
Added %s and %S for using selection in shell
2021-10-20 19:28:15 +02:00
Arun Prakash Jana
53fbab1f44
Prefer inline for single liner
2021-10-20 20:29:15 +05:30
Arun Prakash Jana
24b71bcf1f
Picker mode: don't pick on Enter if selection exists
2021-10-19 18:50:11 +05:30
Arun Prakash Jana
12fa5344cf
Fix #1201 : accept link name for single target
...
When creating new sym/hard link, accept link name if
the current file is being linked or 1 file selected.
2021-10-19 15:35:57 +05:30
Arun Prakash Jana
d5d559ae7f
Update docs
2021-10-19 00:44:33 +05:30
Arun Prakash Jana
acfec62a13
Add example to copy image to clipboard ( #1199 )
2021-10-18 02:49:36 +05:30
Terminator X
4dc70f4a3f
Merge pull request #1198 from stelgenhof/master
...
Add 'font' mime-type registry check for preview-tui plugin
2021-10-17 17:51:29 +05:30
Arun Prakash Jana
a06ff83c22
Add option -i to show file information on hover
2021-10-17 12:01:01 +05:30
Sacha Telgenhof
44b983f71e
Added the media registry 'font' for mime types part of it.
...
Signed-off-by: Sacha Telgenhof <me@sachatelgenhof.com>
2021-10-17 14:34:09 +09:00
Arun Prakash Jana
9c36f0df34
Get rid of clearinfoln()
2021-10-17 05:00:35 +05:30
Arun Prakash Jana
3490a959be
make var O_FILEINFO to show file info on hover
2021-10-16 22:48:01 +05:30
Arun Prakash Jana
c611720cba
Update version
2021-10-15 12:45:58 +05:30
Arun Prakash Jana
be549f330a
Update docs
2021-10-15 03:05:21 +05:30
An Phung
e20cfd67a1
Support OSX iterm2 in preview-tui by using split pane ( #1196 )
2021-10-14 22:07:11 +02:00
Arun Prakash Jana
3091a6f240
Update link to ToDo list
2021-10-10 11:45:49 +05:30
Arun Prakash Jana
3acbc65adb
Fix build break
2021-10-09 19:37:45 +05:30
Terminator X
98585153cc
Merge pull request #1191 from luukvbaal/patches
...
Fix gitstatus regression and restorepreview conflict
2021-10-09 19:11:03 +05:30
Terminator X
57bae766ea
Merge pull request #1192 from jarun/luukvbaal-readme
...
Add nnn.nvim to README
2021-10-09 18:57:21 +05:30
luukvbaal
e9dbadd465
Add nnn.nvim to README
2021-10-09 14:40:22 +02:00
Luuk van Baal
17bf7c97f6
Fix gitstatus regression/restore preview conflict
2021-10-09 02:36:22 +02:00
Terminator X
1020f37320
Merge pull request #1190 from luukvbaal/sessionfix
...
Save session after browse()
2021-10-07 08:59:34 +05:30
Luuk van Baal
151312eb37
Save session after browse()
2021-10-07 02:57:55 +02:00
Terminator X
2435263052
Merge pull request #1186 from KlzXS/recursive_batch_rename
...
Added recursive capabilities to .nmv
2021-10-04 20:32:14 +05:30
Terminator X
831b434021
Merge pull request #1189 from luukvbaal/preview-tui
...
Remove preview-tui winch tmux workaround
2021-10-04 20:30:49 +05:30
Luuk van Baal
c48691fe3d
Change preview-tui winch workaround
2021-10-04 00:12:48 +02:00
KlzXS
b492dfd7ca
Added recursive capabilities to .nmv
2021-10-03 11:42:02 +02:00
Terminator X
fa7c19c409
Merge pull request #1183 from N-R-K/disable_e
...
Disable e on picker mode
2021-09-30 19:50:40 +05:30
NRK
8a1a5db92a
Disable e on picker mode
...
Mainly so that pressing 'e' due to muscle memory on nnn.vim doesn't nest
a new editor instance inside the embedded vim terminal.
However invoking nnn with picker mode implies that the intention is to
pick file(s), there shouldn't be any business trying to edit things on
the fly. And if editing a file while in picker mode is desirable, then
'l' can be used for that instead.
2021-09-30 19:54:22 +06:00
Arun Prakash Jana
7477bd15bb
Update docs
2021-09-30 07:26:40 +05:30
Arun Prakash Jana
74b779abc9
Update docs
2021-09-30 03:17:02 +05:30
Arun Prakash Jana
2f6c180433
Improve docs in cd on quit scripts
2021-09-29 19:16:58 +05:30
Arun Prakash Jana
79b3688e49
Revert Haiku rdef
2021-09-29 16:22:01 +05:30
Terminator X
d772223e1f
Merge pull request #1182 from luukvbaal/patches
...
Fix gitstatus and rebase patches
2021-09-29 15:43:43 +05:30
Luuk van Baal
541b936bcf
Fix gitstatus and rebase patches
2021-09-29 11:33:19 +02:00
Arun Prakash Jana
e74aa95e3f
Prepare for release v4.3 Martini
2021-09-29 14:37:45 +05:30
Arun Prakash Jana
fc86152fa2
Fix compilation warning
2021-09-29 14:28:16 +05:30
Terminator X
1723aeb470
Merge pull request #1180 from MaxGyver83/master
...
autojump plugin: Support jethrokuan/z (port of z for fish)
2021-09-27 05:38:12 +05:30
Max Schillinger
1c9ecd781c
Combine assignment of $_Z_DATA, $Z_DATA or $HOME/.z
...
Co-authored-by: luukvbaal <31730729+luukvbaal@users.noreply.github.com>
2021-09-26 23:17:51 +02:00
Max Schillinger
f39ee39a36
autojump plugin: Support jethrokuan/z (port of z for fish)
2021-09-26 21:54:01 +02:00
Arun Prakash Jana
046d676a73
Fix broken GUI cmd run as plugin case
2021-09-25 23:55:25 +05:30
Terminator X
f3e0f23718
Merge pull request #1177 from luukvbaal/preview-tui
...
Preview without convert
2021-09-24 17:54:41 +05:30
Luuk van Baal
07c8089eaf
Preview without convert
2021-09-24 12:12:13 +02:00
Terminator X
2c82c77a05
Merge pull request #1174 from luukvbaal/restorepreview
...
Improve restorepreview race conditions
2021-09-23 13:12:15 +05:30
Luuk van Baal
52d8aa0945
Improve restorepreview race conditions
2021-09-22 17:15:35 +02:00
Terminator X
a447c12866
Merge pull request #1173 from luukvbaal/previewpatch
...
Add restorepreview patch
2021-09-22 09:08:32 +05:30
Luuk van Baal
d96a7bc2b7
Add restorepreview patch
2021-09-22 04:13:57 +02:00
Arun Prakash Jana
ffe472ac32
Revert "Close previewer when opening file ( #1171 )"
...
This reverts commit 532532704e
.
2021-09-22 05:46:45 +05:30
CantoroMC
bfc493c753
Support for nerdfont sty,cls and bib(tex filetypes) ( #1169 )
...
I've extended the use of nerdfont icon for tex to other common tex extensions.
I don't know how to do the same for icons-in-terminal.
Additionally, since the list is growing I have alphabetize the list of common
icons, used in icons-nerdfont.h.
2021-09-21 10:23:18 +05:30
luukvbaal
532532704e
Close previewer when opening file ( #1171 )
2021-09-21 10:18:51 +05:30
CantoroMC
2a6cc41972
add provided but unused ruby icon ( #1167 )
2021-09-19 10:13:07 +05:30
Terminator X
5bf9b52beb
Update FUNDING.yml
2021-09-19 06:55:51 +05:30
Arun Prakash Jana
aea97cf3a7
More checks
2021-09-09 23:17:22 +05:30
Arun Prakash Jana
27e1eb54c4
Fix #1162 : run commands as plugin through shell
2021-09-09 19:38:41 +05:30
Arun Prakash Jana
e7aec90889
Add early check
2021-09-09 18:05:51 +05:30
Jakob Beckmann
7f84fbc8a0
Added theme support for bat in preview-tui plugin ( #1141 )
2021-09-09 18:02:06 +05:30
Arun Prakash Jana
9df7e5f03e
Reformat checks
2021-09-09 09:06:09 +05:30
Arun Prakash Jana
359d7bc29c
Directory-specific sort order
2021-09-09 01:46:22 +05:30
Arun Prakash Jana
fa7cef2df7
The shell interprets "$nnn" now
2021-09-05 18:19:30 +05:30
Assaf Ben-Amitai
d34741107a
fix jump cd to use seperate params ( #1156 )
2021-09-05 05:20:31 +05:30
Assaf Ben-Amitai
7de52ff890
plugin autojump: on jump - read entire line ( #1155 )
2021-09-05 02:01:41 +05:30
Arun Prakash Jana
51829c8027
Reformat copy current current file name
2021-09-04 08:06:29 +05:30
Arun Prakash Jana
49be2cfcd1
Fix #1153 : sync hidden on batch rename
2021-09-04 07:23:02 +05:30
Arun Prakash Jana
ab0ab2b5f4
Use a meaningful macro
2021-09-04 07:21:59 +05:30
Daniel Eklöf
0556ac14ec
[draft] signal CWD change to terminal via OSC-7 ( #1148 )
...
* Signal CWD change to terminal via OSC-7
Closes #1147
* Make OSC-7 emission gated by NOX11
* Use newpath variable in gethostname()
Use dynamic memory for hostname
2021-08-30 20:14:05 +05:30
Terminator X
64c2c68bd0
Merge pull request #1146 from luanrivello/patch-1
...
Fix kitty listen_on example
2021-08-29 20:16:40 +05:30
Luan Belem Rivello
f9cf6dad48
Fix kitty listen_on example
2021-08-28 20:14:35 -03:00
Arun Prakash Jana
c974690482
Fix build break
2021-08-25 20:14:55 +05:30
Arun Prakash Jana
742759f32d
Exports special variables before running plugins
2021-08-25 16:32:45 +05:30
Terminator X
ad968b88da
Merge pull request #1143 from joelazar/master
...
fix fzhist plugin - get fish_history from the right place
2021-08-25 16:25:20 +05:30
joelazar
dba6eeb431
fix fzhist plugin - get fish_history from the right place
2021-08-25 10:36:10 +02:00
Arun Prakash Jana
55fc0c500b
Retain original context hovered file when selecting from plugin dir
2021-08-25 01:32:40 +05:30
Arun Prakash Jana
a62dbf093a
Fix NULL file name handling
2021-08-25 00:47:52 +05:30
Arun Prakash Jana
900513710f
More special variables at prompt/shell
...
$dN: directory path open in context N
$fN: file path hovered in context N
2021-08-24 23:34:40 +05:30
Arun Prakash Jana
6243de06f4
Update help page logo
2021-08-23 11:02:53 +05:30
Arun Prakash Jana
e11cbc289a
Add a cool ASCII art to help screen
2021-08-23 04:38:54 +05:30
elder-n00b
e4813f06c1
MacOSX legacy ( #1138 )
...
* Branched v4.2
Added workaround for Mac OS X < 10.12.0
(Only tested on 10.11.6, lower versions may need more workaround)
* Added *.dSYM to .gitignore
* Added comments for the macosx detection in Makefile
* Fixed indentation, formatting and missing newline at eof
* Moved includes inside include guard
Co-authored-by: elder-n00b <elder-n00b@yandex.com>
2021-08-22 12:17:27 +05:30
Arun Prakash Jana
6c5eab5e55
Jump back last dir from plugin dir with -
2021-08-19 08:45:07 +05:30
luukvbaal
ad6b6bd3df
Icon changes .iconlookup ( #1136 )
2021-08-18 23:16:29 +05:30
CantoroMC
a65055fc32
change and add some icons-nerdfont ( #1135 )
2021-08-18 19:23:53 +05:30
Arun Prakash Jana
6c3a3dbc15
Update README
2021-08-18 00:27:09 +05:30
CantoroMC
43da9a9c46
icon for zsh, nix, and matlab files(nerdfonts), lua color to lua file ( #1132 )
...
* icon for nix and matlab files(nerdfonts), lua color to lua file
* Update .iconlookup
* Update icons-nerdfont.h
* Update icons.h
Co-authored-by: luukvbaal <31730729+luukvbaal@users.noreply.github.com>
2021-08-17 20:41:42 +02:00
Arun Prakash Jana
78ea6702f7
Key B to add bookmarks on the fly
2021-08-17 20:53:54 +05:30
Terminator X
0aed67f329
Merge pull request #1131 from luukvbaal/patchfix
...
Fix gitstatus pathspec errors
2021-08-17 17:49:34 +05:30
Luuk van Baal
82d1510213
Fix gitstatus pathspec errors
2021-08-17 14:01:24 +02:00
Arun Prakash Jana
983d689a05
Disable auto-marking
2021-08-17 15:06:09 +05:30
0xACE
9d4330e382
Decide string length at compile time ( #1130 )
...
I run into many premature optimizations in our codebase which are
unnecessary.
In this particular case `strlen()` is optimized at compile time even at
`-O0` with `gcc`.
I would value higher code quality than dealing with these things in our
future endeavours. If this is accepted I may supply some more
readability patches.
2021-08-17 10:26:33 +05:30
Arun Prakash Jana
86648ab391
Fix length
2021-08-17 01:03:28 +05:30
Arun Prakash Jana
46294e9f3d
Add bookmarks directory support
2021-08-16 20:16:56 +05:30
Terminator X
840fb75208
Merge pull request #1129 from luukvbaal/patchfix
...
Fix namefirst patch conflict
2021-08-16 18:39:03 +05:30
Luuk van Baal
b5750c9e38
Fix finder typo
2021-08-16 12:47:02 +02:00
Luuk van Baal
2b45c1be55
Fix patch conflict
2021-08-16 12:45:44 +02:00
Luuk van Baal
b7c6fede5f
Add finder history/bookmarks
2021-08-15 22:07:20 +05:30
Arun Prakash Jana
943a7c13ac
Fix broken statusbar when symlink name exceeds max cols
2021-08-15 22:07:18 +05:30
Arun Prakash Jana
7cbc79a5fc
Remove repetitive code
2021-08-14 19:27:24 +05:30
Arun Prakash Jana
0b07b77e85
Update Quickstart
2021-08-14 12:43:18 +05:30
Arun Prakash Jana
e4c1abb6b8
Save full filter in session to restore correctly
2021-08-12 23:15:15 +05:30
Arun Prakash Jana
bf2b8d8c84
Decouple statusbar redraw
2021-08-12 22:09:06 +05:30
Arun Prakash Jana
fc00faf7d0
Do not modify $PWD
2021-08-12 10:46:12 +05:30
Arun Prakash Jana
42061b0399
Fail operations if selection file is empty
2021-08-12 00:20:13 +05:30
Arun Prakash Jana
b2c99b9e4e
Update docs
2021-08-12 00:01:01 +05:30
Arun Prakash Jana
06e2676421
Sync operation on selection among nnn instances
2021-08-11 21:53:42 +05:30
Arun Prakash Jana
97ac88dec2
Try to get current dir from PWD first
2021-08-10 22:34:18 +05:30
Arun Prakash Jana
e146ad0d7a
Use a different function
2021-08-10 07:06:20 +05:30
Arun Prakash Jana
59d90aa2ce
Do not resolve symlinks in argument PATH
2021-08-10 06:48:21 +05:30
Arun Prakash Jana
1df63a78e4
Do not resolve symlinks in bookmarks
2021-08-09 01:13:54 +05:30
Arun Prakash Jana
db1efba256
Update ToDo list link
2021-08-08 20:19:46 +05:30
Arun Prakash Jana
49ee5b21e7
Do not end selection mode before prompt/shell
2021-08-08 20:15:20 +05:30
Arun Prakash Jana
62a0486480
Do not end selection mode before invoking plugin
2021-08-08 18:31:29 +05:30
Terminator X
2c32f24073
Merge pull request #1121 from sikmir/haiku
...
Update Haiku Makefile
2021-08-08 18:07:51 +05:30
Nikolay Korotkiy
f8aaf3b34c
Update Haiku Makefile
2021-08-08 15:32:39 +03:00
Arun Prakash Jana
7d17cf3f63
List open locations from active contexts in help
2021-08-07 23:55:51 +05:30
Arun Prakash Jana
87380732dc
make option O_MATCHFLTR to disable filters without match
2021-08-05 22:15:02 +05:30
Terminator X
1d5efa7074
Merge pull request #1119 from N-R-K/NOSSN
...
fix misleading comment in Makefile
2021-07-29 23:28:10 +05:30
NRK
5fcd3d1198
fix misleading comment in Makefile
...
reading the source code, setting NOSSN to 1 _disables_ session support,
not enable it.
2021-07-29 15:33:19 +06:00
Arun Prakash Jana
b54f771a44
Fix #1117 : Revert "Ignore filter key if no results"
...
This reverts commit 3ef50f06f8
.
2021-07-29 03:34:06 +05:30
Terminator X
23a806864f
Merge pull request #1118 from N-R-K/xdgdefault
...
xdgdefault: make dmenu case-insensitive, fix style
2021-07-28 14:33:49 +05:30
NRK
f3c29fe81a
xdgdefault: make dmenu case-insensitive, fix style
...
Most *.desktop entries have same name as their application name so this
is not an issue most of the time. However in the case of Neovim, the
application name is "Neovim" while the desktop entry is "nvim.desktop"
Since dmenu is case sensitive by default this means that searching
"neovim" will not show any results since the N is not capitalized and
the desktop entry name is "nvim"
fzf doesn't have this issue since its case-insensitive/fuzzy by
default. Making dmenu case-insensitive solves this.
Also fix the indentation to be consistent with the rest of the script.
2021-07-28 12:30:30 +06:00
Arun Prakash Jana
88e38f1efc
Eliminate redundant stat()
2021-07-27 23:04:23 +05:30
Arun Prakash Jana
6ba0a8357f
redraw() is heavy and distracting
2021-07-26 06:19:56 +05:30
Arun Prakash Jana
8cebc69e71
Fix build break
2021-07-25 07:20:43 +05:30
Arun Prakash Jana
f6856f61f7
Allow specifying output file in NNN_TMPFILE for cd on quit
2021-07-25 07:03:09 +05:30
Arun Prakash Jana
f1dbb9622d
Open controlling terminal only as stdin
2021-07-24 22:22:17 +05:30
Terminator X
0db988b9b2
Merge pull request #1114 from jcromero/patch-1
...
Fix wrong exclamation mark char description
2021-07-24 15:48:36 +05:30
jcromero
258a5846f7
Fix wrong exclamation mark char description
2021-07-24 11:54:27 +02:00
Arun Prakash Jana
d80fdf335b
Check if file is already selected before appending in picker mode
2021-07-24 01:51:20 +05:30
Arun Prakash Jana
e2545f9596
Truncate output file before writing in picker mode
2021-07-24 01:25:28 +05:30
Arun Prakash Jana
25fab4cb2e
Open controlling terminal for input when run in a script
2021-07-23 23:46:20 +05:30
N-R-K
3a98dfb0b0
xdgdefault plugin: add dmenu support ( #1112 )
...
* xdgdefault plugin: add dmenu support
use fzf if available. otherwise, if available, use dmenu.
should be possible to use rofi as well, but i don't use rofi nor do i
have it installed for testing.
* xdgdefault plugin: add GUI flag
* update xdgdefault requirement
2021-07-23 17:06:19 +05:30
Arun Prakash Jana
0150c69844
Update plugin docs
2021-07-22 20:11:07 +05:30
Arun Prakash Jana
b561772ada
Remove dated documentation
2021-07-21 23:43:59 +05:30
Arun Prakash Jana
ad163fb574
Revert variety in Haiku Makefile
2021-07-21 17:56:46 +05:30
Arun Prakash Jana
bc5b39d54c
Prepare for release v4.2 Mojito
2021-07-21 17:45:39 +05:30
Arun Prakash Jana
14663b964b
Add option to specify arguments to exec
2021-07-21 11:54:40 +05:30
Arun Prakash Jana
3f07a8ca76
Press TAB to insert current file name at prompt
2021-07-21 11:24:46 +05:30
Jonathan Rash
4b4355c733
Added execute fallback to nuke
2021-07-21 10:28:33 +05:30
Arun Prakash Jana
7b31a356d2
Minor update
2021-07-20 23:31:40 +05:30
Arun Prakash Jana
9972c4bdb0
Fix #1110 : sanitize path from plugin
2021-07-19 03:57:53 +05:30
Arun Prakash Jana
c470143113
Clear filter early before running plugin
2021-07-19 01:52:44 +05:30
Arun Prakash Jana
3b5800fc7a
Selection-specific scratch buffer
2021-07-18 11:45:50 +05:30
Arun Prakash Jana
29a7a25445
Free allocated memory
2021-07-18 02:51:09 +05:30
Arun Prakash Jana
6f14190e6d
Plugin suedit - preserve environment
2021-07-17 22:00:38 +05:30
Arun Prakash Jana
d54bc230f6
fzopen - add option to open files in nuke
2021-07-17 21:04:53 +05:30
Arun Prakash Jana
e31f71285d
Merge plugin fzz into autojump
2021-07-17 20:02:22 +05:30
Arun Prakash Jana
1e182a1fe5
Remember the last command executed at prompt
2021-07-17 16:30:45 +05:30
Arun Prakash Jana
f7aa4ed324
Add macro for prompt
2021-07-17 13:09:33 +05:30
Arun Prakash Jana
0ef34a930c
Use a simpler macro
2021-07-17 13:05:37 +05:30
Arun Prakash Jana
07b627a725
Fix unused variable warning
2021-07-17 04:46:35 +05:30
Arun Prakash Jana
a911b3044a
Code reformat
2021-07-16 21:19:17 +05:30
Arun Prakash Jana
26f44f0dfc
Fix selection in /
2021-07-16 11:09:20 +05:30
Arun Prakash Jana
fa0f9ddc93
Remove from selection when hovered entry is deleted
2021-07-16 04:44:01 +05:30
Arun Prakash Jana
3ef50f06f8
Ignore filter key if no results
2021-07-16 02:22:01 +05:30
Arun Prakash Jana
d40dbfd69a
Do not apply filter if directory is empty
2021-07-16 01:54:15 +05:30
Arun Prakash Jana
8af773eb0d
Allocate PATH_MAX aligned memory size
2021-07-16 01:19:09 +05:30
Arun Prakash Jana
8ad807d4a9
Optimize repeat copy of same prefix
2021-07-15 23:43:07 +05:30
Arun Prakash Jana
4ec87e3021
Optimize bulk selection
2021-07-15 21:21:54 +05:30
Arun Prakash Jana
0159c08602
Invert optimization: allocate in a go
2021-07-15 18:59:00 +05:30
Arun Prakash Jana
064f5ea998
Show msg for both invert and select all
2021-07-15 11:45:32 +05:30
Arun Prakash Jana
9526fb7612
Optimize invert further
2021-07-15 02:06:11 +05:30
Arun Prakash Jana
61d8a29d84
In-place invert optimization
2021-07-14 21:04:02 +05:30
Arun Prakash Jana
cef9bd289f
Update docs
2021-07-14 02:44:38 +05:30
Arun Prakash Jana
b3ef30a8ba
Update add to and invert selection logic
2021-07-13 21:46:18 +05:30
Arun Prakash Jana
96f2dfa8a5
Scan for selection status on redraw()
2021-07-13 01:30:23 +05:30
Arun Prakash Jana
60f310160a
Remove redundant macro
2021-07-12 02:54:00 +05:30
Arun Prakash Jana
baca4693ec
Remove redundant prompt
2021-07-12 01:22:39 +05:30
Terminator X
e94ac0b91b
Merge pull request #1106 from KlzXS/persistent_selection
...
Use selbufpos instead of selbuflen
2021-07-11 23:58:58 +05:30
KlzXS
b5d1a1b036
Use selbufpos instead of selbuflen
2021-07-11 20:16:28 +02:00
KlzXS
c0dceb18c6
Persistent selection ( #1086 )
...
* Add persistsel
* Fix Makefile spacing
* Update Haiku Makefile
* Do a double pass on inversion
* Split single and double pass for easier testing
Removed lastappendpos
Eliminate suffix matches
* Check if dir is in selection before searching for files
Fix double pass
* Switch to mainline
Optimize memory moving
Handle large selection in invertsel()
Going forward with 2pass
* Update Makefiles
* Fix style
* Move forward declarations
* Remove edit selection in inversion
Replace buf with g_buf to fix CI
Fix CI
* Style changes
* Comment the code
* Style fixes
* Fix infinite loop
* Fix crash on empty invert
* Fix off-by-one-in-two-places
Off-by-twice?
* Adopt changes from master
* Only check directory if entry in it is selected
* Better organization
* Wrong variable
* Tiny optimizations
* Style fixes and updated man page
* Update man page
* Remember where we found directory path in selection
Add in progress message on invert
2021-07-10 07:30:02 +05:30
Arun Prakash Jana
d9db6b045c
Fix #1102 : suppress clang unused variable warnings
2021-07-10 02:08:48 +05:30
Arun Prakash Jana
5f5ee10e94
Fix #1101 : confirm trashing files
2021-07-09 21:00:46 +05:30
Arun Prakash Jana
facdc5fdeb
Fix #1098 : clear selmode on last deselect
2021-07-06 23:25:49 +05:30
Piña Colada
1269dd2695
Merge pull request #1095 from luukvbaal/patches
...
Remove gitstatus libgit2 dependency
2021-07-06 17:48:25 +05:30
Luuk van Baal
ddf845be88
Remove gitstatus libgit2 dependency
2021-07-06 02:01:19 +02:00
Piña Colada
c482cf54f0
Merge pull request #1094 from jarun/preview-tui
...
Allow tmux inside kitty without KITTY_LISTEN_ON set
2021-07-05 22:29:03 +05:30
Luuk van Baal
4abced6142
Allow tmux inside kitty without KITTY_LISTEN_ON set
2021-07-05 15:40:18 +02:00
Piña Colada
77c16ac143
Merge pull request #1091 from luukvbaal/adjust_cols
...
Move adjust_cols and no else braces
2021-07-03 05:24:23 +05:30
Luuk van Baal
36ddbac10a
Move ajust cols and no else braces
2021-07-03 00:50:51 +02:00
Arun Prakash Jana
d4a4c72e00
Fix off_t to uint_t comparison warning
...
The man page says:
"blkcnt_t and off_t shall be signed integer types."
https://man7.org/linux/man-pages/man0/sys_types.h.0p.html
2021-07-02 20:34:02 +05:30
Piña Colada
a7aae40069
Merge pull request #1090 from luukvbaal/imgview
...
Imgview fix ucollage directory
2021-07-01 14:56:53 +05:30
Luuk van Baal
fe07ae35f2
Imgview fix ucollage directory
2021-07-01 11:24:49 +02:00
Piña Colada
a7603ba1f2
Merge pull request #1084 from luukvbaal/imgview
...
Imgview open hovered image and reuse NNN_PREVIEWDIR
2021-07-01 14:36:07 +05:30
Luuk van Baal
a199156cae
Imgview hovered image/thumbnail dir
2021-07-01 02:26:47 +02:00
Piña Colada
ce8b9fdb2f
Merge pull request #1088 from 1bman/1bman-patch-1
...
fix icons.h typo
2021-06-30 19:51:50 +05:30
1bman
99bd80137d
fix icons.h typo
...
fixed some typo
2021-06-30 14:25:01 +05:30
Piña Colada
2fda5c78e0
Merge pull request #1087 from KlzXS/debug
...
Fix debug line number
2021-06-29 23:59:30 +05:30
KlzXS
c39e54b288
Fix debug line number
2021-06-29 19:49:59 +02:00
Arun Prakash Jana
1729a10ef4
Try to unmount hovered local dir
2021-06-28 00:16:32 +05:30
Arun Prakash Jana
96fb61a6a2
Reformat help
2021-06-27 21:26:37 +05:30
Piña Colada
15b60a80ad
Merge pull request #1082 from tonijarjour/patch-1
...
Make sxiv play gifs automatically
2021-06-27 20:54:42 +05:30
Arun Prakash Jana
04a806dc09
Reformat help
2021-06-27 20:53:13 +05:30
Toni Jarjour
1607200a75
Make sxiv play gifs automatically
2021-06-27 11:11:39 -04:00
Arun Prakash Jana
63ef6d7340
Update docs
2021-06-25 23:57:28 +05:30
Arun Prakash Jana
73a175cc39
Update readme
2021-06-25 00:06:15 +05:30
Arun Prakash Jana
d1df9343c6
Remove redundant param
2021-06-23 23:42:10 +05:30
Arun Prakash Jana
e7f73d95ce
Fix memory leak
2021-06-22 20:51:23 +05:30
Arun Prakash Jana
eae60c3048
Simplify mkpath()
2021-06-22 20:27:07 +05:30
KlzXS
20e0c49292
Replace fd dependency with find ( #1078 )
2021-06-21 04:59:50 +05:30
Arun Prakash Jana
7ce5bbcdf7
Break long macros
2021-06-20 22:16:09 +05:30
Arun Prakash Jana
94c399e2cf
One notify FIFO mode at a time
2021-06-20 21:42:44 +05:30
Arun Prakash Jana
d9f988e7ed
Fix patch break
2021-06-20 21:25:22 +05:30
Arun Prakash Jana
983babc5f6
Improve alignment
2021-06-20 20:48:06 +05:30
Arun Prakash Jana
c597f3be9b
Add range check
2021-06-20 19:20:10 +05:30
Arun Prakash Jana
0e8819fea8
Fix alignments
2021-06-20 15:45:03 +05:30
Arun Prakash Jana
2ffb0f7c79
Fix patch break
2021-06-20 14:29:07 +05:30
Arun Prakash Jana
556941c2b2
Alphabetically order internal states
2021-06-20 14:23:13 +05:30
Arun Prakash Jana
4f297fa147
Shared previewer and explorer
2021-06-20 13:58:33 +05:30
Arun Prakash Jana
9f86015c16
Print version to stdout
2021-06-20 10:25:40 +05:30
Arun Prakash Jana
c0ed6d1d04
Fix compilation error when FIFO is disabled
2021-06-19 21:04:21 +05:30
Arun Prakash Jana
b626cfa00f
Use macro in all places
2021-06-19 20:36:16 +05:30
Arun Prakash Jana
3e91c2c977
Use easily identifiable type
2021-06-19 18:39:35 +05:30
Arun Prakash Jana
8f3785f2e5
Restore statusbar after unmounting remote/archive
2021-06-19 17:23:28 +05:30
Arun Prakash Jana
d5359f0455
Fix created archive not highlighted
2021-06-19 15:16:24 +05:30
Arun Prakash Jana
17bb0cfb52
Default to CWD for atool
2021-06-19 14:31:04 +05:30
Arun Prakash Jana
e8f0c53287
Do not open current dir in nez context when extracting archive
2021-06-19 13:00:50 +05:30
Arun Prakash Jana
96cbb4ff84
Fix #1076 : show file name in archive extract prompt
2021-06-19 11:21:42 +05:30
Arun Prakash Jana
35aa864554
Fix returns
2021-06-19 01:48:14 +05:30
Arun Prakash Jana
825effb264
Fix broken window due to double spawn
2021-06-18 20:44:44 +05:30
Michael Lan
b2e7f7794c
Refactor fifo code and add explorer ( #1075 )
...
* Refactor fifo code and add explorer
* add explorer option and flag
* notify explorer fifo on selection
* close explorer fifo file descriptor
* Try to create explorer fifo if doesn't exist
This doesn't quite work
* Allow uncreated fifos
* delete persistence fifo on cleanup
with correct formatting
Co-authored-by: luukvbaal <31730729+luukvbaal@users.noreply.github.com>
* Work correctly with NOFIFO
* Refactor variable names
* fix
* Use -X flag for explorer mode
* Update manpage with explorer mode
Co-authored-by: luukvbaal <31730729+luukvbaal@users.noreply.github.com>
2021-06-18 05:38:28 +05:30
luukvbaal
02b5b15001
Update gitstatus patch ( #1074 )
2021-06-18 05:02:44 +05:30
Arun Prakash Jana
640a56e1cc
sigwinch test
2021-06-18 04:36:28 +05:30
Arun Prakash Jana
239c7e7970
Revert "Remove redundant old state handlers"
...
This reverts commit 1590103ab7
.
2021-06-17 00:31:26 +05:30
Arun Prakash Jana
0b99247774
Update docs
2021-06-16 23:44:24 +05:30
Arun Prakash Jana
1590103ab7
Remove redundant old state handlers
2021-06-16 00:17:01 +05:30
Arun Prakash Jana
3db1dfd17f
Get rid of file stream functions
2021-06-15 20:52:59 +05:30
Arun Prakash Jana
0884ad4af9
Code reformat, use basic IO functions
2021-06-15 20:18:19 +05:30
Arun Prakash Jana
745a30ccb5
Use raw functions instead of file functions
2021-06-15 15:28:53 +05:30
Arun Prakash Jana
a007fe8493
Fix #1072 : use internal tmp file to page output
2021-06-15 14:38:08 +05:30
Arun Prakash Jana
4c66a8c0c3
Remove redundant newline
2021-06-14 22:12:55 +05:30
Arun Prakash Jana
3834d75d77
Extract archive to, mount remove/archive in smart context
2021-06-14 00:16:49 +05:30
Arun Prakash Jana
e256353fbf
Support archive "extract to..."
2021-06-13 14:38:37 +05:30
Arun Prakash Jana
54258749e1
Update docs
2021-06-13 10:38:12 +05:30
Arun Prakash Jana
361521b769
Fix patch incompatibility
2021-06-13 09:04:49 +05:30
Arun Prakash Jana
16a15fc976
Remove option from auto-complete
2021-06-13 02:03:47 +05:30
Arun Prakash Jana
06c5b17c02
Config NNN_HELP to show output of a program on top of help page
2021-06-13 01:22:36 +05:30
Arun Prakash Jana
8c116eea2c
Use netbsd-curses v0.3.2
2021-06-13 00:36:45 +05:30
Arun Prakash Jana
f4f6919c02
Fix #1067 : handle SIGWINCH the ncurses way
...
Ref: https://invisible-island.net/ncurses/ncurses-intro.html#xterm
2021-06-13 00:16:43 +05:30
Anna Arad
4f977ff269
Add force-tty capability to spawn and set pagers to it ( #1070 )
...
Co-authored-by: Anna Arad <annagram@shards.me>
2021-06-12 23:02:48 +05:30
Arun Prakash Jana
0dd76e7aec
Drop unreliable popen() call [e.g. fails if filename has "]
2021-06-12 22:44:15 +05:30
Arun Prakash Jana
69926a8eff
Simplify show_stats()
2021-06-12 21:33:26 +05:30
Arun Prakash Jana
9a124ae935
Initialize local array to NULL
2021-06-12 19:41:34 +05:30
Arun Prakash Jana
145ca91df2
Attempt to fix #1067 : hook into ncurses to resize on KEY_RESIZE
2021-06-12 16:59:19 +05:30
Arun Prakash Jana
e537c22281
Use standard descriptor names
2021-06-11 23:35:57 +05:30
Piña Colada
8238410d4c
Merge pull request #1066 from kevinsjoberg/remove-fzf-options
...
Remove opinionated options
2021-06-11 19:34:32 +05:30
Kevin Sjöberg
8fc18fb9d6
Remove opinionated options
2021-06-11 15:48:29 +02:00
Kevin Sjöberg
f443768260
Support opening regular text files on macOS
2021-06-11 15:35:03 +05:30
Arun Prakash Jana
cbbac4728b
Checkpatch fixes
2021-06-10 00:31:17 +05:30
Arun Prakash Jana
54b2eb51d5
Use static global
2021-06-08 20:50:09 +05:30
Arun Prakash Jana
46b48cf71c
Update examples
2021-06-07 01:18:34 +05:30
Arun Prakash Jana
6d2d901a91
Update docs
2021-06-06 23:35:15 +05:30
Arun Prakash Jana
51ac3d02c9
Remove redundant examples
2021-06-06 22:16:24 +05:30
Arun Prakash Jana
15eed29227
NNN_PLUG: use `|` to page run-and-exit cmd output
2021-06-06 21:51:30 +05:30
Arun Prakash Jana
3b6938f782
Fix alignment
2021-06-06 18:58:13 +05:30
Arun Prakash Jana
f24b82a750
NNN_PLUG: use & as run-gui-cmd-as-plugin symbol (earlier |)
2021-06-06 18:48:14 +05:30
Arun Prakash Jana
9de941306c
NNN_PLUG: use ! as run-cmd-as-plugin symbol (earlier _)
2021-06-06 18:37:49 +05:30
Arun Prakash Jana
5e34181bb3
Add another useful plugin example
2021-06-06 17:35:05 +05:30
Arun Prakash Jana
d87414eb61
Plugin fzcd - decouple from selection
2021-06-06 17:07:23 +05:30
Arun Prakash Jana
488fe6b941
Plugin cleanup 2: one-liners with paged output
...
- remove `mediainf`
- remove `uidgid`
- remove `hexview`
- remove `pdfview`
2021-06-06 13:56:09 +05:30
Arun Prakash Jana
fb6ca79197
Plugin cleanup 1
...
- rename `wall` to `wallpaper`
- remove `upgrade` - packaging is on OBS now
- remove `treeview` - needs minor preview-tui tweak
- remove `picker` - `nnn -p -` does the same
2021-06-06 10:44:10 +05:30
Piña Colada
29bce804be
Merge pull request #1055 from luukvbaal/patches
...
Add gitstatus patch -G flag
2021-06-05 20:00:09 +05:30
Luuk van Baal
7edf14139b
Add gitstatus patch -G flag
2021-06-05 16:21:01 +02:00
Arun Prakash Jana
e1a9aa0aa5
Mention patch framework
2021-06-05 04:54:15 +05:30
Piña Colada
b8851bdf16
Merge pull request #1054 from luukvbaal/preview-tui
...
Preview-tui single previewpid file
2021-06-05 04:27:58 +05:30
Luuk van Baal
c9c0be32a8
Preview-tui single previewpid file
2021-06-05 00:35:54 +02:00
Piña Colada
4637a5a84d
Merge pull request #1053 from luukvbaal/preview-tui
...
Suppress pgrep output
2021-06-04 21:24:27 +05:30
Luuk van Baal
0fff92b396
Supress pgrep output
2021-06-04 17:04:01 +02:00
Piña Colada
7b32e3bae0
Merge pull request #1052 from luukvbaal/preview-tui
...
Fix preview-tui zombie
2021-06-04 20:25:48 +05:30
Luuk van Baal
5533f152bd
Fix preview-tui zombie
2021-06-04 16:43:59 +02:00
Piña Colada
f681a5b3f1
Merge pull request #1051 from luukvbaal/preview-tui
...
Fix preview-tui job control
2021-06-04 07:43:59 +05:30
Luuk van Baal
99e039d504
Fix preview-tui job control
2021-06-04 04:10:35 +02:00
Arun Prakash Jana
f03b5dd4a9
Add mention
2021-06-03 23:28:07 +05:30
Arun Prakash Jana
2df1e64127
Post-release formalities
2021-06-03 22:54:12 +05:30
Arun Prakash Jana
5a6df62b1c
Prepare for release v4.1.1 Sake
2021-06-03 22:36:19 +05:30
luukvbaal
c205177ac6
Update gitstatus patch ( #1048 )
2021-06-03 17:07:07 +02:00
Piña Colada
14be56057c
Merge pull request #1049 from luukvbaal/imgview
...
Plugin imgview improvements
2021-06-03 20:08:28 +05:30
Luuk van Baal
de430efafb
Improve imgview plugin
2021-06-03 15:09:20 +02:00
luukvbaal
f3eac98678
Further gitstatus cleanup/fixes ( #1046 )
2021-06-03 11:01:27 +02:00
Arun Prakash Jana
29ef232301
Add Makefile target to compile nnn with musl libc
2021-06-03 04:34:44 +05:30
Arun Prakash Jana
88e9171266
Restore source code packing on CircleCI
2021-06-03 03:50:30 +05:30
Arun Prakash Jana
f27e93fba0
Fix #1041
2021-06-03 03:15:09 +05:30
Arun Prakash Jana
ccce80a1e9
Remove _Atomic usage
2021-06-02 21:53:29 +05:30
Arun Prakash Jana
b52c09dd23
Move patches to top level
2021-06-02 12:25:31 +05:30
Arun Prakash Jana
bf673744fb
Prepare for release v4.1 Sake
...
Sake - https://en.wikipedia.org/wiki/Sake
2021-06-02 10:44:41 +05:30
luukvbaal
93e7995ab5
Add user patch framework ( #1037 )
...
* Add user patch framework
* Add git status patch
* Add namefirst-gitstatus compatibility
* Add patch targets
* Fix gitstatus colors and patch order
2021-06-02 09:57:06 +05:30
Piña Colada
6f862131e1
Merge pull request #1038 from luukvbaal/unicodearrows
...
Unicode arrow indicators for O_ICONS/NERD
2021-05-31 23:02:44 +05:30
Luuk van Baal
40031b81ae
Unicode arrows for O_ICONS/NERD
2021-05-31 18:41:05 +02:00
Arun Prakash Jana
859ddf8d88
Update docs
2021-05-31 17:42:06 +05:30
Piña Colada
a79ef66abb
Merge pull request #1036 from luukvbaal/preview-tui
...
Fix preview-tui jpeg mime
2021-05-31 17:31:58 +05:30
Luuk van Baal
272e47c64a
Fix preview-tui jpeg mime
2021-05-31 11:43:51 +02:00
Arun Prakash Jana
6a904f7cf5
Fix #1034 : do not auto-generate packages for SuSE
2021-05-31 04:51:19 +05:30
Piña Colada
63913115df
Merge pull request #1035 from luukvbaal/manhome
...
Update man page
2021-05-31 04:37:41 +05:30
Luuk van Baal
cc8a21fa61
Update man page
2021-05-31 01:04:07 +02:00
Piña Colada
2238fa9cbc
Merge pull request #1033 from luukvbaal/preview-tui
...
Preview-tui-ext to preview-tui
2021-05-31 03:48:32 +05:30
Luuk van Baal
e4988f0264
Preview-tui-ext to preview-tui
2021-05-30 23:48:10 +02:00
Piña Colada
6eda83097a
Merge pull request #1032 from luukvbaal/imgplugins
...
Add ucollage to imgview
2021-05-31 01:12:34 +05:30
Luuk van Baal
b6fd7d928c
Add ucollage to imgview
2021-05-30 21:33:48 +02:00
Piña Colada
609b6a426a
Merge pull request #1031 from luukvbaal/imgplugins
...
Merge image plugins
2021-05-31 00:54:57 +05:30
Luuk van Baal
2f9c700537
Merge image plugins
2021-05-30 20:11:54 +02:00
Arun Prakash Jana
6d817a41e3
Update documentation
2021-05-30 23:29:10 +05:30
Arun Prakash Jana
6f29138299
Clear the selection for uniform behaviour
2021-05-29 16:06:42 +05:30
Arun Prakash Jana
c54ba35ce0
Get rid of getchar()
2021-05-29 15:15:27 +05:30
Arun Prakash Jana
4ea0d70217
Alt+Esc to quit context from filter prompt
2021-05-29 13:16:19 +05:30
Arun Prakash Jana
46e1d6bdda
Remove ntfw-specific code
2021-05-29 12:51:57 +05:30
Arun Prakash Jana
85c108a5d6
Decouple variable documentation section
2021-05-29 10:25:21 +05:30
Arun Prakash Jana
6bb6ddfe8a
Fix condition
2021-05-29 03:40:00 +05:30
Arun Prakash Jana
4bc8e1a8be
Rename plugin fzdirs to fzcd, retains fzcd features
2021-05-29 01:12:12 +05:30
Arun Prakash Jana
a6eeceec55
fzdirs - check if the first entry in path-list exists
2021-05-28 23:46:00 +05:30
Arun Prakash Jana
f6b14f6505
Restore hovered file name on select and run plugin
2021-05-28 23:31:20 +05:30
Arun Prakash Jana
b397606d0a
fzdirs: support default list, default to $PWD
2021-05-28 23:30:29 +05:30
Arun Prakash Jana
462531b8c7
Plugin fzdirs: fuzzy search multiple directories
2021-05-28 19:17:08 +05:30
Arun Prakash Jana
831287c92e
Show number of files selected in local buffer, if any
...
Even if selection mode is not on, it helps to show
number of files currently selected in local buffer.
Say, after running a plugin selection mode goes off.
However, if the plugin doesn't clear the selection
buffer, the files still remain selected in buffer.
2021-05-27 23:47:59 +05:30
Arun Prakash Jana
30ee27802e
plugin cleanfilename -> fixname, unmount-parent -> umounttree
2021-05-27 19:19:51 +05:30
Arun Prakash Jana
a8c52134f6
Attempt to create a new context with Shift-TAB, else reverse cycle
2021-05-27 18:12:35 +05:30
Piña Colada
28731a10f7
Merge pull request #1028 from luukvbaal/makefile
...
Update haiku Makefile
2021-05-27 01:04:56 +05:30
Luuk van Baal
0a569496c8
Update haiku Makefile
2021-05-26 20:54:00 +02:00
Arun Prakash Jana
326d5a4fae
Update musl compilation script
2021-05-26 23:48:38 +05:30
luukvbaal
78b2170e03
Ignore NOLC when ICONS/NERD are set ( #1027 )
2021-05-26 23:47:38 +05:30
Arun Prakash Jana
284a3c4866
Multi-threaded FTS-based disk usage calculation
...
Implements pthreads based du using FTS. Currently 4 threads are used.
NFTW is dropped as there is no way to pass any custom values to fn().
FTS does not require any per entry function callback.
The performance numbers are best with FTS:
./nnn-fts -T d / 5.29s user 0.94s system 116% cpu 5.335 total
1/21 du:102.402G free:8.476G files:397644 101132550144B
./nnn-ftw -T d / 5.52s user 0.94s system 116% cpu 5.534 total
1/21 du:102.400G free:8.474G files:397653 101133148160B
./nnn-4.0 -T d / 0.20s user 2.27s system 24% cpu 10.241 total
1/21 du:102.400G free:8.475G files:397654 101133299712B
2021-05-26 22:28:38 +05:30
Arun Prakash Jana
025b570e05
Fix du calculation
2021-05-26 03:16:01 +05:30
Arun Prakash Jana
db8079f552
Make option O_NOLOC renamed to O_NOLC
2021-05-24 22:38:08 +05:30
Arun Prakash Jana
fdeba8a87e
Dynamic view update in disk usage mode
2021-05-24 02:56:12 +05:30
Arun Prakash Jana
1017413474
Fix spelling, remove Known Issues section in favour of Troubleshooting Wiki
2021-05-23 20:08:11 +05:30
Arun Prakash Jana
53e98a9fd1
Minor changes to nuke
2021-05-22 08:34:59 +05:30
Arun Prakash Jana
88f71ff35d
Suppress session open failure msg in picker mode
2021-05-21 08:05:44 +05:30
Arun Prakash Jana
54d760b9f5
Fix #1023 : support named persistent settions
2021-05-20 09:56:55 +05:30
Arun Prakash Jana
36e1544b32
Update ToDo list
2021-05-19 18:31:55 +05:30
Luuk van Baal
b89c32b9fa
Preview-tui fix winch_handler
2021-05-19 04:48:03 +05:30
Arun Prakash Jana
2bd72d1b29
Remove pickraw, fix selection not picked on Q
2021-05-18 08:25:23 +05:30
Arun Prakash Jana
edab98ab6d
Fix opener key for archive
2021-05-18 07:58:11 +05:30
Piña Colada
bb5642291c
Merge pull request #1018 from luukvbaal/preview-tui
...
Preview-tui fixes
2021-05-18 06:41:33 +05:30
Luuk van Baal
d64242aec3
Preview-tui fixes
2021-05-18 00:19:41 +02:00
Arun Prakash Jana
45ac90d5e6
Exit nnn if plugin picks files
2021-05-18 00:49:25 +05:30
Piña Colada
9a949b7c33
Merge pull request #1017 from luukvbaal/cmusq
...
Exit cmusq when missing
2021-05-17 08:57:07 +05:30
Luuk van Baal
88eb45944c
Exit cmusq when missing
2021-05-16 23:39:10 +02:00
Piña Colada
8a36196e98
Merge pull request #1016 from luukvbaal/preview-tui
...
Hide terminated message in preview-tui
2021-05-17 02:28:40 +05:30
Luuk van Baal
8eced6c5d4
Hide terminated message in preview-tui
2021-05-16 22:56:47 +02:00
Arun Prakash Jana
cbc4587630
Fix nnn.vim #82 : support picker plugins
...
Plugins like fzopen have the capability to pick files.
This comes handy if nnn is executing as a file picker.
This is a 2-way communication:
- nnn sends the picker output file to plugin ("-" for stdout)
- the plugin tells nnn if it has overwritten the output file
2021-05-17 01:11:35 +05:30
Piña Colada
715abc7a3f
Merge pull request #1015 from luukvbaal/preview-tui
...
Fix preview-tui zombie pager
2021-05-16 16:47:40 +05:30
Luuk van Baal
5cc98987c5
Fix preview-tui zombie pager
2021-05-16 13:02:12 +02:00
Piña Colada
a95ed82f60
Merge pull request #1013 from luukvbaal/preview-tui
...
Preview-tui cleanup
2021-05-16 08:46:30 +05:30
Luuk van Baal
5fba2ba749
Preview-tui cleanup
2021-05-16 02:11:05 +02:00
Arun Prakash Jana
31c34740bc
Fix no file picked with NNN_TMPFILE set and quit with 'q'
...
If NNN_TMPFILE is exported, the selection buffer gets cleared as it is
combined with `^G` (clear picked files and exit). So even when 'q' is
pressed to quit the program the selection is lost. This was introduced
in commit d1d491c102
after release v2.7.
2021-05-16 03:23:03 +05:30
Arun Prakash Jana
79cbcc18e1
Update nuke to use mocq
2021-05-16 02:46:17 +05:30
Piña Colada
db240eeeda
Merge pull request #1011 from luukvbaal/cmusq
...
Wait until cmus is ready and fix fzplug preview command
2021-05-16 02:02:28 +05:30
Luuk van Baal
f7e84bed70
Wait until cmus is ready and fix fzplug preview command
2021-05-15 22:24:40 +02:00
Arun Prakash Jana
7bbacd0f0d
Minor edits
2021-05-16 01:49:52 +05:30
Arun Prakash Jana
4dcefcc4d4
Rename plugin mocplay to mocq
2021-05-16 00:25:47 +05:30
Kabouik
69d63ff50e
Add plugin cmusq ( #1010 )
...
* Fix conflict with #1006
* Queue/play in cmus player
* Remove leftover comments
* start_cmus function, optional xdotool dependency, better process waiting
* start_cmus function, better process waiting, optional xdotool dep
* Merge conflicts
* Better reporting of past actions
* Discriminate newly started queue and existing queue
* Harmonize descriptions, rename cmusqueue to cmusq, clean cmusq code
* Remove cmusqueue
* Exit if cmus missing and style changes
Co-authored-by: luukvbaal <31730729+luukvbaal@users.noreply.github.com>
2021-05-16 00:15:48 +05:30
Arun Prakash Jana
5e8ef070dc
Sanitize in-plugin documentation
2021-05-15 23:02:01 +05:30
Arun Prakash Jana
24080569b8
Chnage tabs to spaces
2021-05-15 06:57:20 +05:30
luukvbaal
bb37c9dd46
If/else to case in preview-tui ( #1009 )
...
* If/else to case in preview-tui
* Fix conflict between #1004 #1006
2021-05-14 22:46:30 +05:30
Kabouik
b14d2311e6
More minimal bat previews, minor improvements to fzplug ( #1004 )
...
* More minimal bat previews, minor improvements to fzplug
* Use BAT_STYLE if set, better fzplug formatting
* Fix linebreak in single quotes
* Fix line numbers in comments
* Readability and shellcheck warning
* Fix line numbers in comments
* Breaking typo
* Pre-existing BAT_STYLE would not be honored in tmux
2021-05-14 19:59:43 +05:30
Arun Prakash Jana
7a76ca8548
Remove unnecessary redirection
2021-05-14 18:45:09 +05:30
Arun Prakash Jana
f343f315b5
Replace which with builtin type in plugins
2021-05-14 17:33:28 +05:30
Arun Prakash Jana
513b4f24a6
Optimize loop comparison
2021-05-14 12:38:07 +05:30
Arun Prakash Jana
1fabac27ba
Fix hovered marking on empty directory
2021-05-14 11:55:52 +05:30
Arun Prakash Jana
3316e2acdb
Show du/au details on enabling disk usage mode
2021-05-14 11:38:44 +05:30
Arun Prakash Jana
6222cac4bf
Reduce checks in per-entry print loop
2021-05-14 11:25:38 +05:30
Arun Prakash Jana
177b60e6c2
shellcheck fixes + use the last known good commit
2021-05-14 08:48:05 +05:30
Piña Colada
2ca11a34e7
Merge pull request #1006 from luukvbaal/preview-tui
...
Kill kitty icat in preview-tui
2021-05-14 07:52:54 +05:30
Piña Colada
d83acda68b
Merge pull request #1005 from luukvbaal/icons
...
Fix .iconlookup typo
2021-05-14 07:45:36 +05:30
Luuk van Baal
9560a91f97
Kill kitty icat in preview-tui
2021-05-14 03:30:27 +02:00
Luuk van Baal
2edf59fef1
Fix .iconlookup typo
2021-05-14 02:08:45 +02:00
Arun Prakash Jana
d46918946f
Avoid faccessat(..., AT_SYM_NOFOLLOW) with musl libc
...
See https://www.openwall.com/lists/musl/2014/09/25/1
2021-05-14 02:11:59 +05:30
Arun Prakash Jana
d0b4508798
Change debug macro DBGMODE to DEBUG
2021-05-14 00:20:59 +05:30
Arun Prakash Jana
0427f70c4e
netbsd-curses: fix broken statusbar issue
...
See https://github.com/sabotage-linux/netbsd-curses/issues/46
2021-05-14 00:16:48 +05:30
Arun Prakash Jana
bca5763cf7
Selection marks in reverse bold
2021-05-13 19:29:16 +05:30
lawnowner
9cbb7f540c
Add the xdgdefault plugin ( #1003 )
2021-05-13 16:13:21 +05:30
Piña Colada
dd02afc58b
Merge pull request #1002 from luukvbaal/icons
...
Add chess/haskell icons to .iconlookup
2021-05-13 08:43:17 +05:30
Luuk van Baal
16b2f40ffe
Add chess/haskell icons to .iconlookup
2021-05-13 01:20:27 +02:00
Arun Prakash Jana
6b0f308f26
Remove redundant param
2021-05-13 00:37:09 +05:30
Arun Prakash Jana
448a4203bc
Make space for 512TiB in blocks
2021-05-13 00:37:04 +05:30
Arun Prakash Jana
04c38ecf3d
Initialize variable, update musl script
2021-05-12 22:17:44 +05:30
Arun Prakash Jana
1b88062310
Fix script
2021-05-12 21:16:48 +05:30
Piña Colada
9756ce4650
Merge pull request #1001 from CantoroMC/nerdfont
...
nerdfont support for chess files(pgn,fen) haskell(hs,lhs) files and hpp
2021-05-12 20:00:39 +05:30
Arun Prakash Jana
4a4628e2fc
Remove redundant/unaccessed variable
2021-05-12 19:47:56 +05:30
Piña Colada
375d1057c1
Merge pull request #1000 from KlzXS/plguin_child
...
Wait for child on plugin invocation
2021-05-12 19:31:38 +05:30
Marco Cantoro
d6af0d2ed4
nerdfont support for chess files(pgn,fen) haskell(hs,lhs) files and hpp
2021-05-12 15:44:46 +02:00
KlzXS
56d3f2d976
Wait for child on plugin invocation
2021-05-12 08:50:24 +02:00
Arun Prakash Jana
907616a058
Fix #998 : remove ^Space keybind
...
netbsd-curses sends a NULL (key value 0) following the KEY_RESIZE.
The keybind ^Space also issues a 0. It seems even the key ^@ sends
the same. Dropping this ambiguous keybind in favour of alternative
key m (more appropriate for 'm'ark anyway). Keys with value 0 will
now be ignored in the filter function.
2021-05-12 10:07:29 +05:30
Arun Prakash Jana
1f95c355a9
Fix template
2021-05-11 22:53:37 +05:30
Arun Prakash Jana
9c5214c24a
Compilation script for netbsd-curses + musl libc
2021-05-11 19:06:13 +05:30
Arun Prakash Jana
de80bba9db
musl libc: fix run cmd prompt message
2021-05-11 16:47:48 +05:30
Arun Prakash Jana
466d138cc7
Fix #996 : select all on 'A' with empty selection
2021-05-11 11:55:39 +05:30
Arun Prakash Jana
e4c3f7d739
Use existing buffer to (un)select file names
2021-05-11 03:07:55 +05:30
Arun Prakash Jana
9b6e7e86bc
Fix musl-gcc compile warnings
2021-05-11 00:05:02 +05:30
Arun Prakash Jana
b44d2c5071
Update README
2021-05-10 20:54:04 +05:30
Arun Prakash Jana
8575711227
Minor optimization
2021-05-10 17:25:24 +05:30
Piña Colada
c506da4419
Merge pull request #994 from luukvbaal/printent
...
Drop printptr for if-statement
2021-05-10 16:51:07 +05:30
Luuk van Baal
a359a8152c
Drop printptr for if-statement
2021-05-10 12:50:45 +02:00
Arun Prakash Jana
c0ccf098ec
Simplify detail print
2021-05-10 00:12:26 +05:30
Luuk van Baal
a327ee4a3d
Merge and simplify unescape
2021-05-09 20:18:05 +05:30
Arun Prakash Jana
eec6366272
Optimize wide char conversion, show an extra char
2021-05-09 11:33:39 +05:30
Arun Prakash Jana
b5654e3188
Reduce late assignments
2021-05-09 09:03:16 +05:30
Piña Colada
e075b98cfe
Reorganize README
2021-05-09 08:33:00 +05:30
Piña Colada
f45967c4a0
Merge pull request #989 from luukvbaal/adjust_cols
...
Fix adjust_cols for icons
2021-05-09 06:58:26 +05:30
Luuk van Baal
6c450bee94
Fix adjust_cols for icons
2021-05-09 02:02:53 +02:00
Arun Prakash Jana
f3fe27e694
Fix invisible details when color code is 0
2021-05-08 20:34:01 +05:30
Arun Prakash Jana
e5c1b0bdd2
Update man page
2021-05-08 17:34:38 +05:30
Arun Prakash Jana
0691c4fb47
Reversed block for hovered entry in detail mode
2021-05-08 17:05:22 +05:30
Arun Prakash Jana
da7dc8e6e2
Reversed block instead of ACS_CKBOARD for current
2021-05-08 08:59:51 +05:30
Arun Prakash Jana
7acc9196d5
Reverse selection mark for visibility
2021-05-08 08:48:47 +05:30
Arun Prakash Jana
4727b3baa8
Bold selection marker for better visibility
2021-05-07 23:19:37 +05:30
luukvbaal
f4eb89029c
One shot guid cache ( #988 )
2021-05-07 23:06:24 +05:30
Arun Prakash Jana
69df38dfd4
Update text in program help
2021-05-07 10:39:02 +05:30
Arun Prakash Jana
54aa971a6b
Update man page on selection
2021-05-07 09:12:00 +05:30
Piña Colada
7a562d7b03
Merge pull request #987 from luukvbaal/printent
...
Use cfg.showdetail
2021-05-07 07:54:10 +05:30
Luuk van Baal
6730c0fd01
Use cfg.showdetail
2021-05-07 00:45:24 +02:00
Arun Prakash Jana
b58e9fc384
Fix min columns
2021-05-06 22:50:10 +05:30
Arun Prakash Jana
0d21813b11
Revert "Skip a complete erase on redraw()"
...
This reverts commit 41d414c2fc
.
2021-05-06 22:33:30 +05:30
Arun Prakash Jana
765986b916
Reduce some common checks in printent()
2021-05-06 21:50:35 +05:30
Arun Prakash Jana
41d414c2fc
Skip a complete erase on redraw()
2021-05-06 12:34:31 +05:30
Arun Prakash Jana
0eeae6ee7b
Retain filter in filter mode when opening files
2021-05-05 13:09:54 +05:30
Arun Prakash Jana
bd47846185
Shorten some strings
2021-05-05 08:05:07 +05:30
Arun Prakash Jana
949f76ec16
Drop brackets and simplify context printing logic
2021-05-05 07:20:08 +05:30
Arun Prakash Jana
d4767e6d47
Update docs
2021-05-03 20:11:40 +05:30
Piña Colada
19a5ef8a61
Merge pull request #984 from luukvbaal/preview-tui
...
preview-tui: fix preview dir
2021-05-02 06:17:52 +05:30
Luuk van Baal
d73569be73
preview-tui: fix preview dir
2021-05-02 00:54:42 +02:00
Piña Colada
703be56930
Merge pull request #983 from luukvbaal/preview-tui
...
preview-tui: fix cleanup/resize
2021-05-01 21:55:37 +05:30
Luuk van Baal
65e306feec
preview-tui: fix cleanup/resize
2021-05-01 18:12:13 +02:00
luukvbaal
74785069e0
preview-tui: kitty gif/pager fallback ( #981 )
...
* preview-tui: kitty gif/pager fallback
* preview-tui: test QUICKLOOK and return
2021-05-01 21:13:24 +05:30
Arun Prakash Jana
2ac70152a4
Reorder entries
2021-05-01 12:22:51 +05:30
Arun Prakash Jana
3ab8bf1c16
Fix #978 : store nanosec field
2021-05-01 10:16:26 +05:30
KlzXS
002758063e
Update .nmv
2021-05-01 06:23:39 +05:30
KlzXS
36d86a294d
Make batchrename interactive
2021-05-01 06:23:39 +05:30
Kabouik
c2aeb51bcc
[Plugins] Fuzzy find plugins and run them; unmount mountpoints from their subfolders ( #977 )
...
* Fuzzy find plugins and run them
* Hide find warning when $otherplugins is not set
* Fix prompt on error 2
* Use /home/mathieu
* unmount-parent plugin
* Add dependencies and shell description
* Add dependencies and fix CI issue?
* Improve fzfplug prompt, fix shellcheck warnings, restore mistakenly deleted line in README
* Typo
* Make both scripts POSIX-compliant and small improvements
* Final cosmetic changes
* bis
* Clarify description
* Typo
* Typo
* Better support for custom dirs and use bat if available
Co-authored-by: M <>
2021-05-01 06:23:33 +05:30
luukvbaal
5ed2998023
preview-tui: update prompts ( #980 )
2021-04-30 18:59:11 +05:30
Arun Prakash Jana
e8bebac168
Remove unavailable option
2021-04-29 09:25:56 +05:30
Arun Prakash Jana
714d806341
Return selection if external selection exists
2021-04-28 13:37:03 +05:30
luukvbaal
802a7794ae
Fix #974 : picker mode broken ( #975 )
...
Co-authored-by: Piña Colada <engineerarun@gmail.com>
2021-04-28 11:53:13 +05:30
Arun Prakash Jana
163102e8ae
Fix #976 : check external selection in 'c'urrent / 's'el prompt
2021-04-28 11:46:07 +05:30
Luuk van Baal
7a7fd5fcab
preview-tui: ls flags
2021-04-27 21:37:18 +02:00
luukvbaal
4ebc396250
preview-tui: restore tree view ( #972 )
2021-04-28 00:58:38 +05:30
Arun Prakash Jana
0c88d1c210
Fix CI break: disable readability-function-cognitive-complexity
2021-04-28 00:23:41 +05:30
luukvbaal
d998943119
preview-tui: error to foreground ( #970 )
...
* preview-tui: error to foreground
* preview-tui: test KITTY_LISTEN_ON
2021-04-27 11:56:52 +05:30
luukvbaal
b97e2d02ea
preview-tui: reformat toggle ( #966 )
2021-04-26 20:51:52 +05:30
Arun Prakash Jana
eea4d34423
Fix build break
2021-04-26 07:31:15 +05:30
Arun Prakash Jana
34c3d2116a
Bksp/Del at empty filter prompt to refresh dir and retain prompt
2021-04-26 00:53:48 +05:30
Arun Prakash Jana
1fde10b022
Fix LGTM alerts
2021-04-25 16:54:43 +05:30
luukvbaal
1241a4d75d
Update README.md
2021-04-25 16:54:35 +05:30
akimdi
c673840d5d
added flag -f for big files
2021-04-24 20:55:21 +03:00
Piña Colada
b0a985bca8
Merge pull request #963 from luukvbaal/preview-tui
...
preview-tui: reformat QuickLook
2021-04-24 04:28:21 +05:30
Luuk van Baal
cbbefe805a
preview-tui: reformat QuickLook
2021-04-24 00:36:05 +02:00
Arun Prakash Jana
4648a56178
Add QuickLook to description
2021-04-23 04:07:26 +05:30
Piña Colada
59dfffd004
Merge pull request #961 from luukvbaal/preview-tui
...
preview-tui: close previewer
2021-04-23 03:51:16 +05:30
Luuk van Baal
15031f7d9e
preview-tui: close previewer
2021-04-22 21:45:23 +02:00
Piña Colada
f0c64a89b8
Merge pull request #960 from luukvbaal/quicklook
...
preview-tui: add QuickLook support for WSL
2021-04-22 21:05:23 +05:30
Luuk van Baal
77640a6434
preview-tui: add QuickLook support
2021-04-22 14:15:42 +02:00
Piña Colada
a629707eec
Merge pull request #957 from luukvbaal/preview-tui
...
preview-tui-ext: reformat archive preview
2021-04-21 21:06:32 +05:30
Luuk van Baal
ec3f754192
preview-tui-ext: reformat archive preview
2021-04-21 16:39:15 +02:00
Piña Colada
47a779b1bf
Merge pull request #955 from rck/master
...
preview-tui-ext: use atool for rpm/deb
2021-04-21 18:17:13 +05:30
luukvbaal
48898eeb8b
preview-tui: directory preview/iconlookup ( #954 )
...
* preview-tui: directory preview/iconlookup
* preview-tui-ext: NNN_ARCHIVE note
2021-04-21 18:14:38 +05:30
Roland Kammerer
5c1c732fb7
preview-tui-ext: use atool for rpm/deb
...
atool does good job in previewing the content of deb/rpm files, use it.
2021-04-21 11:41:58 +02:00
Piña Colada
cd070a6228
Merge pull request #953 from akimdi/master
...
added support ico format
2021-04-20 06:35:15 +05:30
akimdi
5f67acd8b8
added ico format to nuke plugin
2021-04-20 04:01:44 +03:00
akimdi
794048b306
added ico format to imgview plugin
2021-04-20 04:00:30 +03:00
Piña Colada
c49f24c696
Merge pull request #951 from luukvbaal/preview-tui-ext
...
preview-tui-ext: pass env
2021-04-18 16:35:02 +05:30
Luuk van Baal
14350b94a8
preview-tui-ext: pass env
2021-04-18 12:58:50 +02:00
Arun Prakash Jana
e09148e386
Update readme
2021-04-18 15:10:39 +05:30
Arun Prakash Jana
b08aa8330d
Update docs
2021-04-18 08:36:14 +05:30
Arun Prakash Jana
6d2325e18a
Minor reformat to fix build break
2021-04-17 20:55:37 +05:30
Arun Prakash Jana
69431e49a9
Got to last dir on '~' or '/' key repeat
2021-04-17 20:25:58 +05:30
Arun Prakash Jana
430833326b
Minor plugin update
2021-04-17 19:25:07 +05:30
Arun Prakash Jana
25157592df
make option NOX11: disable notis, sel to clipboard sync, xterm title
2021-04-17 13:08:34 +05:30
Arun Prakash Jana
2b94c29e1d
Add clang 11 to CI
2021-04-17 01:22:49 +05:30
Arun Prakash Jana
30e1c54e0e
Update docs
2021-04-17 00:18:34 +05:30
Arun Prakash Jana
b5015b8e6c
Set Haiku variety to dev
2021-04-13 16:56:16 +05:30
Arun Prakash Jana
f4c5b1a937
Happy Birthday nnn! 🍰
2021-04-13 16:35:13 +05:30
Arun Prakash Jana
5bfc868321
Show xterm title on option '-x'
2021-04-13 16:34:06 +05:30
Mischievous Meerkat
285463253c
Merge pull request #946 from luukvbaal/demo
...
Update README demo
2021-04-13 16:33:13 +05:30
Luuk van Baal
ad4f0cbbef
Reduce thumbnail image size
2021-04-13 13:00:58 +02:00
Luuk van Baal
1fd61ca5f5
Update README demo
2021-04-13 12:52:27 +02:00
Arun Prakash Jana
ad40ae9b53
Set Haiku variety to dev
2021-04-13 16:04:34 +05:30
Arun Prakash Jana
a482e8afe5
Prepare for release v3.7 Sushi
2021-04-13 11:07:25 +05:30
Arun Prakash Jana
0c55e74fb5
Minor refactor
2021-04-13 09:06:26 +05:30
Arun Prakash Jana
ee04215d91
Fix #941 : on macOS set depth to OPEN_MAX for nftw()
2021-04-11 01:06:02 +05:30
Mischievous Meerkat
99a8f761cf
Merge pull request #942 from luukvbaal/nerdicons
...
nerdicon/preview fixes
2021-04-09 23:50:08 +05:30
Luuk van Baal
710e621735
more icon changes
2021-04-09 14:10:12 +02:00
Luuk van Baal
eb98b9076b
restore indicators
2021-04-09 12:25:29 +02:00
Luuk van Baal
a5a1c7b82c
nerdicon/preview fixes
2021-04-09 12:13:32 +02:00
Arun Prakash Jana
a1cb764943
make option O_CKBOARD for checker board indicator in detail mode
2021-04-09 12:05:03 +05:30
Arun Prakash Jana
903a4b3a66
Use printw() to print time
2021-04-08 03:13:43 +05:30
Mischievous Meerkat
9a73057272
Merge pull request #939 from luukvbaal/printw
...
print_details: printw align
2021-04-08 02:55:53 +05:30
Luuk van Baal
ada4695bb6
ind to char
2021-04-07 23:10:12 +02:00
Arun Prakash Jana
dc9d877941
Use ACS_CKBOARD for currrent entry in detail mode
2021-04-08 02:38:29 +05:30
Luuk van Baal
f1f147c928
print_details: printw align
2021-04-07 23:00:48 +02:00
Mischievous Meerkat
a0be1c33cb
Merge pull request #938 from akimdi/master
...
added support svg format
2021-04-07 23:02:20 +05:30
akim
534aa355a1
added support svg format
2021-04-07 19:31:53 +03:00
Arun Prakash Jana
a44b23786f
Use a single routine for common code
2021-04-07 09:17:36 +05:30
Arun Prakash Jana
b3132d6398
Combine multiple functions
2021-04-06 21:59:21 +05:30
Arun Prakash Jana
f27df77777
Minor refactor
2021-04-06 20:02:56 +05:30
Arun Prakash Jana
edacfcc828
Remove loop for printing spaces
2021-04-06 16:25:02 +05:30
Arun Prakash Jana
0223d53584
Fix #936 : name col len in old color mode and icons
2021-04-06 10:53:04 +05:30
Arun Prakash Jana
b0fd7a5ffe
Reverse only hovered file name in detail mode
...
Changes:
- reverse only the file name in detail view
- don't apply reverse to details, show an arrow to the left
- always show selection ('+' symbol) in bright
- delegate showing selection '+' to printent()
2021-04-06 10:03:56 +05:30
Arun Prakash Jana
dd5588650d
Initialize once
2021-04-06 04:36:34 +05:30
Arun Prakash Jana
ed23e494a9
Replace printw(), optimize xitoa()
2021-04-06 03:28:02 +05:30
Arun Prakash Jana
a62bcd3f87
Pass mode directly for indicator
2021-04-06 00:19:32 +05:30
Arun Prakash Jana
ed55fbd9d5
Compact switch cases
2021-04-05 21:49:14 +05:30
Arun Prakash Jana
98308b8444
Continuous reverse for current entry in 8-color mode
2021-04-05 21:27:54 +05:30
exoton
98a0f7484a
Refactor printent/printent_long (DRY) ( #934 )
...
* Refactor printent/printent_long (DRY)
* Extend selection gap for icons, fix device names.
2021-04-05 21:26:25 +05:30
Arun Prakash Jana
a6a09338a2
Reformat UID/GID printing in statusbar
2021-04-05 21:04:44 +05:30
Mischievous Meerkat
df6dbbb84c
Merge pull request #932 from luukvbaal/preview-tui
...
.iconlookup: refactor
2021-04-01 20:28:42 +05:30
Luuk van Baal
c3a472a7e2
.iconlookup: refactor
2021-04-01 16:17:46 +02:00
Arun Prakash Jana
3f47c6ee55
Update readme
2021-03-31 03:13:18 +05:30
Mischievous Meerkat
da734c50da
Merge pull request #931 from luukvbaal/preview-tui
...
.iconlookup: shebang to env sh
2021-03-30 21:24:47 +05:30
Luuk van Baal
9fcdf78643
.iconlookup: shebang to env sh
2021-03-30 17:49:31 +02:00
luukvbaal
5cf723fbe4
preview-tui-ext: match nnn directory preview ( #927 )
...
* preview-tui-ext: add optional dependency iconlookup
* new plugin: .iconlookup
2021-03-30 20:55:56 +05:30
Arun Prakash Jana
34f20ea678
Man page update
...
Pick up some improvements from PR #929
2021-03-30 09:11:55 +05:30
Mischievous Meerkat
e459d912b0
Merge pull request #930 from exoton/cdpath
...
Truncate the name, add comments.
2021-03-30 08:32:47 +05:30
Yuri Kloubakov
1a0c9d0c90
Truncate the name, add comments.
2021-03-29 21:29:03 -04:00
exoton
42aa97b112
Add new plugin ( #928 )
...
* Add new plugin
* Small cdpath refactoring
* Change the default CDPATH value, remove string indexing.
* Remove readlink() call to be POSIX compliant.
* Fix the comment
2021-03-29 08:09:42 +05:30
luukvbaal
832676984b
exchange double width glyph ( #926 )
2021-03-28 17:27:57 +05:30
Rudolf Adamkovič
655e8886f1
Improve consistency/spelling in some comments ( #924 )
...
* [comments] Fix incorrectly spelled verb "set up"
* [comments] Fix incorrectly capitalized "MIME" (as in MIME types)
* [comments] Fix inconsistent spelling: "filename" vs "file name"
* [comments] Add missing whitespace
* [comments] Make a comment capitalized like its sibings
* [comments] Improve sentence clarity with a comma
* [comments] Fix inconsistent spelling: "Esc" vs "Escape"
* [comments] Improve consistency of spelling and spacing
* Change 'set up' to 'set-up'
2021-03-28 07:25:43 +05:30
Arun Prakash Jana
603c1580e8
Set correct plugin language
2021-03-28 01:51:43 +05:30
Arun Prakash Jana
6dfea38999
Update readme
2021-03-28 01:46:07 +05:30
Arun Prakash Jana
b29d898350
Fix build break
2021-03-28 01:16:22 +05:30
Arun Prakash Jana
8542f5bc33
Use better pipe check
2021-03-28 00:59:23 +05:30
Arun Prakash Jana
ccf2927b6d
Replace $HOME with '~' in address bar
2021-03-27 23:28:23 +05:30
Arun Prakash Jana
e5d44ce223
Replace $HOME by '~' in terminal title
2021-03-27 22:15:11 +05:30
Benawi Adha
0f4dfee6c6
plugins: cleanfilename: sh->bash and added support for cleaning newline ( #923 )
...
* plugins: cleanfilename: sh->bash and added support for cleaning newline
* plugins: cleanfilename: sh->bash and added support for cleaning newline
2021-03-27 19:36:17 +05:30
Arun Prakash Jana
37fbed2fb7
Fix plugin readme table
2021-03-27 19:34:41 +05:30
Arun Prakash Jana
980fd80aa9
Do not clear selection on single file removal
2021-03-27 19:07:40 +05:30
Arun Prakash Jana
7f5dbd11e3
Fix #917 : enhance plugin framework to clear sel on request
...
With this enhancement, plugins which operate on selection
can explicitly request the program to clear the selection.
2021-03-27 17:12:21 +05:30
Arun Prakash Jana
7c63dc8d73
Fix CI break due to size of browse()
2021-03-26 20:08:23 +05:30
luukvbaal
d5dac4c686
Show non matching guid in statusbar ( #921 )
2021-03-26 19:24:54 +05:30
Arun Prakash Jana
9c218d41e8
Fix #918 : picker mode broken
2021-03-26 01:14:16 +05:30
Benawi Adha
b0aa1fe379
plugins: cleanfilename: fixed to not overwrite existing file ( #916 )
...
* plugins: cleanfilename: fixed to not overwrite existing file
* plugins: cleanfilename: fixed to not overwrite existing file
2021-03-26 01:06:25 +05:30
Arun Prakash Jana
f602cbee07
Reorder table alphabetically
2021-03-25 01:11:10 +05:30
Mischievous Meerkat
7233935109
Merge pull request #915 from leovilok/term-title-clear-stack
...
Save/load the terminal window title using xterm esc sequences
2021-03-25 01:07:16 +05:30
Léo Villeveygoux
5bba7b45fa
Save/load the terminal window title using xterm esc sequences
2021-03-24 15:40:29 +01:00
Benawi Adha
f176d81ea0
plugin: verbosepaste: gives copy-paste verbose progress percentage ( #914 )
...
* plugin: verbosepaste: gives copy-paste verbose progress percentage
* plugin: verbosepaste: gives copy-paste verbose progress percentage
2021-03-24 17:39:08 +05:30
Arun Prakash Jana
d8e370e579
Update contributing guideline
2021-03-24 15:21:06 +05:30
Benawi Adha
c61a716e11
plugin: cleanfilename: clean filename to be more shell-friendly ( #913 )
...
* plugins: cleanfilename: clean filename to be more shell-friendly
* plugins: cleanfilename: clean filename to be more shell-friendly
* plugins: cleanfilename: clean filename to be more shell-friendly
* plugins: cleanfilename: clean filename to be more shell-friendly
* plugins: cleanfilename: clean filename to be more shell-friendly
2021-03-24 14:51:38 +05:30
lvgx
1c2cb7fd31
Show path in terminal title ( #912 )
...
* Show path in terminal title
* Better terminal window title format
Title is now "basename (full/path)"
2021-03-24 06:50:51 +05:30
luukvbaal
f90e567a17
cache and constraint preview dimensions ( #910 )
...
* cache and constraint preview dimensions
* cache subdirectory
* optional caching
* revert to ext for pdf/epub
2021-03-24 06:43:18 +05:30
Benawi Adha
638676a689
plugins: mtpmount: toggle mount of MTP devices ( #909 )
...
* plugins: mtpmount: toggle mount of MTP devices
* plugins: mtpmount: added some quotes
* plugins: mtpmount: toggle mount of MTP devices
* plugins: mtpmount: toggle mount of MTP devices
* plugins: mtpmount: toggle mount of MTP devices
* plugins: mtpmount: toggle mount of MTP devices
2021-03-23 19:42:10 +05:30
luukvbaal
e0822fdef4
fill preview-tui preview ( #907 )
...
* fill preview pane
* add xcf preview and fix formatting
* test which convert
* restore -bL
2021-03-22 06:24:29 +05:30
Arun Prakash Jana
9f0a374255
Show number of links and inode num for hard links
2021-03-21 21:24:47 +05:30
Arun Prakash Jana
2f6046e6da
Use short options
2021-03-21 19:33:43 +05:30
luukvbaal
73a54e7550
preview-tui-ext ffmpegthumbnailer fallback ( #906 )
2021-03-21 18:53:56 +05:30
luukvbaal
bc59961d98
preview-tui-ext jpg previews ( #905 )
...
* switch to jpg previews
* add ueberzug scaler
2021-03-21 15:59:44 +05:30
luukvbaal
9544eb91d2
generate_preview fallback ( #904 )
2021-03-21 09:19:19 +05:30
luukvbaal
bebad983ca
fix fontpreview ( #903 )
2021-03-21 07:59:06 +05:30
luukvbaal
ac29a7c166
preview-tui fixes ( #900 )
...
* redraw preview on resize
* fix stray preview pane after exit
* restore cleanup
* fix image bin info fallback
2021-03-21 07:11:14 +05:30
Arun Prakash Jana
49c458517f
Show symlink size on readlink failure
2021-03-21 06:53:38 +05:30
Arun Prakash Jana
71083b0670
Show correct symlink size in sttausbar
2021-03-21 06:25:17 +05:30
Arun Prakash Jana
c625679d58
Remove redundant chars in symlink target display
2021-03-21 05:58:34 +05:30
Arun Prakash Jana
2fc61a8f48
Add more previewers
2021-03-21 00:01:46 +05:30
Arun Prakash Jana
4a45e45b30
Add bsdtar for archives, w3m for html
2021-03-20 23:36:24 +05:30
luukvbaal
fdf40df5e9
replace preview-tui demo ( #898 )
2021-03-20 15:14:18 +05:30
Arun Prakash Jana
943728dd14
Update README
2021-03-20 06:40:49 +05:30
luukvbaal
2e4aca5e6b
preview-tui(-ext) subshell job control ( #891 )
...
* subshell job control
* remove unnecessary kill
* Update docs
* update PAGER and tree command
* restore clear
2021-03-20 06:28:46 +05:30
Arun Prakash Jana
a88bbe1a9c
Use earlier asciicast in plugins readme.
2021-03-20 06:26:14 +05:30
luukvbaal
f596ae2359
Update preview-tui demo
2021-03-19 22:16:38 +01:00
Luuk van Baal
77cde578e0
preview-tui demo
2021-03-19 22:08:10 +01:00
Arun Prakash Jana
4c8e2e25b8
Fix garbled symlink target
2021-03-19 00:27:45 +05:30
Arun Prakash Jana
5f0b3b74d0
Fix #889 : clear selection if plugin doesn't send data
2021-03-19 00:00:37 +05:30
Arun Prakash Jana
c825a9e541
Fix #893 : show symlink target in statusbar
2021-03-18 23:45:32 +05:30
Arun Prakash Jana
381b251fd0
Fix #890 : wrong macro
2021-03-18 22:35:59 +05:30
Arun Prakash Jana
317076b893
Update doc
2021-03-18 01:52:13 +05:30
Arun Prakash Jana
fddc5086dd
Fix #888 : wrong volume free/total size on macOS
2021-03-17 23:37:26 +05:30
Arun Prakash Jana
93ca773c59
Resurrect current/sel prompt
2021-03-17 23:06:08 +05:30
Arun Prakash Jana
2dccb94f3f
Revert "Favor selection over current for nmv"
...
This reverts commit c9c1d0d454
.
2021-03-17 22:19:01 +05:30
Arun Prakash Jana
12e7e2c7e0
Revert clear selection on plugin invocation
...
Many plugins are used for navigating to the target directory.
This reverts commit 026f76f14c
.
2021-03-17 02:12:21 +05:30
Mischievous Meerkat
571363b0f9
Merge pull request #883 from salutis/patch-1
...
Improve clarity and consistency of README.md
2021-03-16 18:11:21 +05:30
Rudolf Adamkovič
02eb42b0ed
Improve clarity and consistency of README.md
2021-03-16 11:34:09 +01:00
Arun Prakash Jana
d40137f7b3
Update Haiku makefile
2021-03-16 01:25:14 +05:30
Arun Prakash Jana
234a7e0080
Prepare for release v3.6
2021-03-16 00:52:50 +05:30
Mischievous Meerkat
3c0c5951ee
Merge pull request #877 from luukvbaal/preview-tui
...
cleanup fifo
2021-03-14 20:10:47 +05:30
Luuk van Baal
7527125487
cleanup fifo
2021-03-14 15:28:50 +01:00
Arun Prakash Jana
519ea8347e
Update docs
2021-03-14 16:23:46 +05:30
Arun Prakash Jana
3cd93a355a
Minor code reformat for clarity
2021-03-14 14:35:19 +05:30
Arun Prakash Jana
bd95763c7a
Fix shellcheck report
2021-03-14 12:59:24 +05:30
luukvbaal
ac72d2c66e
Fix preview-tui-ext and ueberzug support for preview-tui ( #875 )
...
* fix preview-tui-ext
* add ueberzug to preview-tui
* abolish config variables
* kitty
2021-03-14 12:23:03 +05:30
Arun Prakash Jana
e8577baab2
Fix #876 : fzcd - go to dir and select file
2021-03-14 12:19:40 +05:30
luukvbaal
1571ea2b35
preview-tui improvements ( #869 )
...
* Update preview-tui
* trap SIGWINCH
* Update preview-tui
fix CircleCI test
* fix CircleCI...
* add pdf/epub
forgot to add pdf/epub when adpating my own working script to the upstream version
* add USE tests
* add office preview
allows preview of ods, odt, docx, pptx, etc
* remove resize trap, show static gif
Removed the faulty resize code and show static gif when USE_GIFPREVIEW is not set.
* loop gif playback
* refactor imagepreview
* scale kitty preview
* fix ueberzug_remove regression
* add optional atool support
* single depth, colorized tree preview
also empty pager prompt
* atool optional
* window resize working
* USE_UEBERZUG check
* conditional trap
I can't fully explain the behavior I'm seeing but this seems to work as its supposed to.
* adopt TMPDIR
* prevent extra readline after window resize
* shellcheck fix
* clear preview pane after resize
prevents (seemingly random) pager previews from showing after resize
* fix stray fifo from subshells
* add preview-tui-ext
2021-03-13 16:52:51 +05:30
Arun Prakash Jana
3387f0a6ac
Have a distinct unused msg for index 0
2021-03-06 12:20:14 +05:30
Arun Prakash Jana
e901615fcc
Add check for non-empty selection buffer
2021-03-04 23:55:41 +05:30
Arun Prakash Jana
8886f1cd56
Fix regression in #864
2021-03-04 19:56:15 +05:30
Arun Prakash Jana
c7140e6758
Fix #864
2021-03-04 17:51:57 +05:30
Arun Prakash Jana
822546f285
Update docs
2021-02-28 23:56:10 +05:30
Arun Prakash Jana
07afd45243
Update docs
2021-02-28 00:15:11 +05:30
Mischievous Meerkat
5c47ac651f
Merge pull request #858 from KlzXS/xdgopen
...
Fix frozen terminal caused by opener
2021-02-19 03:13:25 +05:30
Mischievous Meerkat
4b15535983
Merge pull request #857 from KlzXS/batch_rename
...
Favor selection over current for nmv
2021-02-18 00:39:00 +05:30
Mischievous Meerkat
916910bd7a
Merge pull request #856 from KlzXS/cpmvrm
...
Add check for empty selection
2021-02-18 00:36:15 +05:30
KlzXS
8bdd4b2e2a
Use the fix you just implemented
2021-02-17 09:08:12 +00:00
KlzXS
54b7dc4756
Fix frozen terminal
...
xdg-open would launch a cli program that would contest the terminal for character input
2021-02-16 22:33:09 +00:00
KlzXS
c9c1d0d454
Favor selection over current for nmv
2021-02-16 21:46:56 +00:00
KlzXS
a27568824e
Add check for empty selection
...
nop when empty
2021-02-16 21:33:42 +00:00
Arun Prakash Jana
7e307bc2ff
Fix alignment
2021-02-11 21:04:37 +05:30
Mischievous Meerkat
e3c994bd36
Merge pull request #852 from 0xACE/badideascfg
...
state.runctx now retains bitwidth as cfg.curctx
2021-02-11 08:52:00 +05:30
0xACE
67962efbd5
state.runctx now retains bitwidth as cfg.curctx
...
Didn't test this out, but judging by the name of the variable this
should be a bugfix
2021-02-11 04:11:54 +01:00
Arun Prakash Jana
16de133fea
Retain a way to return to start dir if file opened
2021-02-11 05:26:51 +05:30
Arun Prakash Jana
600286b627
Always prefer selection over current file
...
If you have selected some files, you intend to work on them. Also, this prompt
expects <kbd>c</kbd> / <kbd>s</kbd> which should cancel the next prompt in the
delete workflow. Rest of the three workflows are non-fatal.
Benefits of removing this option:
- code reduction
- one less step in the relevant workflows (more than one prompt feels dragged)
This prompt shows in the following workflows:
- delete: users have explicitly requested to prefer sel over current
- batch rename: key <kbd>^R</kbd> renames a single file
- archive: in most of the cases the user would want to archive the selection
- create sym/hard link: not a frequently used workflow (in general)
2021-02-10 05:12:40 +05:30
Arun Prakash Jana
026f76f14c
Clear selection after successful plugin invocation
2021-02-10 04:25:08 +05:30
Mischievous Meerkat
d07c4907de
Merge pull request #851 from Lucas-Summers/master
...
adding support for ueberzug into plugins/preview-tui
2021-02-10 03:54:30 +05:30
Lucas Summers
8a12c01da4
fixed shellcheck errors for plugins/preview-tui
2021-02-09 10:32:32 -08:00
Lucas Summers
83232684a8
integrated ueberzug into plugins/preview-tui
2021-02-08 18:16:28 -08:00
Arun Prakash Jana
118657020e
Fix indentation in helpstr
2021-02-08 07:13:16 +05:30
Mischievous Meerkat
4178f62ece
Merge pull request #849 from uvelichitel/master
...
Correct umount fusefs on FreeBSD. rel. issue #848
2021-01-31 08:25:05 +05:30
uvelichitel
3776f72af1
Correct umount fusefs on FreeBSD
2021-01-31 00:47:09 +03:00
Mischievous Meerkat
d23cc2fe15
Merge pull request #840 from freddii/master
...
fixed wrong spelled words
2021-01-18 19:03:38 +05:30
Arun Prakash Jana
5d8738544b
Fix #839
2021-01-18 18:59:59 +05:30
freddii
50386ff511
fixed wrong spelled words
2021-01-18 13:55:28 +01:00
Mischievous Meerkat
86abd83dfd
Merge pull request #839 from bagnacauda/wall_update
...
Updated wall plugin to the standard utility file
2021-01-18 16:15:30 +05:30
Simone
f23452396e
Updated wall plugin to the standard utility file
2021-01-18 11:34:19 +01:00
Mischievous Meerkat
f4baa394be
Merge pull request #836 from KlzXS/makefile
...
Fix #835
2021-01-13 20:36:33 +05:30
KlzXS
7310a9a773
Fix #835
2021-01-13 14:13:07 +00:00
Robin Schneider
25eba96466
Use HTTPS everywhere (mechanical edit using util from https-everywhere)
...
```Shell
~/src/EFForg/https-everywhere/utils/rewriter/rewriter.js .
```
Ref: https://github.com/EFForg/https-everywhere/tree/master/utils/rewriter
Remove suspicious file
2021-01-07 08:32:59 +05:30
Arun Prakash Jana
c1e673b830
Update readme
2021-01-01 20:54:22 +05:30
Arun Prakash Jana
8e92ea8ad6
Update copyright year
2020-12-29 02:34:23 +05:30
Mischievous Meerkat
057c88a1e9
Merge pull request #822 from j0hnnybash/master
...
plugins: preview-tui: video thumbnails in preview-tui
2020-12-28 07:17:11 +05:30
johnnybash
37de198303
use trap to delete the temp files
2020-12-27 19:27:11 +01:00
johnnybash
4d77066b62
reuse image code, use more variables
2020-12-26 14:16:12 +01:00
johnnybash
a918a59856
video thumbnails in preview-tui
2020-12-21 16:24:18 +01:00
Mischievous Meerkat
66a8b69426
Merge pull request #818 from 0xflotus/patch-1
...
fix: small error
2020-12-18 19:42:51 +05:30
0xflotus
eb47a6c538
fix: small error
2020-12-18 14:42:22 +01:00
Arun Prakash Jana
18232f993d
Specify compilers explicitly
2020-12-17 08:45:41 +05:30
Arun Prakash Jana
12f3d0af61
Update docs
2020-12-17 07:45:02 +05:30
Mischievous Meerkat
558048b6cd
Merge pull request #816 from kyechou/master
...
Fix the same issue as #81 but with nuke
2020-12-16 02:15:35 +05:30
kyechou
f1ea3e3ceb
Fix the same issue as #81 but with nuke
2020-12-15 14:17:03 -06:00
Arun Prakash Jana
9946b37177
Fix togglex: handle filenames with spaces
2020-12-15 22:51:25 +05:30
Arun Prakash Jana
fc3a247c31
Minor plugin indentation update
2020-12-12 20:53:28 +05:30
Arun Prakash Jana
1ac4b9bd5a
Fix #813 : plugin togglex - toggle exe mode for selection
2020-12-12 20:05:58 +05:30
Arun Prakash Jana
a984b6a9e8
Update docs
2020-12-12 11:02:36 +05:30
Arun Prakash Jana
a31af54c00
Fix #812 : clear selection on single file deletion
2020-12-10 21:50:01 +05:30
Arun Prakash Jana
947c4a9faf
Checkpatch fixes
2020-12-10 01:33:17 +05:30
Arun Prakash Jana
4845ec72c5
Update docs
2020-12-06 09:15:20 +05:30
Arun Prakash Jana
7afd17d1c8
Update docs
2020-12-05 22:33:09 +05:30
Arun Prakash Jana
375df9f40b
Show tmp dir details in debug
2020-11-29 23:32:37 +05:30
Arun Prakash Jana
f4cb5c63d0
Revert "use $VISUAL environment variable for plugins"
...
This reverts commit 9f3fbd93ce
.
2020-11-28 10:03:05 +05:30
Arun Prakash Jana
b54fc95c43
Remove obsolete options
2020-11-27 18:29:04 +05:30
Arun Prakash Jana
5966927008
Minor refactor - browse()
2020-11-25 02:51:01 +05:30
Arun Prakash Jana
6555dd8cee
Limit lines of code per func to 900
2020-11-25 02:15:13 +05:30
Arun Prakash Jana
2ec9103859
Loop the command prompt
2020-11-24 23:48:48 +05:30
Mischievous Meerkat
d54033089c
Merge pull request #804 from angelskieglazki/master
...
Update config.yml
2020-11-23 22:50:55 +05:30
max
9a7e27c334
Update config.yml
2020-11-23 20:15:48 +03:00
Mischievous Meerkat
9270d4a044
Merge pull request #800 from tchici/master
...
use $VISUAL environment variable for plugins
2020-11-22 21:55:08 +05:30
tchici
9f3fbd93ce
use $VISUAL environment variable for plugins
...
falls back to previous behavior if $VISUAL is not set ($EDITOR then vi)
2020-11-22 16:18:06 +00:00
Mischievous Meerkat
be34af5aeb
Merge pull request #799 from tchici/master
...
nuke plugin: use $VISUAL environment variable
2020-11-22 21:34:46 +05:30
tchici
ea81864e03
nuke plugin: use $VISUAL environment variable
...
falls back to previous behavior if $VISUAL is not set ($EDITOR then vi)
2020-11-22 15:54:02 +00:00
Arun Prakash Jana
9e3bd377b0
Remove trailing spaces
2020-11-22 20:54:49 +05:30
Arun Prakash Jana
a7fd4957dd
shellcheck fixes
2020-11-22 20:30:52 +05:30
Arun Prakash Jana
63315c88d2
Circle CI - move to Ubuntu 20.04
2020-11-22 19:25:18 +05:30
Arun Prakash Jana
58bb63633d
Fix build error
2020-11-22 03:58:37 +05:30
Mischievous Meerkat
d0a7d61bd2
Integrate GH CI, retire Travis
2020-11-22 03:03:24 +05:30
Marco Grunert
6f7a4f723b
inotify is available only on Linux
2020-11-21 21:32:18 +05:30
Arun Prakash Jana
b4b3ee4868
Key A to invert selection
2020-11-20 01:08:53 +05:30
Arun Prakash Jana
7f605ab995
Let ^L exit filter mode and redraw if no last filter
2020-11-19 23:30:32 +05:30
Arun Prakash Jana
a443a321ef
Fix #786 : memccpy() detects buffer overlap on macOS
2020-11-19 09:38:17 +05:30
Arun Prakash Jana
8735f11c58
Show msg on invalid list input, remove dep
2020-11-18 23:40:23 +05:30
Arun Prakash Jana
d38f4b13d4
Fix #784 : support msys2 compilation
2020-11-18 04:07:40 +05:30
Arun Prakash Jana
aefe962182
Revert to dev tag
2020-11-17 08:55:12 +05:30
Arun Prakash Jana
f6cc2e6161
Prepare for release v3.5 Freddie
...
Code named after Freddie Mercury: https://en.wikipedia.org/wiki/Freddie_Mercury
2020-11-17 08:19:09 +05:30
Arun Prakash Jana
b528bc734b
Update ToDo list link
2020-11-15 20:31:31 +05:30
Arun Prakash Jana
9e40110731
Add a useful tip.
2020-11-14 19:23:09 +05:30
Arun Prakash Jana
e6d510bed0
Update docs
2020-11-14 15:41:25 +05:30
Arun Prakash Jana
0bfc590f90
upx compress all static binaries before upload
2020-11-14 10:56:18 +05:30
Arun Prakash Jana
13923117dc
Update help
2020-11-14 10:05:51 +05:30
Arun Prakash Jana
74cd15c232
Q - error & quit if no selection, else pick & quit
2020-11-13 12:40:57 +05:30
Arun Prakash Jana
b09adb4654
Update docs
2020-11-13 11:57:34 +05:30
Arun Prakash Jana
7afc3eeedd
Fix #777 : input stream ishould trump -s/-S
...
If an input stream is available, prioritize that over sessions. find/grep
syntax can be very complex and can be scripted. On the contrary, sessions
can be loaded at runtime and the persistent session can be "restored".
An interesting use case is the listing is done in picker mode from a script
and the user expects to "pick" some entries among the listed search results.
Another important change is - if the user tries to load the "last session"
explicitly by name instead of using the session option _restore_, we should
not overwrite the "last session" ("@") before loading the it.
2020-11-13 11:37:28 +05:30
Arun Prakash Jana
1c4bc318f5
Update plugin
2020-11-12 08:17:14 +05:30
Arun Prakash Jana
52b87a2492
Clean-up help
2020-11-10 20:12:49 +05:30
Arun Prakash Jana
c674cb5934
Fix #775 : quit on double Esc
2020-11-10 19:13:38 +05:30
Arun Prakash Jana
1418ecde0d
Skip rm invocation when no files to delete
2020-11-10 00:36:16 +05:30
Arun Prakash Jana
8b9e0edc94
Update plugin notes and table
2020-11-08 21:37:19 +05:30
Mischievous Meerkat
7b3b41093e
Merge pull request #765 from KlzXS/dups
...
Modified dups to allow selecting files for removal
2020-11-08 17:51:11 +05:30
KlzXS
49936d1ca2
Clear up which files are removed
2020-11-08 12:20:36 +00:00
KlzXS
81953dd571
Wording
2020-11-08 11:28:28 +00:00
KlzXS
d4c1986a95
sed fixes
2020-11-07 22:39:34 +00:00
KlzXS
e8803b8b64
Fix shellchek error
2020-11-07 12:58:48 +00:00
Arun Prakash Jana
75a4123f5a
Minor changes
2020-11-06 08:02:13 +05:30
KlzXS
05bf019fbb
Add some prompts
2020-11-06 00:13:35 +00:00
Arun Prakash Jana
d8d43ca85f
Fix locker not invoked
2020-11-05 20:40:31 +05:30
Arun Prakash Jana
9f6808a35a
make target upx ( https://upx.github.io/ )
2020-11-02 00:02:47 +05:30
Arun Prakash Jana
7b233c215c
Update README
2020-11-01 18:44:40 +05:30
Arun Prakash Jana
30edbeee6c
Update Haiku Makefile
2020-10-31 21:35:02 +05:30
Arun Prakash Jana
0b31414c9a
make option O_NOUG to compile out user group info
2020-10-31 21:22:01 +05:30
Arun Prakash Jana
ff5685b64d
Option -U to show user and group in status bar
2020-10-31 20:48:05 +05:30
Mischievous Meerkat
aabbf6ddcb
Merge pull request #768 from voodoologic/master
...
Plugin readme improvement
2020-10-31 11:32:16 +05:30
Doug Headley
2b3b0990cc
Plugin readme improvement
2020-10-30 22:00:46 -07:00
Arun Prakash Jana
3737527ba9
Update doc
2020-10-23 00:05:12 +05:30
KlzXS
afdba193e4
Fix filenames with spaces not working
2020-10-21 17:46:31 +00:00
KlzXS
782df96080
Modified dups to allow selecting files for removal
2020-10-21 17:03:03 +00:00
Arun Prakash Jana
57163ffa5d
Update plugin
2020-10-21 10:50:56 +05:30
Tim Adler
f3e122fc32
Support zoxide for jumping ( #764 )
...
* Create zoxide
* Delete zoxide
* Add files via upload
2020-10-21 10:03:56 +05:30
Arun Prakash Jana
65bffda6eb
Fix build break
2020-10-20 18:20:59 +05:30
Arun Prakash Jana
56757860d4
Generate static binaries with icon support
2020-10-20 17:59:39 +05:30
Arun Prakash Jana
234f7ae563
Fix #763 : Revert "Fix #759 " (makes nnn hang when used in a script)
...
This reverts commit c074572748
.
2020-10-18 03:59:05 +05:30
Arun Prakash Jana
7b870281aa
Update docs
2020-10-17 14:24:53 +05:30
Placido Fernandez
d38bed58b2
fix bookmarks plugin on empty output ( #762 )
...
* fix bookmarks plugin on empty output
* fix indentation
* remove redundant new line
2020-10-15 23:06:36 +05:30
Arun Prakash Jana
dbf12ed031
Fix indentation
2020-10-15 08:08:50 +05:30
Arun Prakash Jana
c074572748
Fix #759
2020-10-15 08:07:32 +05:30
Placido Fernandez
ed53c54ba2
fix fzf bookmarks plugin environment variable ( #756 )
...
* fix fzf bookmarks plugin environment variable
* fix for POSIX
2020-10-13 17:50:28 +05:30
Arun Prakash Jana
1b1842c354
Udpate badge
2020-10-12 17:30:41 +05:30
Tim Gates
bfcf296334
docs: fix simple typo: sdtout -> stdout ( #755 )
2020-10-12 15:02:58 +05:30
Arun Prakash Jana
d15b47ab86
Update docs
2020-10-11 20:14:37 +05:30
Arun Prakash Jana
afe0b0a7bd
Fix #739 #753
2020-10-10 07:38:57 +05:30
Arun Prakash Jana
881ea36f11
Fix #750 : add more clarity to unmount help
2020-10-08 05:33:43 +05:30
Arun Prakash Jana
43acb25255
Update issue template
2020-10-07 18:52:52 +05:30
Arun Prakash Jana
8bbe7e9896
Update docs
2020-10-03 15:36:51 +05:30
Arun Prakash Jana
499127c698
Fix #741
2020-10-02 08:41:09 +05:30
Arun Prakash Jana
99e32f26f5
Update docs
2020-10-01 16:44:37 +05:30
Arun Prakash Jana
04e1b03fd1
Update docs
2020-09-30 22:31:52 +05:30
Arun Prakash Jana
5d955c772e
Update docs
2020-09-30 00:29:27 +05:30
Mischievous Meerkat
25770e8c0e
Update README.md
2020-09-29 22:59:26 +05:30
Arun Prakash Jana
0581c3f1c7
Fix indentation
2020-09-29 20:13:17 +05:30
Arun Prakash Jana
c235c0f5c8
Merge remote-tracking branch 'origin/fix-rollover-bug'
2020-09-29 20:07:48 +05:30
lvgx
78e576ae24
Fix rollover bug ( #747 )
...
* Fix rollover bug
Fixes #743
* Snap to edges in no rollover multiline scroll mode
* Style fix
2020-09-29 20:05:59 +05:30
lvgx
6067a91ae6
Style fix
2020-09-29 16:22:49 +02:00
lvgx
d1d4c4ad22
Snap to edges in no rollover multiline scroll mode
2020-09-29 16:13:57 +02:00
lvgx
d9c0c08698
Fix rollover bug
...
Fixes #743
2020-09-29 15:41:22 +02:00
Arun Prakash Jana
b5232de642
Update docs
2020-09-29 01:11:26 +05:30
Arun Prakash Jana
51009f8241
Fix #744
2020-09-28 22:13:33 +05:30
Arun Prakash Jana
627c5cfc36
Use inline for once-used function
2020-09-26 23:17:25 +05:30
Arun Prakash Jana
1d903a8c90
Fix #740
2020-09-26 23:04:27 +05:30
Arun Prakash Jana
55f2a0823a
Let buffer for current path be auto-allocated
2020-09-26 00:50:11 +05:30
Arun Prakash Jana
2e870f3879
Range selection: replace ^K by ^Space
2020-09-24 17:32:49 +05:30
Arun Prakash Jana
faddaa5c3a
make option O_NOSSN to compile out session
2020-09-20 12:13:00 +05:30
cdarkly
88256206d7
preview-tabbed will now exit with ^C ( #734 )
...
* preview-tabbed will not exit with ^C
* preview-tabbed will not exit with ^C
2020-09-19 22:25:53 +05:30
Arun Prakash Jana
56621705e8
Fix #728
2020-09-18 20:45:47 +05:30
Arun Prakash Jana
56dec17840
Fix #735
2020-09-18 20:33:21 +05:30
Arun Prakash Jana
e25dc108bf
Color for vtt sub icons
2020-09-18 05:58:38 +05:30
Arun Prakash Jana
d11992c8f0
Color more doc type icons
2020-09-18 05:54:44 +05:30
Arun Prakash Jana
02b3f65dbe
Revert "Update image"
...
This reverts commit 01455b3d3a
.
2020-09-17 07:05:47 +05:30
Arun Prakash Jana
01455b3d3a
Update image
2020-09-17 06:58:53 +05:30
Arun Prakash Jana
07e994788a
Fix #730
2020-09-15 19:06:43 +05:30
Toni Jarjour
240c0e5fed
sxiv automatically plays animations (part2) ( #732 )
...
* sxiv automatically plays animations (part2)
* Update imgview
* Update imgview
2020-09-15 08:29:50 +05:30
Toni Jarjour
1912cee957
make sxiv automatically play animations ( #731 )
2020-09-14 22:31:32 +05:30
Dave Snider
1fc1b8be8b
Add nerdfont defs file and normalize vars ( #722 )
...
* Add nerdfont defs file and normalize vars
* some cleanup
* address feedback
* one more spacing issue
* address feedback
2020-09-14 22:09:52 +05:30
Arun Prakash Jana
868c1898d3
Update docs
2020-09-13 21:36:12 +05:30
Arun Prakash Jana
12c09e85e3
Update tagline
2020-09-11 03:13:08 +05:30
Arun Prakash Jana
2ddabf19e0
Fix #724
2020-09-09 01:17:20 +05:30
Mischievous Meerkat
578912e75e
Merge pull request #725 from 0xACE/previewtab-no-one-left-behind
...
preview-tabbed now kills lingering viewer
2020-09-09 00:55:17 +05:30
0xACE
858794fd27
preview-tabbed now kills lingering viewer
2020-09-08 13:21:43 +02:00
Arun Prakash Jana
d11b07fd01
Update docs
2020-09-06 14:41:09 +05:30
Arun Prakash Jana
835f0c16d6
Honor -C for context colors
2020-09-06 06:06:59 +05:30
Arun Prakash Jana
055652d979
Update docs
2020-09-05 08:28:42 +05:30
Arun Prakash Jana
f21ed23273
Update docs
2020-09-02 22:01:30 +05:30
Arun Prakash Jana
1696455a6f
Ad instruction on reserved bitfield
2020-09-02 01:36:56 +05:30
Arun Prakash Jana
0b0605813d
Update auto-completion scripts
2020-09-01 23:06:26 +05:30
Arun Prakash Jana
02bb398550
Option -D to show dirs in context color
2020-09-01 22:58:03 +05:30
FriendlyNeighborhoodShane
a8afbf89d5
Add option to not move to next entry on select ( #713 )
2020-08-30 05:32:40 +05:30
Arun Prakash Jana
279f36f628
Fix #716
2020-08-30 04:34:40 +05:30
Dave Snider
3bd115ef93
Add comment for imv command in imgview plugin. Check with which instead of version ( #715 )
...
* change version checks to `which` instead. add comments around imvr in linux
* add which checks for renamer and preview-tui as well
2020-08-30 04:26:55 +05:30
Dave Snider
f79af220c7
Small plugin for jump. Also adds check for NNN_PIPE to autojump plugin ( #714 )
...
* Add jump plugin to nnn
* indents
* Readme for plugin
* add pipe check to autojump
* indents to 4
Merge plugins jump and autojump
2020-08-29 05:36:19 +05:30
Arun Prakash Jana
2f61b0910d
Cycle time, size, clear order at sort prompt with ^T
2020-08-28 02:02:23 +05:30
Arun Prakash Jana
df264fa6cd
Larger image.
2020-08-23 22:12:12 +05:30
majjejjam
3087c21be5
Added space after period ( #711 )
2020-08-23 18:48:58 +05:30
lvgx
bcbe8080be
Add support for Alexey Tourbin's QSORT code ( #708 )
...
* Add support for Alexey Tourbin's QSORT code
See https://github.com/svpv/qsort
* Add benchmark scripts and compilation mode
Compile with `make O_BENCHMARK=1`, and run benchmarks with e.g.:
./misc/test/benchmark.sh ./nnn '/' '/usr/bin' '/usr/lib' > benchdata
You can then plot basic violin graphs with:
./misc/test/plot-bench.py benchdata
* Update style, doc, haiku support, fix lint
2020-08-21 08:15:45 +05:30
Jake Secunda
d37356a936
Haiku: Some small fixes to the recipe and resource file ( #707 )
...
* Haiku: Some small fixes to the recipe and resource file
Whoops...just some small fixes.
* Update nnn.rdef
Co-authored-by: Jana <engineerarun@gmail.com>
2020-08-20 22:21:28 +05:30
Gregory Anders
1afdd48f5d
nuke: use macOS open when GUI enabled ( #705 )
...
* nuke: use macOS open when GUI enabled
* nuke: use is_mac function to test for macOS
This is consistent with how the imgur plugin does detection.
* Add macOS open command to plugins
* pskill: only execute if input is non-empty
2020-08-20 14:51:26 +05:30
Arun Prakash Jana
d788566268
Add vim-floaterm nnn wrapper
2020-08-19 23:35:11 +05:30
Arun Prakash Jana
6627f8f272
Update Haiku Makefile
2020-08-18 17:21:21 +05:30
Arun Prakash Jana
9c20f43410
Prepare for release v3.4
2020-08-18 15:33:49 +05:30
Arun Prakash Jana
551e9ca7e5
Fix #704
2020-08-18 13:15:21 +05:30
Arun Prakash Jana
351ddb1dd7
Update docs
2020-08-18 13:08:10 +05:30
Arun Prakash Jana
faea2915f4
Minor refactor
2020-08-17 23:25:27 +05:30
Arun Prakash Jana
ba2040afec
Icons and colors
2020-08-17 20:29:33 +05:30
Arun Prakash Jana
6a4ff8b825
Update docs
2020-08-17 14:08:04 +05:30
Arun Prakash Jana
b5c7d41d9b
More icons
2020-08-17 02:55:21 +05:30
Arun Prakash Jana
1e72069378
More icons
2020-08-16 19:46:09 +05:30
Arun Prakash Jana
cc82403be4
More icon extns, reserve number entries
2020-08-16 16:51:55 +05:30
Arun Prakash Jana
5db2298956
Support icon-specific colors
2020-08-16 13:49:09 +05:30
Arun Prakash Jana
d86810a425
Minor reformat
2020-08-16 06:54:47 +05:30
KlzXS
a85467d462
Icons ( #697 )
...
* Add icons
* Fix build break
* Fix icon position in detailed mode
* Various fixes
* Provision for icon specific colors
No icons with oldcolor. Small optimizatons
* Update Makefiles
Small refinement for other matching
2020-08-16 06:30:58 +05:30
Arun Prakash Jana
1998b88c14
Update docs
2020-08-15 21:54:56 +05:30
Arun Prakash Jana
8a82c58a2a
More appropriate enum name
2020-08-15 20:21:22 +05:30
Arun Prakash Jana
5fa16dbd15
Force accurate regex match
2020-08-15 17:32:27 +05:30
Anarchiste
7d672411bb
Adding support for `most` pager ( #698 )
...
* Added support of most
* Only test if bat exists
* Faster this way
* Don't test for bat'
2020-08-15 07:33:16 +05:30
Arun Prakash Jana
9459b15672
Simplify and preprocess archive handling
2020-08-14 08:20:01 +05:30
Arun Prakash Jana
fbd5e77ec1
Initialize all make options
2020-08-14 00:02:54 +05:30
Jana
0c93b170c8
Merge pull request #696 from ucs1/revert-escdelay
...
Fix arrow keys not working on mintty
2020-08-12 19:02:57 +05:30
ucs
52d3d514ce
Revert "Set Escape delay to 0"
...
An ESCDELAY of 0 can break long escape sequences, such as the arrow keys,
on slower terminals.
This reverts commit 2599564e64
.
2020-08-12 11:55:15 +02:00
Jana
fb454a5046
Merge pull request #693 from CodeforEvolution/haikuUpdate
...
Haiku: General fixup, add icon, add rdef file
2020-08-11 22:20:01 +05:30
Jana
dc488857e1
Merge pull request #694 from ucs1/fix-readdir
...
Fix inability to enter directories on an XFS filesystem on top of an md device
2020-08-11 22:18:25 +05:30
ucs
dd6976dfad
Fix some directories not opening
2020-08-10 13:02:47 +02:00
CodeforEvolution
6f9571a805
Haiku: General fixup, add icon, add rdef file
...
- Add a native vector icon for Haiku (it hasn't been Haiku-ified yet however)
- Add a rdef file (specifies application metadata)
- Add clipboard support, notififcation support, and basic nuke support
- Fix support for fortunes on Haiku ("-s" option is not available on Haiku)
- Cleanup Haiku recipe
2020-08-09 22:19:51 -05:00
Arun Prakash Jana
90e0d5e3d6
Update docs
2020-08-10 03:19:31 +05:30
Arun Prakash Jana
aa8769ecee
Reduce a check
2020-08-09 14:04:27 +05:30
Arun Prakash Jana
966fe839ee
Support traversal on creation, update docs
2020-08-08 10:42:37 +05:30
Arun Prakash Jana
c566afd819
Revert "Move helper APIs to header file"
...
This reverts commit 1fecdb2393
.
2020-08-07 23:16:17 +05:30
Arun Prakash Jana
1fecdb2393
Move helper APIs to header file
2020-08-07 23:10:25 +05:30
Arun Prakash Jana
7dbf1ca3b7
Update docs
2020-08-06 10:22:17 +05:30
Arun Prakash Jana
75c34d5f68
Fix #692 (partially)
2020-08-06 01:30:56 +05:30
Arun Prakash Jana
5e3a793480
File colors is independent of context colors
2020-08-06 01:06:21 +05:30
Arun Prakash Jana
8ddc659df8
Initialize file type colors as default
2020-08-06 00:27:12 +05:30
Arun Prakash Jana
f712441eda
Utility functions to top, API to get file extn
2020-08-05 20:36:50 +05:30
Arun Prakash Jana
a1b43ae830
Show locaiton in context color
2020-08-05 20:05:27 +05:30
Arun Prakash Jana
8c2e1726ba
Show file details in file missing colors
2020-08-05 16:35:45 +05:30
Arun Prakash Jana
13ccf25551
Set dir to bold only if required
2020-08-05 13:12:11 +05:30
Arun Prakash Jana
b1ff36eb05
Code reformat
2020-08-05 12:59:54 +05:30
Arun Prakash Jana
11cc2797bb
Show dirs in bold
2020-08-05 00:11:56 +05:30
Arun Prakash Jana
3a61b3fc7f
Fix build break
2020-08-04 22:25:17 +05:30
Arun Prakash Jana
66bb5a67d6
Update docs
2020-08-04 22:19:01 +05:30
Arun Prakash Jana
ef2d5a54d2
Support file colors in detail mode
2020-08-04 21:02:19 +05:30
Arun Prakash Jana
42fd2a4d13
Program option to use older
2020-08-04 20:36:19 +05:30
Arun Prakash Jana
ae961da157
Support file colors
2020-08-04 19:22:29 +05:30
Arun Prakash Jana
ccfccb7187
Detect odd hex symbols in NNN_COLORS
2020-08-04 00:42:58 +05:30
Arun Prakash Jana
8d94809897
Identify orphaned symlinks
2020-08-03 23:55:14 +05:30
Arun Prakash Jana
33953147d6
Use wrapper API
2020-08-03 22:25:42 +05:30
Arun Prakash Jana
f03ddb587c
Fix #691
2020-08-03 14:57:00 +05:30
Arun Prakash Jana
2fbb6ae35f
Minor reformat
2020-08-02 23:58:52 +05:30
Arun Prakash Jana
b3f2e47173
Revert "Reduce processing if NNN_COLORS is unset"
...
This reverts commit b948423a80
.
2020-08-02 23:18:13 +05:30
Arun Prakash Jana
b948423a80
Reduce processing if NNN_COLORS is unset
2020-08-02 23:15:48 +05:30
Arun Prakash Jana
359b6f7a37
Clear selection list after copy
...
Without this, there is a conflict with using the `-u` option (use selection).
After copying selected files, the selection is intact and if the user issues
a deletion next, the source files (meant for copying) are deleted.
2020-08-02 19:16:15 +05:30
Arun Prakash Jana
d5e303beb7
Fix illegal access
2020-08-02 17:03:35 +05:30
Arun Prakash Jana
83fa6a0ff6
Support xterm 256 color
2020-08-02 16:28:25 +05:30
Arun Prakash Jana
110a4eb108
Avoid redundant printw() call for order
2020-08-02 00:54:07 +05:30
Arun Prakash Jana
9bad3c9399
Show selection in reverse in status bar
2020-08-02 00:40:51 +05:30
Arun Prakash Jana
1fb1ab55a7
Fix build break
2020-08-01 23:31:30 +05:30
Martin Roa Villescas
e557bd2ed9
Write last dir on quit in vim picker mode
2020-08-01 22:53:27 +05:30
Arun Prakash Jana
defc1965ee
Code reduction
2020-07-22 20:19:38 +05:30
Arun Prakash Jana
32ec37a796
Create mountpoint by hostname, clear prompt
2020-07-22 17:57:15 +05:30
Arun Prakash Jana
f4ff4b0793
Fix #684 : support path appended to hostname
2020-07-22 17:00:45 +05:30
Arun Prakash Jana
a58c65a51a
Fix #685 : indicator H fo hidden
2020-07-21 22:30:30 +05:30
Arun Prakash Jana
e2febc986b
Pro-deletion jokers from Wikipedia can go to hell!
...
There's a specific problem with control in the hands of random jokers - it's abused.
Ref: https://en.wikipedia.org/wiki/Wikipedia:Articles_for_deletion/Nnn_(file_manager)
2020-07-21 18:59:00 +05:30
Jan Meischner
474ad74f25
Allow absolute paths returned by fzf in fzcd plugin ( #682 )
...
* Allow absolute paths returned by fzf in fzcd plugin
* Fix issue with POSIX syntax
* Add descriptive comment
* Add comment
* Remove description
* Add new line at the end of the file
Co-authored-by: Jan Meischner <jan.meischner@verimi.com>
2020-07-21 13:27:56 +05:30
Jason
dacf7b0811
Fix typo ( #679 )
2020-07-15 04:49:13 +05:30
Arun Prakash Jana
f17911e189
Prepare for release v3.3
2020-07-14 05:50:22 +05:30
Arun Prakash Jana
a02ff64e9c
Update help
2020-07-13 00:20:12 +05:30
Arun Prakash Jana
387bd048e7
Alt+Esc to exit nav-to-type and redraw
2020-07-13 00:00:34 +05:30
Arun Prakash Jana
890425c08c
Add a note that Esc cancels
2020-07-09 20:30:30 +05:30
Arun Prakash Jana
1d8a14c6b4
Fix #675
2020-07-09 20:25:39 +05:30
lvgx
53bbcbc223
Update preview-tui ( #674 )
...
Co-authored-by: akimdi <akimdi@users.noreply.github.com>
2020-07-08 20:53:35 +05:30
Arun Prakash Jana
d3e20e9015
Use the term mark instead of pin
2020-07-07 07:57:43 +05:30
Arun Prakash Jana
6fa4978230
Pin dir when visitng target file in find and list
2020-07-07 07:29:38 +05:30
Arun Prakash Jana
509f069818
Add quick find (fd) and grep (rg) plugin examples
2020-07-06 23:43:48 +05:30
Arun Prakash Jana
709e7bd7dd
Remove snprintf() from start-up path
2020-07-04 23:01:36 +05:30
Arun Prakash Jana
1faf9f2480
Revert "Simplify check"
...
This reverts commit 37e5e6189a
.
2020-06-28 20:33:54 +05:30
Arun Prakash Jana
4178aaa98e
Copy the correct length
2020-06-28 00:52:24 +05:30
Arun Prakash Jana
90cf84186a
Minor refactor
2020-06-28 00:09:48 +05:30
Arun Prakash Jana
06651f3f00
Fix build break
2020-06-27 23:48:23 +05:30
KlzXS
45d96ee60d
Add relative paths support for cp/mv as ( #668 )
2020-06-27 23:16:17 +05:30
Arun Prakash Jana
cb9e785145
Fix build break
2020-06-27 23:14:14 +05:30
Arun Prakash Jana
56b96cbf74
Pin current path on archive/remote mount
2020-06-27 22:22:20 +05:30
Arun Prakash Jana
b3820df863
Update docs
2020-06-27 21:08:55 +05:30
Arun Prakash Jana
37e5e6189a
Simplify check
2020-06-25 19:59:47 +05:30
Sijmen J. Mulder
235eb29614
Fix check when char is unsigned ( #665 )
...
If char is unsigned (as on ARM) subtracting a larger number would
result in a wrap around, not a negative value.
src/nnn.c: In function 'readpipe':
src/nnn.c:4325:11: warning: comparison is always false due to limited
range of data type [-Wtype-limits]
if (ctx < 0 || ctx > CTX_MAX)
^
2020-06-24 04:35:42 +05:30
Sijmen J. Mulder
3686ef756a
Always use builtin alloca() ( #666 )
...
Fixes the build on NetBSD 9 on arm64.
GCC expands alloca() to __builtin_alloca() but only in nonstandard mode,
e.g. when -std=... is not supplied. In standards mode (with -std=...)
alloca() is left undefined by GCC. The C library may define it but it
also may not, as on NetBSD on arm64:
$ uname -srp
NetBSD 9.0 aarch64
$ cat alloca.c
#include <stdlib.h>
int main() { char *p = alloca(10); }
$ gcc alloca.c
$ gcc -std=c99 alloca.c
alloca.c:(.text+0xc): warning: Warning: reference to the libc
supplied alloca(3); this most likely will not work. Please use the
compiler provided version of alloca(3), by supplying the
appropriate compiler flags (e.g. not -std=c89).
ld: alloca.c:(.text+0xc): undefined reference to `alloca'
The fix is to either not use standards mode (undesirable) or to
explicitly use the builtin, which is what this patch does.
This is also sufficient for Solarius/Illumos so that check and include
are removed.
2020-06-24 04:17:05 +05:30
Arun Prakash Jana
306af787ca
Add -Wshadow to CFLAGS and fixes
2020-06-22 09:17:59 +05:30
KlzXS
6147dc9a85
Add plugin bulknew ( #662 )
...
* Add plugin bulknew
* Update documentation
* Update dependencies
* Add whitespace note
2020-06-20 15:39:32 +02:00
Arun Prakash Jana
28bf18adab
Update contributing guideline
2020-06-19 07:35:05 +05:30
lvgx
7a1a4e293e
Avoid SIGWINCH interruptions of NNN_PIPE IO ( #659 )
...
Fixes #656
2020-06-19 07:10:37 +05:30
Mario
9b5b2b544c
Initial CONTRIBUTING.md ( #655 )
2020-06-18 09:06:27 +05:30
Arun Prakash Jana
d7e5e420eb
Update docs
2020-06-16 19:09:31 +05:30
akimdi
6548a0fa7c
added support webp format ( #652 )
...
* added support webp format
* update nuke plugin with support webp format
2020-06-16 19:08:46 +05:30
Arun Prakash Jana
4b4bf6cca5
Option -u to disable current/selection prompt
2020-06-15 19:54:44 +05:30
Arun Prakash Jana
d9b8b0e821
Clear selection after some operations (see notes)
...
Selection is cleared after successful:
- file removal
- batch rename
- link creation
However, selection is not cleared after:
- archive creation: user may want to delete the files after archiving
2020-06-15 19:13:08 +05:30
Arun Prakash Jana
251a9a2e9c
Update docs
2020-06-14 11:15:41 +05:30
Arun Prakash Jana
7c802cce60
Show '+' in statusbar instead of 's' for selection
2020-06-14 09:56:34 +05:30
Arun Prakash Jana
b3076e35d6
Refactor key-val pair parsing
2020-06-14 00:31:48 +05:30
Arun Prakash Jana
a1ec2236d8
Make once-used function inline
2020-06-14 00:09:16 +05:30
Arun Prakash Jana
d92cecba6c
Update docs
2020-06-12 17:00:04 +05:30
Mario
5a565675c0
Sane tree defaults and viu support ( #649 )
2020-06-11 18:45:54 +05:30
Ian R
1f22da2994
Feature #534 : Support hardware cursor sync
2020-06-11 11:30:43 +05:30
Arun Prakash Jana
2d5952fef7
Update docs
2020-06-11 11:11:35 +05:30
Arun Prakash Jana
0f67e1ff7d
support imv in imgview and nuke
2020-06-11 01:49:40 +05:30
Arun Prakash Jana
a103f513c3
Use Firefox Send for upload if ffsend is found
2020-06-10 23:32:03 +05:30
Arun Prakash Jana
ef0e973134
Add hx as alternative hex viewer
2020-06-10 22:33:59 +05:30
Doron Behar
92ff1447c0
preview-tui: make scope & pistol run before `file` ( #647 )
...
Both Pistol and `scope.sh` are run `file --mimetype` or an equivalent, internally.
Thus, for speed, it's better to run them before almost anything else.
2020-06-10 13:20:38 +05:30
Mario
7b68844a05
Pistol support ( #646 )
2020-06-10 06:11:57 +05:30
Mario
9130db3e75
Kitty splits ( #643 )
...
* Easier to browse plugin README.md
* Splits are inverted
* trying to fix kitty splits
* Correctly restores the kitty layout
* More clear comments
2020-06-10 05:56:15 +05:30
Mario
5a6078967b
Fixes environmental variables not being passed on preview-tui ( #644 )
2020-06-10 05:28:35 +05:30
Arun Prakash Jana
b3e2ffc2e6
Selection mode don't need to be persistent
2020-06-09 23:43:49 +05:30
Arun Prakash Jana
05b1db059e
Plugin run flags don't need to be persistent
2020-06-09 23:33:32 +05:30
Arun Prakash Jana
796334354e
Picker mode doesn't need to be persistent
2020-06-09 23:03:36 +05:30
Arun Prakash Jana
b481b23280
Retain order on session load
2020-06-09 22:26:35 +05:30
Mario
eeb802280d
preview-tui splits are inverted ( #642 )
...
* Easier to browse plugin README.md
* Splits are inverted
* $SPLIT clarification and default values for $SPLIT and $TERMINAL
2020-06-09 20:27:28 +05:30
Mario
c203ae7fa8
Easier to browse plugin README.md ( #641 )
2020-06-09 19:29:28 +05:30
Arun Prakash Jana
aea8f737f6
Update docs
2020-06-09 11:44:20 +05:30
Mario
a47d190654
Unified preview-tui and preview-kitty scripts ( #634 )
...
* Unified preview-tui and preview-kitty
* Remove preview-kitty
* No need to set $TERMINAL
* fix undeclared variable
* Integrated support for scope.sh
* Review fixes
* allow_remote_control must be enabled on kitty
* Documentation, kitty splits and images fallback
* fix restoring kitty layout
2020-06-09 07:16:35 +05:30
Arun Prakash Jana
c5f0a25e7e
Simplify subdir creation
2020-06-08 21:56:33 +05:30
Arun Prakash Jana
d19d8d5f02
Derive session and mount paths, shorten paths
2020-06-08 09:44:53 +05:30
Arun Prakash Jana
b62adec72c
Subdir 'mounts' for remote/archive mounts
2020-06-08 08:48:20 +05:30
Arun Prakash Jana
fdfbac0386
Fix #639 : store NNNLVL in tmp var
2020-06-07 00:35:05 +05:30
lvgx
58411446b7
preview-kitty: fix crash on first file on dash ( #636 )
...
In the dash shell, when `exec < fifo` is interrupted by SIGCHLD, it exits.
So we replace it with `cat fifo |`.
Issue discussed in #614
2020-06-06 20:47:41 +05:30
Arun Prakash Jana
65cf067dc4
Fix #637 : remove mount dir after unmount
2020-06-06 16:22:32 +05:30
ncoder-1
4d4f72460d
Update preview-kitty ( #638 )
...
Fixed typo in preview-kitty.
2020-06-06 08:47:40 +05:30
Arun Prakash Jana
056ef8b23d
Update docs
2020-06-04 20:22:35 +05:30
KlzXS
1f3ce3ae94
Added selection prompt and README entry ( #633 )
2020-06-04 20:21:50 +05:30
Arun Prakash Jana
10a43a4fbb
Add Live Previews asciicast
...
Thanks @Kabouik!
2020-06-04 09:33:48 +05:30
lvgx
2acc7bd324
preview-tui: wait killed previewers ( #632 )
2020-06-04 08:23:04 +05:30
KlzXS
7b606e0e29
Added GPG encrypt and decrypt plugins ( #630 )
...
* Added GPG encrypt and decrypt plugins
* Made description more descriptive
2020-06-04 08:17:09 +05:30
Arun Prakash Jana
56eea7e195
Fix tmux version check
2020-06-04 03:41:42 +05:30
Todd Yamakawa
995fa1ceb6
bookmarks: Pipe error to PAGER and clean up code ( #631 )
...
Co-authored-by: Todd Yamakawa <todd.yamakawa@arm.com>
2020-06-04 00:47:46 +05:30
Arun Prakash Jana
58fd92c7ae
Add new ToDo list
2020-06-03 16:12:27 +05:30
Arun Prakash Jana
2fc115bddc
Esc to send hovered path to FIFO
2020-06-03 15:56:10 +05:30
Arun Prakash Jana
709c0d209e
Force notify on left click (right selects & updates)
2020-06-03 14:51:52 +05:30
Arun Prakash Jana
63e90c573b
Move Live Preview usage notes to Wiki page
2020-06-03 09:15:00 +05:30
Arun Prakash Jana
1dbbc45c78
Key | to send file path to FIFO
2020-06-02 16:50:06 +05:30
Arun Prakash Jana
61b4416e08
Refresh hovered for preview on mouse click
2020-06-02 16:29:26 +05:30
lvgx
01da467547
preview-tui: simplify, add generic fifo_pager() ( #625 )
...
* preview-tui: simplify, add generic fifo_pager()
I've commented new filetype checks for now, as we need to discuss which ones
should be included by default, keeping in mind that this is supposed to be a
minimal, adaptable plugin.
* preview-tui: preview with man, tar, unzip by default
2020-06-02 14:26:50 +05:30
Arun Prakash Jana
5dbb511ede
Keep preview-tui generic
2020-06-02 06:30:07 +05:30
Arun Prakash Jana
0ebc6db163
Fix #624 : wait for user input if cmd fails
2020-06-01 21:21:01 +05:30
Arun Prakash Jana
ca8bc8bf30
Support mime, extension in preview-tui
2020-06-01 19:22:16 +05:30
Arun Prakash Jana
f6d9a6b34d
Fix shellcheck
2020-06-01 15:19:34 +05:30
Arun Prakash Jana
9fddd416ca
Simplify preview-tui
2020-06-01 15:17:40 +05:30
Arun Prakash Jana
16356e9d06
Update preview-tui to adapt to terminal size
2020-06-01 14:12:34 +05:30
Arun Prakash Jana
52697e76d5
Workaround #621 : preview is updated on redraw (^L)
2020-06-01 13:36:02 +05:30
Sijmen J. Mulder
68b9185071
Wrap FILE_MIME_OPTS use in check ( #622 )
...
We leave it undefined on Solaris/Illumos because no such options exist,
so only use it if we have it.
2020-06-01 06:47:03 +05:30
Arun Prakash Jana
f5b5cf5fd7
Document non-repeat-refresh of file under preview
2020-06-01 01:40:02 +05:30
Arun Prakash Jana
8549121d86
Remove redundant key F5
2020-05-31 23:20:08 +05:30
Arun Prakash Jana
7263a5f89b
Do not auto-revive filter in nav-to-type mode
2020-05-31 23:05:59 +05:30
Arun Prakash Jana
4a2d978630
Simplify get_input()
2020-05-31 20:10:11 +05:30
Arun Prakash Jana
984cffecc4
Set the corrent keybind for plugin
2020-05-31 13:27:05 +05:30
Arun Prakash Jana
0b3e48ad41
Update template
2020-05-31 13:17:36 +05:30
Arun Prakash Jana
9de3a3c2ec
Update docs
2020-05-31 10:20:57 +05:30
Arun Prakash Jana
8e9c4ec88b
F5 to redraw (even with filter)
2020-05-30 23:25:01 +05:30
Arun Prakash Jana
04f9698d86
Retire ^S as select plugin
2020-05-30 22:02:55 +05:30
basbebe
3feae709ac
also send mutool to $PAGER ( #615 )
2020-05-30 18:48:12 +05:30
Arun Prakash Jana
309ed0ed67
Remove NNN_PIPE on exit
2020-05-30 15:31:37 +05:30
Arun Prakash Jana
9e09fb53a1
Update docs
2020-05-30 14:42:24 +05:30
Arun Prakash Jana
e3d90a98ce
Support make option O_CTX8 for 8 contexts
...
Note that this is not compatible with 4 contexts.
2020-05-30 07:01:34 +05:30
Arun Prakash Jana
4d291d0ac2
Use bitfields for runtime transient states
2020-05-30 06:45:45 +05:30
Arun Prakash Jana
32ab43a9ff
Handle number of contexts in a generic fashion
...
This supports using a power of 2 number of contexts like 2, 4 or 8.
Note that the number of contexts are not backward compatible. So if
user is having 8 contexts and plans to use 4, his sessions with > 1
contexts open may break.
We can have a make option to enable 8 contexts. 4 remains default.
2020-05-30 06:07:53 +05:30
Arun Prakash Jana
c48b8d02a1
Revert "Alt+Enter: clear filter and exit filter prompt"
...
This reverts commit 2232772db4
.
2020-05-30 05:24:41 +05:30
lvgx
f4acf23c15
Add -P to man ( #612 )
2020-05-30 05:17:06 +05:30
Mischievous Meerkat
e47a04865e
Merge pull request #607 from leovilok/signals
...
Cleanly handle SIGTERM and SIGHUP
2020-05-30 05:08:45 +05:30
lvgx
41dc17883a
Fix detecting end of evironment options ( #610 )
...
This allow using both NNN_OPTS and options with arguments from argv.
2020-05-30 04:51:16 +05:30
Léo Villeveygoux
75e8bf44be
Use sigaction() instead of signal()
2020-05-29 22:48:36 +02:00
Léo Villeveygoux
3426d0d0a3
Cleanly handle SIGTERM and SIGHUP
2020-05-29 22:48:36 +02:00
Arun Prakash Jana
2232772db4
Alt+Enter: clear filter and exit filter prompt
2020-05-29 22:16:36 +05:30
basbebe
0a318bd411
add 'wraps' attribute to allow autocompletion ( #606 )
2020-05-29 20:28:59 +05:30
Arun Prakash Jana
87bb2d7742
Remove F5 for toggle hidden (misfit)
2020-05-29 09:25:33 +05:30
Arun Prakash Jana
2599564e64
Set Escape delay to 0
2020-05-29 08:51:22 +05:30
Arun Prakash Jana
dd5a936bf4
Alt+Esc to clear filter and exit filter prompt
...
It's a little annoying that one has to press ^L followed by Esc to go back
to the normal view. We cannot reload the directory on Esc because that will
break the filter filtered view feature. So we take this route.
2020-05-29 08:50:33 +05:30
lvgx
135821aa52
preview-tui: directly call $PAGER on text files ( #599 )
2020-05-28 05:04:53 +05:30
lvgx
bbcd89c8d6
preview-tui: async version using $PAGER to scroll preview ( #597 )
2020-05-27 23:32:22 +05:30
SZ Lin (林上智)
b6762e292c
Fix typos ( #595 )
...
This is a trial patch to fix the typos
Signed-off-by: SZ Lin (林上智) <szlin@debian.org>
2020-05-26 09:34:11 +05:30
Arun Prakash Jana
e688188fa6
x86-64 to x86_64
2020-05-26 06:21:01 +05:30
Arun Prakash Jana
713bab21ea
Prepare for release v3.2
2020-05-26 05:38:38 +05:30
Arun Prakash Jana
9b7b9d80be
Use lock workflow
2020-05-24 12:59:14 +05:30
Arun Prakash Jana
d7fb77861f
Update templates
2020-05-24 11:09:09 +05:30
Arun Prakash Jana
38829e5610
Fix build break
2020-05-24 09:28:29 +05:30
Arun Prakash Jana
56886922a6
Select file if file path is passed
2020-05-24 03:33:39 +05:30
Arun Prakash Jana
c1f88d00ff
Fix filterfn not in sync with cfg.regex
2020-05-24 01:51:59 +05:30
Arun Prakash Jana
3527f68554
Add openSUSE Tumbleweed
2020-05-23 18:07:23 +05:30
lvgx
b1027150ed
Add -a option to generate a temporary NNN_FIFO ( #588 )
...
* Add -a option to generate a temporary NNN_FIFO
* Add documentation for -a option
* plugins/README.md: promote the use of -a
This obsoletes the global FIFO unlink trick, so I remove mentions of it.
@jarun update:
Polish -a
2020-05-23 17:40:51 +05:30
lvgx
c7af686b4e
preview-kitty polish (async version + text render for SVGs) ( #591 )
...
* preview-kitty: async version
The plugin now aborts slow file viewers.
* preview-kitty: use text mode preview for SVG
2020-05-23 15:59:51 +05:30
lvgx
adf381acee
Change binary file detection in preview-tui/kitty ( #587 )
2020-05-22 08:18:00 +05:30
Arun Prakash Jana
a4909beb44
Fix build break
2020-05-20 19:07:00 +05:30
Arun Prakash Jana
9e41c39138
Fix #582
2020-05-20 18:46:12 +05:30
Arun Prakash Jana
c6c1514c6b
Remove Fedora 29 (EOL)
2020-05-20 18:38:16 +05:30
lvgx
0c916ae7b0
Notify FIFO readers on exit (if any) ( #581 )
...
This allows to close preview windows opened just before exiting nnn.
2020-05-19 22:29:13 +05:30
Arun Prakash Jana
b465bf9427
Fix regression from commit 2200a1c
2020-05-19 17:54:36 +05:30
Arun Prakash Jana
709b2f229e
Fix build break
2020-05-19 08:50:04 +05:30
Arun Prakash Jana
1b5c3096ca
Option -P: specify plugin key to run on start
2020-05-18 09:05:19 +05:30
Arun Prakash Jana
cafcf1c485
Take to target on Right/l on symlink in list dir
2020-05-17 22:54:39 +05:30
Arun Prakash Jana
54d9a6e4f9
Update docs
2020-05-17 17:54:10 +05:30
lvgx
a17ef6699d
Add a preview-kitty plugin ( #577 )
2020-05-17 17:38:29 +05:30
Arun Prakash Jana
5ea6bc338b
Late handle blocked mimes
2020-05-17 00:46:49 +05:30
Arun Prakash Jana
74b95eb9bd
Fix #575
2020-05-16 15:31:34 +05:30
Arun Prakash Jana
0f01bd7d3a
Fix #573 : update docs
2020-05-15 00:13:55 +05:30
Arun Prakash Jana
124666cb38
Fix #571
2020-05-14 12:46:37 +05:30
Arun Prakash Jana
23770ed049
Update docs
2020-05-13 12:55:46 +05:30
lvgx
2200a1c9be
Allow launching plugins with Alt + plugin's key ( #569 )
...
* Allow launching plugins with Alt + plugin's key
* Fix Alt key in filter/prompts modes
* Fix handling Alt key in nextsel()
In filter mode: run the associated plugin.
In prompt mode: just throw out the Alt+key input.
In nextsel(): differentiate Alt+key and Esc
2020-05-13 12:29:47 +05:30
Arun Prakash Jana
770bb47daf
Add some space for badges
2020-05-12 19:50:25 +05:30
Arun Prakash Jana
38e61fb864
Skip printing and erasing
2020-05-12 15:15:47 +05:30
Arun Prakash Jana
dd4173551f
Update docs
2020-05-12 05:19:38 +05:30
Arun Prakash Jana
24d2bc9d3a
Add asciicast image
2020-05-11 19:45:01 +05:30
Arun Prakash Jana
f46ec76e99
Auto-lock old issues
2020-05-11 15:35:21 +05:30
Arun Prakash Jana
5f3faf613a
Do not leak wfd
2020-05-10 22:50:29 +05:30
Arun Prakash Jana
861d44f934
Simplify cd
2020-05-10 19:15:40 +05:30
Arun Prakash Jana
cfd4a66596
Fix #565 : chdir when dir is changed
2020-05-10 16:23:45 +05:30
Arun Prakash Jana
14beb0746f
Fix #564 : Option -l: number of lines to move on mouse scroll
2020-05-10 11:22:02 +05:30
Arun Prakash Jana
609561494f
Remove blocking pipe open in child
2020-05-10 11:19:13 +05:30
Arun Prakash Jana
f0535dbd76
Use standard exit status everywhere
2020-05-10 10:04:03 +05:30
Arun Prakash Jana
0b0166816a
Use exit status
2020-05-10 09:57:20 +05:30
Arun Prakash Jana
7718936737
Block data type
2020-05-10 02:18:02 +05:30
Arun Prakash Jana
1f51417c63
Fix reading from pipe when running plugin
2020-05-10 00:47:02 +05:30
Arun Prakash Jana
151bbf000d
Increase pipe capacity
2020-05-09 14:55:21 +05:30
Arun Prakash Jana
d71379e5b6
Minor doc update
2020-05-08 01:08:42 +05:30
Arun Prakash Jana
db3a46a197
Ignore -S when start dir is specified
2020-05-06 23:26:40 +05:30
lvgx
fcab64263e
preview-tui: ensure 1st hovered file is previewed ( #561 )
2020-05-06 22:55:14 +05:30
lvgx
11c9648774
getplugs: add "master" version support ( #560 )
...
Pass "master" as first argument to the script.
2020-05-06 22:36:19 +05:30
Arun Prakash Jana
2a5f8433b8
Ignore false lint issue
2020-05-06 21:28:59 +05:30
Arun Prakash Jana
900b37c56c
Mention tmux version required
2020-05-06 20:49:21 +05:30
Arun Prakash Jana
ab9f560fa8
Fix no preview update when dir changed with same entry number hovered
2020-05-06 19:29:46 +05:30
Arun Prakash Jana
ce06bf15d6
Fix broken dir read from pipe
2020-05-06 19:03:29 +05:30
Arun Prakash Jana
4832fc5fe1
Drop fzy support
2020-05-06 18:41:01 +05:30
Todd Yamakawa
c8ecf06c51
Add a bookmarks plugin that supports names ( #558 )
...
Co-authored-by: Todd Yamakawa <todd.yamakawa@arm.com>
2020-05-06 17:24:21 +05:30
Arun Prakash Jana
bf078c0a8a
Update docs
2020-05-06 15:02:50 +05:30
Arun Prakash Jana
8568cd6770
Change requires to dependencies
2020-05-06 10:59:57 +05:30
Arun Prakash Jana
cfbb8f2117
Uniform plugins
2020-05-06 10:42:50 +05:30
lvgx
f438ddc28c
preview-tui: fix tmux behaviour, del refs to nuke ( #559 )
...
As reported by @toddyamakawa
2020-05-06 09:54:31 +05:30
Léo Villeveygoux
5b34d0dbe7
Prevent open FIFO prom leaking to subprocess
...
This fix previews window staying open after nnn exits, because they
inherited open FIFO (in write mode) from parent nnn process, and never
close it.
2020-05-06 01:45:21 +02:00
Arun Prakash Jana
2ea3ce552a
Shorten column width
2020-05-06 04:47:35 +05:30
lvgx
ba51b36931
Add a tmux/xterm based text previewer plugin ( #557 )
...
Uses `NNN_FIFO`, minimal dependencies.
Co-authored-by: Todd Yamakawa <todd.yamakawa@arm.com>
Co-authored-by: Todd Yamakawa <todd.yamakawa@arm.com>
2020-05-06 04:38:10 +05:30
Arun Prakash Jana
c360f5c908
which prints to screen
2020-05-06 04:36:26 +05:30
Arun Prakash Jana
33c4b1e7a2
Update docs
2020-05-06 01:46:06 +05:30
Arun Prakash Jana
97df7df297
Minor previewer plugin update, docs update
2020-05-06 01:03:10 +05:30
lvgx
f47700a609
Add a tabbed/xembed based file previewer plugin ( #552 )
...
* Add a tabbed/xembed based file previewer plugin
This plugin is written in bash, because job control is not well
specified in POSIX sh (`jobs` can return anything).
We use `tabbed` [1] as a xembed [2] host, to have a single window
owning each previewer window.
Uses mpv, sxiv, zathura, and the nuke plugin.
[1]: http://tools.suckless.org/tabbed/
[2]: https://specifications.freedesktop.org/xembed-spec/xembed-spec-latest.html
* tabbed-preview: prevent focus steal with xdotool
* preview-tabbed: tabs->4 spaces
* preview-tabbed: add focus prevention timeout
2020-05-06 00:28:57 +05:30
Arun Prakash Jana
4c18f22587
Fix double free when starting in list mode
2020-05-05 23:35:14 +05:30
Arun Prakash Jana
a563c1a553
Update docs
2020-05-05 23:09:24 +05:30
0xACE
65da1c1941
Double click only works on same item ( #555 )
...
This patch disables accidental triggering of double clicking when you
are just single clicking on multiple objects fast.
2020-05-05 18:02:42 +05:30
0xACE
c9f0e279af
SEL_FIRST now displays the correct message ( #556 )
...
A bit scary when you get prompted to remove a file but you wanted to
select a file.
I also made sure all strings are correctly ordered.
2020-05-05 17:49:26 +05:30
Arun Prakash Jana
6ee257920d
Fix context range check
2020-05-05 17:14:42 +05:30
Arun Prakash Jana
a950510342
Update docs
2020-05-04 20:17:40 +05:30
Arun Prakash Jana
69e132e36d
Update docs
2020-05-04 09:50:31 +05:30
lvgx
86e579799b
Add an option to print hovered files to a FIFO ( #548 )
...
* Add an option to print hovered files to a FIFO
This adds an env variable, `NNN_FIFO`, that can be set to a path that
`nnn` will open/create as a FIFO, and where every hovered file's path is
printed. This allows creating external perview/quick open plugins, ...
It can be compiled out with the make variable `O_NOFIFO`.
* Check filename ptr instead of full path (for FIFO)
* Add documentation to use NNN_FIFO in plugins
* Fix path sent to FIFO in empty dirs
2020-05-04 09:35:13 +05:30
Arun Prakash Jana
b5de18c28f
Use const type
2020-05-04 07:48:51 +05:30
Arun Prakash Jana
625c8d11f4
Refactor move_cursor()
2020-05-04 06:17:38 +05:30
Arun Prakash Jana
f2fd923573
Fix #550
2020-05-04 04:25:26 +05:30
Arun Prakash Jana
ffc0790fba
Add is_prefix(), block empty files completely
2020-05-04 04:08:12 +05:30
Arun Prakash Jana
92f8fe14f2
Bind getplugs to installed version
2020-05-03 20:28:16 +05:30
Arun Prakash Jana
af71d470f5
Plugin finder: run custom find/fd/grep/rg/fzf and list
2020-05-03 19:03:42 +05:30
Arun Prakash Jana
ebb6f153b5
Context code '+' to create context smartly
2020-05-03 16:25:59 +05:30
Arun Prakash Jana
3f60a1931f
Decouple listpath and initpath
2020-05-03 15:25:19 +05:30
Arun Prakash Jana
8b764a5f7c
Show messages appropriately
2020-05-03 15:14:26 +05:30
Arun Prakash Jana
eee5057da5
Plugin mimelist: support reading file list from (cmd as) plugin
2020-05-03 14:55:33 +05:30
Danh Doan
e8e87f6ba2
browse: fix nnn -e ( #549 )
...
The current code will start editor if the mime doesn't start with
"text/". But, we want the opposite.
Simplify the check by using `strncmp` instead.
We may improve by writing a helper: `start_withs` in the future.
This change also cleans -Wstrict-aliasing on Ubuntu 16.04 LTS
2020-05-03 09:56:16 +05:30
Arun Prakash Jana
ff568ea748
Simplify unescape() in no locale mode
2020-05-03 02:52:48 +05:30
Arun Prakash Jana
f5c6f4f90b
Dim file details in detail mode
2020-05-02 19:58:10 +05:30
Rami3L
45a69f1cbf
Fix: BSD expr syntax error on empty $NNNLVL ( #546 )
2020-05-02 09:44:19 +05:30
Arun Prakash Jana
cb202e128b
Update docs
2020-05-02 04:49:10 +05:30
Arun Prakash Jana
d7a53fd518
Update docs
2020-05-01 22:24:11 +05:30
lvgx
e68d0db949
Install logo to desktop icons ( #542 )
...
This shows the "n³" logo as icon in application menus, when desktop file is
installed (using `install-desktop` make target).
2020-05-01 21:28:07 +05:30
lvgx
1a78ad4aff
Add a logo for nnn (n³) ( #544 )
...
"n³" on a black knight chess piece/black horse head.
2020-05-01 21:17:03 +05:30
step
49eecd7684
Support $_Z_DATA environment variable ( #545 )
...
Support `$_Z_DATA` environment variable per z's documentation dcd5541e7d/z.1 (L78)
.
`$_Z_DATA` allows changing the default location of the z database file.
2020-05-01 15:06:19 +05:30
Arun Prakash Jana
73e3f2bca0
Move installation section to Wiki
2020-05-01 11:21:25 +05:30
Arun Prakash Jana
283a29c48f
Update autogen packages
2020-05-01 10:45:25 +05:30
Arun Prakash Jana
3ba456c150
New logo: n³
2020-04-29 10:33:32 +05:30
Arun Prakash Jana
da91228bba
Randomize mocp
2020-04-27 08:35:43 +05:30
Arun Prakash Jana
f1a9446b99
Use mem* function
2020-04-27 08:25:13 +05:30
Arun Prakash Jana
187750556c
Let mocp shuffle
2020-04-27 08:23:22 +05:30
Arun Prakash Jana
35fb89b972
Randomize mocp playlist
2020-04-27 01:17:03 +05:30
Arun Prakash Jana
eec0e6d18e
Various plugin improvements
2020-04-27 00:05:40 +05:30
KlzXS
babf379a74
Optimize dups ( #539 )
2020-04-26 22:25:03 +05:30
Arun Prakash Jana
e7147c1f39
Show error at source
2020-04-26 14:05:56 +05:30
Arun Prakash Jana
33fdbc2216
Fix #537
2020-04-26 13:54:12 +05:30
Arun Prakash Jana
6689870460
Fix buffer cleanup
2020-04-26 10:59:01 +05:30
Arun Prakash Jana
01392d48ad
Fix buffer cleanup
2020-04-26 02:37:16 +05:30
Arun Prakash Jana
99d21531b4
Use memrchr if available
2020-04-26 02:06:17 +05:30
Arun Prakash Jana
c732de32e4
Resolve path in list mode
2020-04-25 20:52:23 +05:30
Arun Prakash Jana
06fe7d52dd
Minor refactor
2020-04-25 03:42:34 +05:30
Arun Prakash Jana
f8a243ea91
Silently ignore invalid paths (documented)
2020-04-25 00:46:29 +05:30
Arun Prakash Jana
d118c4cc24
Fix #532 : support picker and list modes together
2020-04-25 00:46:25 +05:30
Arun Prakash Jana
fffaa74a09
Fix return and show error
2020-04-24 20:30:16 +05:30
KlzXS
7b7252dd32
Fix picker and list mode conflict ( #533 )
...
* Fix picker and list mode conflict
* Comment the change
2020-04-24 20:26:09 +05:30
Arun Prakash Jana
bc572df55a
NNN_SEL: custom selection file
2020-04-24 18:12:18 +05:30
Arun Prakash Jana
752bc67de0
Bookmark key get priority over session
2020-04-24 09:54:43 +05:30
Arun Prakash Jana
b11bdc9361
Update completion scripts
2020-04-24 09:36:33 +05:30
lvgx
7dab9d0d86
Add nbak plugin to backup all nnn config ( #528 )
...
* Add nbak plugin to backup all nnn config
* nbak: check cd, quote env
* nbak: print backup file name
* nbak: add --show option, to show shell config
* nbak: fix shellcheck warning
'type' is POSIX complient, AND we check that we're actually running
bash, but shellcheck can't understand this...
Then '-o' is POSIX complient too, but shellcheck thinks it's "not well defined".
* nbak: variable renames, archive hierarchy changes
* nbak: fix variable expansion
* nbak: remove --show option
* nbak: call interactive bash/zsh to get fun/aliases
* Add nbak entry in plugins/README.md
* nbak: change archive hierarchy
* plugins/README.md: make nbak description shorter
2020-04-23 23:05:58 +05:30
KlzXS
00148360e4
Plugin improvements ( #531 )
...
* Added padding for numbers in .nmv
* Add skim as an option in fzopen
* Remove unnecessary eval
Thanks @leovilok!
Co-Authored-By: lvgx <l@vgx.fr>
* Added note about whitespace
Co-authored-by: lvgx <l@vgx.fr>
2020-04-20 22:39:30 +05:30
Krisan Alifari
d549ae7486
Add nvim as a diff tool for getplugs plugin ( #527 )
...
* Add nvim as a diff tool for getplugs plugin
* Comment out `is_cmd_exists()`
* Add nvim diff tool for diffs plugin
* Add $EDITOR to nuke plugin for editing/reading text file format
* Modify diff command to fix CircleCI failures
* Fix getplugs prompt
* Allow nuke to use custom $PAGER
2020-04-20 22:19:35 +05:30
Arun Prakash Jana
4b5ecbe8fc
Do a complete erase
2020-04-19 03:11:12 +05:30
Arun Prakash Jana
12df1ab083
Fix listing files directly under /
2020-04-18 15:08:23 +05:30
Arun Prakash Jana
b40e12ee9f
Remove hacky single path handling
2020-04-18 13:35:57 +05:30
Arun Prakash Jana
75724f9e3b
Fix #520 : minimal erasure
2020-04-18 07:18:35 +05:30
Arun Prakash Jana
e38c0108ba
Update issue template, add feature template
2020-04-18 06:58:19 +05:30
Arun Prakash Jana
645f43355e
Fix #526 : persistent session
2020-04-18 04:54:07 +05:30
Todd Yamakawa
c63fb28eff
Fix #523 : handle NNN_PIPE ( #525 )
...
Co-authored-by: Todd Yamakawa <todd.yamakawa@arm.com>
2020-04-17 17:51:57 +05:30
Arun Prakash Jana
58ecc240ed
Save offset in key-val pairs
2020-04-17 16:53:19 +05:30
Arun Prakash Jana
e92b523976
Fix #523 : create NNN_PIPE early
2020-04-17 08:54:50 +05:30
lvgx
7cc46510e3
nuke: add lowdown as alternative markdown viewer ( #524 )
...
See https://kristaps.bsd.lv/lowdown/
2020-04-17 08:11:08 +05:30
Arun Prakash Jana
ddaddcaf21
Experimental: guards to reduce repeat screen redraws
2020-04-16 17:45:58 +05:30
Arun Prakash Jana
37ebf8054f
Go to first file or next match
2020-04-16 03:44:07 +05:30
Arun Prakash Jana
63c177bb15
Env var NNN_LOCKER
2020-04-16 00:29:45 +05:30
Arun Prakash Jana
135172a1c6
Fix #520
2020-04-15 22:36:33 +05:30
Arun Prakash Jana
124d66dcbd
Fix build break
2020-04-15 21:05:10 +05:30
Arun Prakash Jana
425c0559a5
One-pass key-val pair parsing for bms and plugs
2020-04-15 20:43:26 +05:30
Arun Prakash Jana
ac8b56ecc2
Show entry even if no permission
2020-04-15 17:52:21 +05:30
Arun Prakash Jana
588b413832
Optimized xstrlen(), xstrdup()
2020-04-15 16:18:41 +05:30
Arun Prakash Jana
30a6caf8bc
Refactor set_time_type()
2020-04-14 22:38:33 +05:30
Arun Prakash Jana
e0cdbcb521
Check for file first (more in number)
2020-04-14 20:59:37 +05:30
Arun Prakash Jana
1029ff0d5b
MInor refactor
2020-04-14 09:54:42 +05:30
Arun Prakash Jana
555492276c
Update docs
2020-04-14 03:02:53 +05:30
Arun Prakash Jana
cf3c55b787
Update docs
2020-04-14 01:25:54 +05:30
Arun Prakash Jana
e72fa538d7
Reduce the scope of loop variables
2020-04-13 23:21:43 +05:30
Katrin Leinweber
e83e505659
Fix typo ( #516 )
2020-04-13 22:39:32 +05:30
lvgx
a6cef2504c
Make NNN_COLORS override NO_COLORS ( #515 )
2020-04-13 22:21:56 +05:30
Arun Prakash Jana
cd1c458c96
Fix build break
2020-04-13 21:55:11 +05:30
Arun Prakash Jana
a9436cfe7b
Fix build break
2020-04-13 21:42:23 +05:30
Arun Prakash Jana
c58434d078
Fix symlink to dir indicator in detail mode
2020-04-13 20:42:19 +05:30
Arun Prakash Jana
35c3497364
Use memccpy
2020-04-13 20:35:14 +05:30
Arun Prakash Jana
315132b363
Happy Birthday nnn! 🍰
2020-04-13 09:01:09 +05:30
Krisan Alifari
aa7f1dabdd
Support $FZF_DEFAULT_COMMAND on fzopen plugin ( #514 )
2020-04-12 22:39:24 +05:30
Arun Prakash Jana
f54d51c863
Change nav-as-you-type to type-to-nav
2020-04-12 22:39:14 +05:30
Arun Prakash Jana
806b91b60d
Simplified dirname()
2020-04-12 17:44:29 +05:30
Arun Prakash Jana
2b3214bd58
Simplify finding valid parent
2020-04-12 17:12:14 +05:30
Arun Prakash Jana
5e0049b6fa
Fix indent
2020-04-12 09:50:03 +05:30
Saagar Jha
3bab34e962
Opinionated xstrlcpy changes ( #513 )
...
* Unvectorize xstrlcpy
On all libcs I could find, memcpy does a better job than we can.
* Rename xstrlcpy to xstrsncpy to avoid confusion
The semantics of our xstrlcpy differed slightly from strlcpy; we return
the number of copied characters; strlcpy returns the strlen(src).
strscpy from Linux is similar except it returns the number of copied
characters sans the NUL byte, so this is named strsncpy to be different.
2020-04-12 06:05:14 +05:30
Arun Prakash Jana
2115d75ac6
Minor refactor
2020-04-11 23:48:05 +05:30
Arun Prakash Jana
0b66191dd5
Minor refactor
2020-04-11 20:23:24 +05:30
Arun Prakash Jana
a8da9979b7
Update docs
2020-04-11 11:16:21 +05:30
Arun Prakash Jana
36ae4b8250
Hover on dir and connect remote
2020-04-10 19:53:16 +05:30
Arun Prakash Jana
f93bb79de8
Update docs
2020-04-10 18:30:59 +05:30
Arun Prakash Jana
b3f8e4e511
Minor reformat
2020-04-09 19:13:42 +05:30
Arun Prakash Jana
707e30a590
Show status bar info in context color
2020-04-09 16:52:36 +05:30
Arun Prakash Jana
e5ba4f69bb
Update docs
2020-04-09 11:55:44 +05:30
Arun Prakash Jana
341b1ccb00
x to extract archive
2020-04-07 21:18:24 +05:30
Arun Prakash Jana
46f17885ce
Fix #511 : chew ling strings at filter prompt
2020-04-06 21:39:37 +05:30
Arun Prakash Jana
cee24984bc
Fix #511
2020-04-06 21:06:39 +05:30
Arun Prakash Jana
e1ed4c62c5
Fix #510
2020-04-06 19:30:16 +05:30
Arun Prakash Jana
b060115a19
A nocolor msg print
2020-04-05 22:46:16 +05:30
Arun Prakash Jana
1195dc86e0
Remove redundant calls
2020-04-05 21:45:30 +05:30
Arun Prakash Jana
078d05dc7a
Fix jump on canceled duplicate
2020-04-05 14:42:32 +05:30
Arun Prakash Jana
1014d941b1
Support only NO_COLOR, revert -C to disable color
2020-04-05 13:07:18 +05:30
lvgx
f14fb9c0f9
Add suport for "standard" NO_COLOR env variable ( #508 )
...
See https://no-color.org
2020-04-05 03:56:18 +02:00
Arun Prakash Jana
6d13fce698
Fix screen not cleared with drag down on narrow terms
2020-04-05 06:37:26 +05:30
Arun Prakash Jana
0c966b2178
With dimming, @ is not required for symlink to dir
2020-04-05 06:30:28 +05:30
Arun Prakash Jana
02c02c520d
Option -C to disable color
2020-04-05 05:53:46 +05:30
Arun Prakash Jana
0e3146ebd2
Status bar in context color
2020-04-04 23:39:21 +05:30
Arun Prakash Jana
5bd4a65b91
Add script to generate files
2020-04-04 09:57:21 +05:30
Arun Prakash Jana
73daf8be5b
Update docs
2020-04-03 19:52:33 +05:30
Arun Prakash Jana
38bd3c4900
(Sh)TAB should get a new context if required
2020-04-02 20:47:15 +05:30
Nick Waywood
415a6edd4a
Added support for fzy ( #505 )
...
* Added fzfz plugin
* Fixed shellcheck errors
* Fixed copy/paste error
* Added support for fzy, also renamed plugin since it's not specific to fzf anymore
* Refactored code
* Clean spillovers (jarun)
2020-04-02 10:58:54 +05:30
Nick Waywood
553f183919
Added fzfz plugin ( #502 )
...
* Added fzfz plugin
* Fixed shellcheck errors
* Fixed copy/paste error
2020-04-01 18:05:52 +05:30
Arun Prakash Jana
a3f509ffc6
Fix #499 : add fflush() as well
2020-04-01 15:16:21 +05:30
Arun Prakash Jana
ef159b9985
Fix clang-tidy warnings
2020-04-01 04:21:39 +05:30
Arun Prakash Jana
f8d2be504a
Remove redundant param
2020-04-01 04:21:39 +05:30
Arun Prakash Jana
91bd84cd5d
Fix #499
2020-04-01 04:21:40 +05:30
lvgx
6e6d3cba0d
Add .desktop file for XDG compatible DEs ( #501 )
...
Install with `make install-desktop`
It now appears in application menus, search, etc. in XDG compatible
desktop environments (like GNOME, KDE, ...).
2020-04-01 02:29:21 +05:30
Arun Prakash Jana
47ec055651
Fix #499 : broken readline prompt
2020-04-01 02:26:32 +05:30
Arun Prakash Jana
c01857cddb
Fix fzcd at /, minot refactor
2020-03-31 22:26:20 +05:30
Arun Prakash Jana
2d27902ac0
Quicker re-sort
2020-03-31 03:44:52 +05:30
Arun Prakash Jana
eea1b5da7d
Update docs
2020-03-31 01:59:30 +05:30
Arun Prakash Jana
a4243edacc
make var O_NOBATCH to compile out native batch renamer
2020-03-30 22:09:39 +05:30
Arun Prakash Jana
54d2580799
Add fortune to help
2020-03-30 09:09:11 +05:30
Arun Prakash Jana
9fea0220c4
List mode: limit exceeded error
2020-03-29 22:35:41 +05:30
Arun Prakash Jana
b8ede9895f
Use more sensible msg
2020-03-29 21:27:52 +05:30
Arun Prakash Jana
8f910fe85a
Fix build break
2020-03-29 20:32:11 +05:30
Arun Prakash Jana
3d9905615d
Fix crash
2020-03-29 20:26:31 +05:30
Arun Prakash Jana
267dc04f6c
Reduce presel usage
2020-03-29 20:22:43 +05:30
Arun Prakash Jana
d2e83b2cfe
Refactor change directory
2020-03-29 17:25:11 +05:30
Arun Prakash Jana
6ea33f1db3
Remove redundant name copy
2020-03-29 15:48:10 +05:30
Arun Prakash Jana
e9ff65a7b5
No re-filter on MSGWAIT
2020-03-29 14:03:11 +05:30
Arun Prakash Jana
0bfc032e5d
Do not reload
2020-03-29 10:02:21 +05:30
Arun Prakash Jana
446266d4c7
Fix build error
2020-03-29 04:24:31 +05:30
Arun Prakash Jana
df1e17a4c2
Reload dir when entering filter mode
2020-03-29 04:04:57 +05:30
Arun Prakash Jana
dc7711271c
Fix sorting
2020-03-29 03:19:15 +05:30
Arun Prakash Jana
8f3f64b5a6
Experimental: retain filter in normal mode
2020-03-29 01:58:07 +05:30
Arun Prakash Jana
c3ff380354
Retain hovered file name in filtered view with delayed msg
2020-03-28 12:28:00 +05:30
Arun Prakash Jana
b87cdcde60
Fix wrong lint report
2020-03-28 09:45:22 +05:30
Arun Prakash Jana
22ccf5e2e6
Support time type (access/change/mod) change
2020-03-28 09:20:14 +05:30
Arun Prakash Jana
7e063f49d1
Update link
2020-03-27 20:49:44 +05:30
Arun Prakash Jana
72333dcdd6
Statics are always initalized to 0
2020-03-27 14:38:56 +05:30
Arun Prakash Jana
bf057c1007
Fix #498
2020-03-27 13:06:01 +05:30
Arun Prakash Jana
68fd0d7dd2
Use meaningful vars
2020-03-25 20:52:27 +05:30
Arun Prakash Jana
dc08354b0f
Update docs
2020-03-25 11:47:30 +05:30
Arun Prakash Jana
48bee9fafe
Update badge
2020-03-24 09:18:04 +05:30
Arun Prakash Jana
33f2a2f37b
Remove redundant assignments
2020-03-21 21:28:48 +05:30
Arun Prakash Jana
49e36a4707
Reformat bookmark handling
2020-03-21 19:10:01 +05:30
KlzXS
aab90bf515
Add verbose option ( #497 )
2020-03-21 00:58:42 +05:30
Arun Prakash Jana
5e8f0aec35
Add regex exclude example
2020-03-21 00:55:46 +05:30
Arun Prakash Jana
41f80f1f60
Key > to export file list
2020-03-20 23:46:58 +05:30
Arun Prakash Jana
0c55977465
Fix #496 : option -f to use readline history file
2020-03-20 22:24:49 +05:30
Arun Prakash Jana
f4786da9bc
Option -T obsoletes option -v
2020-03-18 02:41:30 +05:30
Arun Prakash Jana
85379a703b
Option -T to change default sort order
2020-03-18 02:35:05 +05:30
Arun Prakash Jana
fc8c5b46b3
Skip erasing the complete screen
2020-03-16 21:39:44 +05:30
Arun Prakash Jana
1cf50e738f
Add clang-9 to compilation matrix
2020-03-16 07:33:54 +05:30
Arun Prakash Jana
b8a973a91a
Update plugins to support some env vars
2020-03-16 07:13:35 +05:30
Arun Prakash Jana
a2c2332fc5
Update man page
2020-03-15 20:55:14 +05:30
Arun Prakash Jana
ea2de804f8
batch rename: check dep, handle invalid input
2020-03-15 20:26:53 +05:30
Arun Prakash Jana
03e6d7d553
Adapt PR #495
2020-03-15 19:52:02 +05:30
KlzXS
c215c5de80
Convert batchrename to bash and rename it ( #495 )
2020-03-15 19:49:05 +05:30
Arun Prakash Jana
67994ff4b2
Check if file is accessible
2020-03-14 21:44:48 +05:30
Arun Prakash Jana
4e58ad318c
Update plugin docs
2020-03-14 20:37:04 +05:30
Arun Prakash Jana
1e53cd8ea1
Highlight the last copied/moved file
2020-03-14 20:22:58 +05:30
lvgx
d4b0ffa75e
Add x2sel plugin (reverse .cbcp) ( #494 )
...
This plugin is based on .cbcp and does basically the reverse operation.
It copies system clipboard newline-separated file list to selection.
2020-03-14 10:15:56 +05:30
Arun Prakash Jana
0ef2b61a17
Increase number of events handled
2020-03-14 06:51:52 +05:30
Arun Prakash Jana
2d952795a8
Start watching dir if filter mode is disabled
2020-03-14 05:14:25 +05:30
Arun Prakash Jana
02754205a2
Fix #492
2020-03-11 21:59:34 +05:30
Arun Prakash Jana
f527dd1c6a
Integrate batch renamer plugin
2020-03-11 17:52:38 +05:30
KlzXS
29fe67b799
Addressing #489 ( #490 )
...
* Fix empty printf, change separator for sed
* Added missing quotes
2020-03-11 17:50:55 +05:30
Arun Prakash Jana
233b801131
Case-insensitive Ctrl-key handling, man page update
2020-03-11 09:50:26 +05:30
Arun Prakash Jana
bf89040ace
Case-insensitive Ctrl-key handling, man page update
2020-03-11 09:14:59 +05:30
lvgx
c9a17d80be
Add middle click copy ( #491 )
...
* Add middle click copy
* Make middle click action configurable
This introduces the NNN_MIDDLECLICK environment variable, containing the
key that middle mouse click emulates. Only the first character is read.
* Document NNN_MIDDLECLICK in nnn.1
* Use NNN_MCLICK instead of NNN_MIDDLECLICK
* Add '^key' syntax to set middle click to Ctrl+Key
2020-03-11 09:09:57 +05:30
Arun Prakash Jana
3a9ddbd90f
Add batchrename to readme, minor Makefile change
2020-03-11 09:07:20 +05:30
KlzXS
f6ff9ae4aa
POSIX compliant batchrename plugin ( #488 )
...
* Added (almost) POSIX compliant batch rename script
* Not fully
* Added selection/current prompt
2020-03-08 07:15:11 +05:30
Arun Prakash Jana
4cd9adfd9b
Add badge to Wiki
2020-03-07 23:44:00 +05:30
Arun Prakash Jana
3dbe08aad6
Fix #486
2020-03-06 18:58:08 +05:30
Arun Prakash Jana
d97d152269
Fix #486
2020-03-06 04:50:04 +05:30
Arun Prakash Jana
9bfda074bd
Show statusbar in du/au mode
2020-03-05 21:08:55 +05:30
Arun Prakash Jana
0cb5ddf3f1
Fix regression in calculating apparent du for dirs
2020-03-05 21:05:37 +05:30
Arun Prakash Jana
1fbaa61052
Add option to clear sort order
2020-03-05 20:45:07 +05:30
Arun Prakash Jana
020619d2b8
Remove mention of Lead key
2020-03-05 00:20:51 +05:30
Arun Prakash Jana
646cd10b57
Fix #484
2020-03-04 06:18:08 +05:30
Arun Prakash Jana
4aa12a2dfb
sxiv: load dir along with file
2020-03-03 06:16:52 +05:30
Arun Prakash Jana
0941e511e4
Clear filter at start
2020-03-02 18:54:53 +05:30
Arun Prakash Jana
a54a23eae5
Minor refactor
2020-03-01 22:26:52 +05:30
Arun Prakash Jana
146f24e5de
Use target vars to create dirs
2020-03-01 21:00:45 +05:30
Arun Prakash Jana
78d0ea50f4
Use the same convention for global var names
2020-03-01 19:48:40 +05:30
Arun Prakash Jana
5533e38fbb
Guard against too many key-value pairs
2020-03-01 18:59:27 +05:30
Arun Prakash Jana
db129c9120
Update Haiku Makefile
2020-03-01 18:56:33 +05:30
Arun Prakash Jana
f3c4dae1dd
Fix build break
2020-03-01 18:34:59 +05:30
Arun Prakash Jana
1224270104
Drop path validation
2020-03-01 17:25:49 +05:30
Arun Prakash Jana
ad9f834b64
Update right click sel
2020-03-01 12:44:28 +05:30
lvgx
b2f2b78990
Add right click file selection ( #482 )
2020-03-01 12:40:35 +05:30
Arun Prakash Jana
2b11601f89
Set attrs in a go
2020-03-01 12:19:17 +05:30
Arun Prakash Jana
5228528fac
Update deps
2020-03-01 06:44:54 +05:30
Arun Prakash Jana
b52d17caa2
Do not store force quit option in session
2020-02-29 20:06:39 +05:30
Arun Prakash Jana
56eb4cab6e
Update docs
2020-02-29 19:14:19 +05:30
Arun Prakash Jana
77e3183467
Merge quitcd scripts for bash and zsh
2020-02-29 18:36:47 +05:30
Arun Prakash Jana
a5a3a84bd1
Shorten messages
2020-02-29 15:10:42 +05:30
Arun Prakash Jana
edb9fe14e4
Reformat get archive cmd
2020-02-29 13:53:16 +05:30
Arun Prakash Jana
0d7d0ca7db
realpath allocates memory
2020-02-29 12:56:10 +05:30
Arun Prakash Jana
5198c62863
Unlimited bookmarks, several fixes
2020-02-29 09:53:49 +05:30
Arun Prakash Jana
a1e2ef055e
Continue in filter mode
2020-02-29 06:32:02 +05:30
Arun Prakash Jana
37987d487e
Ignore backspace at empty filter prompt
2020-02-29 06:08:26 +05:30
Arun Prakash Jana
d1fcc5351e
Fix lint
2020-02-28 19:36:00 +05:30
Arun Prakash Jana
88167511f6
Unlimited bookmarks and plugin keys
2020-02-28 19:23:57 +05:30
Arun Prakash Jana
76cf0c65d4
Hover next file on delete
2020-02-28 07:34:02 +05:30
Arun Prakash Jana
fc805dac26
Do not count hard links for dirs
2020-02-28 01:57:33 +05:30
Arun Prakash Jana
9c100f987c
Single struct for patterns strings
2020-02-28 00:33:35 +05:30
Arun Prakash Jana
c9f9ca32dd
Extra space for size column
2020-02-28 00:00:44 +05:30
Arun Prakash Jana
993ea99b76
Remove redundant buffers
2020-02-27 23:55:23 +05:30
Arun Prakash Jana
4eae58edd3
Fix filename truncation if O_NOLOC set
2020-02-27 21:41:06 +05:30
Arun Prakash Jana
b5339c2dc5
Update man page
2020-02-27 19:51:04 +05:30
Arun Prakash Jana
95356681ff
Fix handling hard-links
2020-02-27 18:49:44 +05:30
Arun Prakash Jana
74e77f78fa
Support more sepecial keys at empty prompt in nav-as-you-type
2020-02-27 08:47:00 +05:30
Arun Prakash Jana
c6cc8a5181
Use 32-bit unsigned params
2020-02-27 07:30:14 +05:30
Arun Prakash Jana
05f3d5fdbe
Hash inodes with lesser number of bits
2020-02-27 00:38:30 +05:30
Arun Prakash Jana
f12bf0a2ee
Dim links
2020-02-26 23:49:20 +05:30
Arun Prakash Jana
987cc9b4b3
Drop / indicator for directories
2020-02-26 22:19:48 +05:30
Arun Prakash Jana
dd2be32382
Get rid of printw()
2020-02-26 20:49:20 +05:30
Arun Prakash Jana
f0f8008014
Restore filter on context switch in non nav-as-you-type mode
2020-02-26 19:42:37 +05:30
Arun Prakash Jana
7aa72ddd79
Optimize print entry
2020-02-26 08:54:34 +05:30
Arun Prakash Jana
07437a897c
Reformat entry printing
2020-02-26 03:31:32 +05:30
Arun Prakash Jana
71bac356d6
Optimize unescape
2020-02-26 01:53:43 +05:30
Arun Prakash Jana
ae1d656a27
Update help, check for mocp before using mocplay
2020-02-25 21:37:52 +05:30
Arun Prakash Jana
a780ab1c80
Update docs
2020-02-24 19:56:02 +05:30
Arun Prakash Jana
d442346755
Update mocplay to understand opener calls
2020-02-23 15:29:21 +05:30
Arun Prakash Jana
78372b203a
Support coversion of current file
2020-02-23 14:56:51 +05:30
Arun Prakash Jana
702e29bbe9
Auto-select hovered file for diff when only 1 selected
2020-02-23 14:32:23 +05:30
Arun Prakash Jana
e73ec218a9
Plugin mp3conv to extract audio from media as mp3
2020-02-23 13:09:24 +05:30
Arun Prakash Jana
5f419dc603
Fix doc
2020-02-23 10:36:32 +05:30
Arun Prakash Jana
dd5b419742
Treat ~ as special shortcut in filterentries
2020-02-22 21:25:05 +05:30
Arun Prakash Jana
04ab3751af
Minor refactor
2020-02-22 18:42:55 +05:30
Arun Prakash Jana
f2ba23bb3a
Combine file mode check
2020-02-22 17:10:29 +05:30
Arun Prakash Jana
f61323cccd
Simplify detail print
2020-02-22 15:08:59 +05:30
Arun Prakash Jana
d0930d0ccf
Show hard link symbol
2020-02-22 12:49:50 +05:30
Arun Prakash Jana
4a91df950b
Ignore hard links on du
2020-02-22 08:44:28 +05:30
Arun Prakash Jana
0f03b41995
Fix build break
2020-02-22 04:28:27 +05:30
Arun Prakash Jana
b816a90256
Macro for confirmation
2020-02-22 04:18:15 +05:30
Arun Prakash Jana
ca257e6016
Do not save trash setting in config (and session)
2020-02-21 21:54:26 +05:30
Arun Prakash Jana
a1b8631d96
Tweak fzopen to show parent dir and filename with fzf
2020-02-20 08:37:49 +05:30
Arun Prakash Jana
9f1b51b004
Allow choosing the same context in plugin helper
2020-02-20 07:54:32 +05:30
Arun Prakash Jana
f7f53bbd6b
Update docs
2020-02-20 00:59:06 +05:30
Arun Prakash Jana
f6e814e364
nuke: open log files in vi
2020-02-19 20:22:00 +05:30
Arun Prakash Jana
c5d122e299
Fix broken abort msg when starting in du mode
2020-02-19 19:04:51 +05:30
Arun Prakash Jana
39fffbac56
Update docs
2020-02-18 18:24:53 +05:30
0xACE
75f6d5d735
Avoid trying to edit a non-existing file ( #477 )
...
The previous implementation was inconsistent, sometimes it would
inherit the name of the parent folder of the current directory.
Other scenarios i encountered were:
1. Yield a empty search result, and try to edit. It would seemingly
randomly select a file or folder
2. What would happen in a root path without any files residing?
2020-02-18 03:51:46 +05:30
Arun Prakash Jana
9cf77708a1
Late get and set NNNLVL before spawning shell
2020-02-17 20:34:03 +05:30
Arun Prakash Jana
1a8f9ee459
Minor reformat
2020-02-17 19:51:24 +05:30
Arun Prakash Jana
7837cc277f
Update docs
2020-02-15 07:27:12 +05:30
Arun Prakash Jana
6024c51839
Remember file name when refresh is not requested
2020-02-14 22:44:49 +05:30
Arun Prakash Jana
b0ba197555
Do not play dat by extension
2020-02-14 22:37:47 +05:30
Arun Prakash Jana
f2c4890d6e
Polish PR #476
2020-02-14 20:55:42 +05:30
Uffe Jakobsen
1ed015e988
Add NNN_OPTS environment variable feature ( #476 )
2020-02-14 20:35:17 +05:30
Arun Prakash Jana
9b199b3253
Remove redundant mouse mask variable
2020-02-14 18:48:44 +05:30
Arun Prakash Jana
e664b2d29f
Compile option O_NOMOUSE to disable mouse support
2020-02-14 08:21:30 +05:30
Arun Prakash Jana
a0339adf84
Minor refactor
2020-02-14 07:17:09 +05:30
Arun Prakash Jana
928f325a74
Use atoi from lib, use attribute for unused
2020-02-14 06:42:30 +05:30
Arun Prakash Jana
ed616cf746
Minor refactor
2020-02-13 20:28:08 +05:30
Arun Prakash Jana
4bd742dafb
Fix static package name in repo
2020-02-13 16:38:06 +05:30
Arun Prakash Jana
80545534a9
Fix #474 : explicitly indicate gzip to tar
2020-02-13 15:18:56 +05:30
Arun Prakash Jana
4ffb42c73e
Use s in statusbar to indicate selection enabled
2020-02-13 01:56:16 +05:30
Arun Prakash Jana
a8bca5f440
Enable UTF8 for PCRE
2020-02-12 23:02:02 +05:30
Arun Prakash Jana
dda34f5c73
Update Haiku Makefile
2020-02-12 08:54:04 +05:30
Arun Prakash Jana
f6e7dbf6f9
Fix static file upload
2020-02-12 08:32:49 +05:30
Arun Prakash Jana
bc7a81921e
Prepare for release v3.0
2020-02-12 07:30:15 +05:30
Arun Prakash Jana
3532d6c3ab
Play known video file types by extension
2020-02-12 07:05:41 +05:30
Arun Prakash Jana
fb2793354b
Do not end selection on redraw
2020-02-10 19:23:15 +05:30
Arun Prakash Jana
e318672904
Fix prefix calcualtion
2020-02-09 08:21:12 +05:30
Arun Prakash Jana
3d5815c5d1
Fix man
2020-02-09 05:40:24 +05:30
Arun Prakash Jana
43fc9890e8
When a file is edited, vim adds a \n at the end
2020-02-09 05:38:12 +05:30
Arun Prakash Jana
bc5234be8d
Simplify and fix common prefix calculation
2020-02-09 00:25:58 +05:30
Arun Prakash Jana
58357912bc
Fix build break
2020-02-08 19:58:30 +05:30
Arun Prakash Jana
13e28fdecc
Use xrealpath() to show unresolved symlinks
2020-02-08 19:35:07 +05:30
Arun Prakash Jana
0a48b6b8cc
Ignore . and .. in file list
2020-02-08 19:18:49 +05:30
Arun Prakash Jana
ae486e36b8
1. dirname() loses path, 2. use realpath()
2020-02-08 18:51:56 +05:30
Arun Prakash Jana
72668069ed
Show target file size in list mode
2020-02-08 17:45:49 +05:30
Arun Prakash Jana
1d60b6a475
Fix empty dir on list files
2020-02-08 00:11:10 +05:30
Arun Prakash Jana
eaba594a9e
Clear filter on a manual dir relaod
2020-02-07 05:53:15 +05:30
Arun Prakash Jana
6d77b04032
Minor refactor
2020-02-04 23:21:50 +05:30
Arun Prakash Jana
05ae384b2d
Document list files
2020-02-03 08:46:14 +05:30
Arun Prakash Jana
1614ce172b
Late allocate memory for path pointers
2020-02-02 19:10:35 +05:30
Arun Prakash Jana
6faab79ba9
xrealloc() may move memory
2020-02-02 17:36:35 +05:30
Arun Prakash Jana
06f6435ebd
Fix build break
2020-02-02 17:25:47 +05:30
Arun Prakash Jana
47a2f93e02
Refactor file list processing
2020-02-02 17:07:53 +05:30
Arun Prakash Jana
04d9b667ed
Remove redundant example
2020-02-02 13:47:42 +05:30
Arun Prakash Jana
840b4a01a0
Update docs
2020-02-01 22:42:49 +05:30
Arun Prakash Jana
da4f585188
Fix #446
2020-02-01 22:30:32 +05:30
Arun Prakash Jana
897f01c2c3
Reduce the number of redundant checks
2020-02-01 22:00:53 +05:30
KlzXS
2390ac7b74
List of files as input ( #443 )
...
* Start implementation on show list of files as input
* Remove tmp dir on exit, set global flag
* Bug fixes and improvements
* Follow symlinks when in list paths mode
* Fix bugs
* Add flag check
* Add message for invalid paths and style fixes
* Change the message
* Addressing review comments
* Handle errno being set
* Fix CI break
* Decreased startup memory usage and removed loops
* Fix CI break
2020-02-01 20:24:56 +05:30
Maxim Baz
099a9af289
Do not swallow keypress after printwait ( #461 )
2020-02-01 20:07:18 +05:30
Arun Prakash Jana
c0f423496e
Use _exit() to terminate children
...
The NNN_PIPE file gets deleted after spawning a child in NOWAIT mode. Steps:
- open `nnn` with option `-x`
- press `;o` (custom binding) to open fzopen plugin
- press `^J` to select a file; it will spawn plugin `.cbcp` in NOWAIT mode
- when the intermediate child quits, the NNN_PIPE of parent is also deleted
2020-02-01 19:28:59 +05:30
Arun Prakash Jana
4401dbe092
Ignore link assuming stdscr is NULL
2020-02-01 18:46:56 +05:30
Arun Prakash Jana
27943b9efb
Fix #459
...
The following changes are made:
- STDOUT and STDIN are redirected to /dev/null when spawning rclone
rclone blocks and also shows error/warning messages. nnn needs to spawn
rclone and return without waiting. To avoid the rclone messages from
corrupting the screen nnn makes the child silent.
Note: sshfs returns after mount with a proper error code
- prompt only if both sshfs and rclone are installed
2020-02-01 08:57:16 +05:30
Arun Prakash Jana
c7e2dc0005
Upload static binary as package
2020-01-31 08:43:35 +05:30
Maxim Baz
6b093f213f
Compile static bin locally for release ( #457 )
2020-01-31 03:16:06 +05:30
Arun Prakash Jana
6f48a711d4
Auto-proceed on open (key + to toggle)
2020-01-31 01:45:06 +05:30
Arun Prakash Jana
6aed714347
Run GUI app as plugin
2020-01-30 23:41:19 +05:30
Sijmen J. Mulder
46fc9c983c
Fallbacks for absent NAME_MAX and PATH_MAX ( #455 )
...
* Fallbacks for absent NAME_MAX and PATH_MAX
Certainly NAME_MAX isn't guaranteed to exist and on (some versions of?)
Illumos and SmartOS it doesn't, so provide some reasonably accommodating
fallbacks.
* Smaller limits
* Remove now redundant PATH_MAX definition for Hurd
2020-01-29 19:01:07 +05:30
Arun Prakash Jana
c434d8d4bc
Use enough buffer length for file names
2020-01-29 05:22:03 +05:30
Arun Prakash Jana
cb6f30fed4
Remove redundant lib only for older GLIBC
2020-01-28 18:55:41 +05:30
Arun Prakash Jana
9cbadc12be
Fix typo
2020-01-27 23:50:29 +05:30
Arun Prakash Jana
e3d80da2ad
Exit prompt on ^D at empty prompt
2020-01-27 19:46:10 +05:30
Ethan R
812368cce6
Added more readline bindings ( #452 )
2020-01-27 18:57:56 +05:30
Arun Prakash Jana
3fd9e6ace7
Add -DNORL when var O_STATIC is set
2020-01-25 23:44:28 +05:30
Arun Prakash Jana
bc177fd266
Revert "Test static packaging"
...
This reverts commit dbcbaa583c
.
2020-01-25 08:55:07 +05:30
Arun Prakash Jana
dbcbaa583c
Test static packaging
2020-01-25 08:36:50 +05:30
Arun Prakash Jana
a2288594d1
Move compilation notes to Wiki
2020-01-24 23:42:05 +05:30
Arun Prakash Jana
1684d7b24e
Makefile option to compile with PCRE lib
...
Command: make O_PCRE=1 strip
2020-01-24 23:29:05 +05:30
Arun Prakash Jana
e5ad7d81ff
PCRE 2 - fix check for filter match
...
Kind contribution from uno20001:
https://old.reddit.com/r/C_Programming/comments/etavho/file_manager_nnn_needs_help_with_pcre/fffk4wr/
2020-01-24 22:46:47 +05:30
Arun Prakash Jana
196c09ab9b
PCRE 2 - fix compilation error
2020-01-24 22:25:27 +05:30
Arun Prakash Jana
e2d37632ea
PCRE - add error handling
2020-01-24 19:00:45 +05:30
KlzXS
27617c0446
Detach process with F_NOWAIT ( #450 )
...
* Experimental PCRE library support
To compile with PCRE install libpcre-dev(el) and run:
cc -Wall -Wextra -O3 -DPCRE -D_GNU_SOURCE -D_DEFAULT_SOURCE -I/usr/include/ncursesw -I/usr/include -o nnn src/nnn.c -lreadline -lncursesw -ltinfo -lpcre
* Detach process with F_NOWAIT
Co-authored-by: Mischievous Meerkat <engineerarun@gmail.com>
2020-01-24 18:58:43 +05:30
Arun Prakash Jana
827875c3ef
Experimental PCRE library support
...
To compile with PCRE install libpcre-dev(el) and run:
cc -Wall -Wextra -O3 -DPCRE -D_GNU_SOURCE -D_DEFAULT_SOURCE -I/usr/include/ncursesw -I/usr/include -o nnn src/nnn.c -lreadline -lncursesw -ltinfo -lpcre
2020-01-24 02:17:48 +05:30
Arun Prakash Jana
d67ad84360
Add static compilation flag
...
make command:
make O_STATIC=1 O_NORL=1 strip
2020-01-23 22:22:07 +05:30
Arun Prakash Jana
50df09b918
Do not show file name in status bar
...
Both in light and detail modes we show more characters than in status bar.
2020-01-23 21:21:24 +05:30
Arun Prakash Jana
de4b817998
Lazy unmount, umount (macOS) support
2020-01-23 02:00:16 +05:30
Arun Prakash Jana
d224016011
nuke: add glow to preview markdown
2020-01-22 23:20:31 +05:30
Arun Prakash Jana
60dfb79b8d
Check if path exists before trying to create
2020-01-22 20:09:16 +05:30
Arun Prakash Jana
a87be62204
Use indicative dir names when creating
2020-01-22 00:00:33 +05:30
Arun Prakash Jana
8d6f766e75
Remove redundant variables/assignments
2020-01-21 23:09:05 +05:30
Arun Prakash Jana
8df6602fac
Remove redundant check
2020-01-21 21:53:45 +05:30
Arun Prakash Jana
a6f5f1ebc8
Update badges
2020-01-21 18:29:54 +05:30
Arun Prakash Jana
abd1df8770
Initialize mask
2020-01-20 23:33:57 +05:30
Arun Prakash Jana
9b45b05746
Code refactor
2020-01-20 19:09:10 +05:30
Arun Prakash Jana
d0f26e7c30
Revert "Update badges"
...
This reverts commit 3d98daaf27
.
2020-01-20 08:38:20 +05:30
Arun Prakash Jana
3d98daaf27
Update badges
2020-01-20 08:37:04 +05:30
Arun Prakash Jana
0f1e648032
Refactor
2020-01-19 21:24:33 +05:30
Arun Prakash Jana
7677cd4417
Copy current name in API
2020-01-19 10:49:40 +05:30
Arun Prakash Jana
1c6fd9c7d7
Refactor
2020-01-18 23:31:39 +05:30
Arun Prakash Jana
5e7c42c822
checkpatch.pl fixes
2020-01-18 22:49:35 +05:30
Arun Prakash Jana
4d01aa78ae
Shorten env vars
2020-01-18 21:05:44 +05:30
Arun Prakash Jana
6c2dc7fc95
Use macro
2020-01-18 20:57:51 +05:30
Arun Prakash Jana
cfdd745611
Get rid of modulo operation
2020-01-18 20:43:28 +05:30
Arun Prakash Jana
9b054d51f4
Key F5 toggle hidden
2020-01-18 19:55:09 +05:30
Arun Prakash Jana
afb7efc860
Merge functions
2020-01-18 14:58:48 +05:30
Siddharth Dushantha
1dd691d20b
fixed a formating error ( #444 )
...
Some normal text was indent a little, which caused to to become a code
2020-01-18 14:24:48 +05:30
Arun Prakash Jana
dd02fb6049
Use simpler logic to show progress on Linux
2020-01-18 14:16:18 +05:30
Arun Prakash Jana
5f18a0892c
Clear lastname is the top file is deleted
2020-01-17 20:26:14 +05:30
Arun Prakash Jana
679374680f
Revert "Revert "Fixed calculation of capacity on OpenBSD ( #441 )""
...
This reverts commit 681b22d5c7
.
The statvfs man page:
http://man7.org/linux/man-pages/man3/statvfs.3.html
says clearly:
fsblkcnt_t f_blocks; /* Size of fs in f_frsize units */
I missed this earlier.
2020-01-17 20:08:45 +05:30
Arun Prakash Jana
64667b377d
Options -e and -t
...
Replaces the following environment variables:
- NNN_USE_EDITOR
- NNN_IDLE_TIMEOUT
2020-01-17 19:37:57 +05:30
Arun Prakash Jana
94a233b808
Fix: crash on entering empty dir, then press down
2020-01-17 03:36:57 +05:30
Arun Prakash Jana
4f233c161a
Remove redundant check
2020-01-17 02:40:02 +05:30
Arun Prakash Jana
feec63ebb3
Use do-while instead of while
2020-01-16 23:09:19 +05:30
Arun Prakash Jana
681b22d5c7
Revert "Fixed calculation of capacity on OpenBSD ( #441 )"
...
This reverts commit 527e995f1f
.
2020-01-16 22:58:12 +05:30
Arun Prakash Jana
7086df5c78
Update docs
2020-01-16 22:49:16 +05:30
Arun Prakash Jana
f9d38d1420
A fancier prompt
2020-01-16 19:35:46 +05:30
Maxim Baz
0fd1f142c7
Quit with an error code ( #442 )
...
* Quit with an error code
* Use `Q` as "quit with err"
* Remove extra var and simplify conditions
* Revert combining conditions
* Fix formatting
* Format help with as much tabs as possible
2020-01-16 19:25:48 +05:30
Martin Ziemer
527e995f1f
Fixed calculation of capacity on OpenBSD ( #441 )
2020-01-16 16:40:30 +05:30
Maxim Baz
d1b2bb1e76
Release improvements, take 2 ( #440 )
...
* Revert "Undo changes from #417 "
* Do not remove .git folder
2020-01-15 17:54:29 +05:30
Arun Prakash Jana
38de6efd48
Change command order
2020-01-15 17:18:10 +05:30
Arun Prakash Jana
22454d6893
Update docs
2020-01-15 15:01:14 +05:30
Arun Prakash Jana
3a4dd4c469
Fix alignment
2020-01-15 14:10:46 +05:30
Arun Prakash Jana
8ea1bc7430
Undo changes from #417
2020-01-15 11:22:54 +05:30
Arun Prakash Jana
2c6fb0eefc
Use shorter lines in man page
2020-01-15 11:09:51 +05:30
Arun Prakash Jana
0222b75c2e
Use / to toggle string and regex
2020-01-15 10:05:19 +05:30
Arun Prakash Jana
73a2919b7e
Prepare for release v2.9
2020-01-15 09:42:23 +05:30
KlzXS
4930f34c3f
Catch NULL from malloc() ( #438 )
...
* Catch NULL from malloc()
* Tidy up errors
* Make indentaion look pretty in git
2020-01-15 04:05:26 +05:30
Arun Prakash Jana
b1c9f4ed45
Use macro to print error
2020-01-15 01:21:13 +05:30
Arun Prakash Jana
a9ebe7ed88
While drawing lines, set correct color
2020-01-15 00:57:02 +05:30
Arun Prakash Jana
1a728603bf
(B)Tab for BackTab
2020-01-14 23:37:33 +05:30
Arun Prakash Jana
364399246e
Show order info in filter info bar
2020-01-14 22:51:10 +05:30
Arun Prakash Jana
1b252b6ecb
Keybind changes
2020-01-14 21:20:57 +05:30
Arun Prakash Jana
8ebedab3f6
Fix doc
2020-01-14 04:10:11 +05:30
Arun Prakash Jana
3ccc6807ed
New lowercase keys
2020-01-14 03:34:52 +05:30
Anna Arad
44871dd9d7
Update Haiku Makefile with changes of original ( #435 )
2020-01-14 03:08:20 +05:30
Arun Prakash Jana
62ae7e0a74
Key 0 to lock
2020-01-14 03:00:01 +05:30
Arun Prakash Jana
5bc20f1460
Remove p and e
2020-01-14 02:26:32 +05:30
Arun Prakash Jana
d65271860a
Fix typo
2020-01-14 01:36:57 +05:30
Arun Prakash Jana
589065f9ab
Remove redundant question
2020-01-14 01:10:53 +05:30
Arun Prakash Jana
69efec865a
List from selection file if nothing selected
2020-01-14 00:31:20 +05:30
Arun Prakash Jana
7bcf19189a
Remove list selection
2020-01-13 23:44:19 +05:30
Arun Prakash Jana
7029656c78
Revert to key m to Mark range
2020-01-13 22:24:55 +05:30
Arun Prakash Jana
8f4706498c
Key ' for range selection
2020-01-13 21:25:34 +05:30
Arun Prakash Jana
526330bb8b
Unify plugin keys
2020-01-13 21:09:40 +05:30
Arun Prakash Jana
c53b9df5ea
Reorder key listing, undocument F2 and F5
2020-01-13 20:26:16 +05:30
Arun Prakash Jana
3d7cc30441
Combine list, edit selection. Key ^Y
2020-01-13 20:13:46 +05:30
Arun Prakash Jana
749f089355
Key z to archive, fix du order issue
2020-01-13 18:57:46 +05:30
Maxim Baz
101d4e8a07
order toggle: show invalid key prompt ( #433 )
...
* order toggle: show invalid key prompt
* don't call statusbar()
2020-01-13 18:39:54 +05:30
Arun Prakash Jana
97a50c6622
Update docs
2020-01-13 08:26:14 +05:30
Arun Prakash Jana
d2f69875be
Minor refactor
2020-01-13 07:48:25 +05:30
Maxim Baz
6ac353446f
Order toggle: fix toggling reverse ( #432 )
2020-01-13 07:39:43 +05:30
Arun Prakash Jana
5fb4d637ee
Order toggle re-factor
2020-01-13 03:49:28 +05:30
Arun Prakash Jana
3416287553
Key f for first file
2020-01-13 02:45:47 +05:30
Arun Prakash Jana
16c88770b6
Sort order not changing in nav-as-you-type mode
2020-01-13 01:22:51 +05:30
Arun Prakash Jana
ab521c02a4
Fix build break
2020-01-12 23:58:48 +05:30
Arun Prakash Jana
917123c400
Minor changes to fast redraw
2020-01-12 23:33:42 +05:30
Anna Arad
7948db6a64
Fast redraw on up/down key navigation ( #431 )
2020-01-12 22:45:55 +05:30
Arun Prakash Jana
1eb2ab2478
Clear info line completely
2020-01-12 19:40:33 +05:30
Arun Prakash Jana
61e03e0961
Update docs
2020-01-12 19:38:15 +05:30
Arun Prakash Jana
7718f77069
Add check for max val len in key:val pair
2020-01-12 08:40:33 +05:30
Arun Prakash Jana
b70a54d47e
Update docs
2020-01-12 04:50:16 +05:30
Arun Prakash Jana
aea48508da
^L at empty prompt shows last filter
2020-01-12 03:36:08 +05:30
Arun Prakash Jana
bb3d79ce21
Go to top when last saved filter is applied
2020-01-12 02:46:19 +05:30
Arun Prakash Jana
3c69e6ccac
Guard against empty
2020-01-12 00:26:03 +05:30
Arun Prakash Jana
f1791af2ab
Show statusbar instead of blank
2020-01-12 00:09:09 +05:30
Arun Prakash Jana
b91f7a9600
Fix not waiting for command next time if non-Enter keys are pressed
2020-01-11 23:53:32 +05:30
Arun Prakash Jana
94781f7977
Refactor status bar printing
2020-01-11 23:18:24 +05:30
Arun Prakash Jana
7f579bc808
Add more clarity on filter prompt keys
2020-01-11 22:58:22 +05:30
Arun Prakash Jana
fd99ef5af2
Show filter when returning after firing plugin
2020-01-11 22:53:40 +05:30
Arun Prakash Jana
357ce4a69a
Key ^F to fire plugin
2020-01-11 22:40:26 +05:30
Arun Prakash Jana
99d15815f0
Use : for filter case
2020-01-11 21:49:35 +05:30
Arun Prakash Jana
274c612076
Refactor PDF handling, add rtorrent, man pages
2020-01-11 20:20:20 +05:30
Arun Prakash Jana
490359f853
nuke: open manpages, reload dir after dot
2020-01-11 18:23:46 +05:30
Arun Prakash Jana
70dcbf43d7
Toggle filter case-sensitivity
2020-01-11 16:12:34 +05:30
Arun Prakash Jana
8588b3f0bd
Support regex/substring filter switch
2020-01-11 11:38:31 +05:30
Arun Prakash Jana
0e203288b4
Rememeber last filter
2020-01-11 05:15:20 +05:30
Arun Prakash Jana
c22bf87f3e
Enable filter mode when there's a filter
2020-01-11 00:55:23 +05:30
Arun Prakash Jana
38414f4349
For links, set prefix instead of suffix
2020-01-11 00:31:08 +05:30
Arun Prakash Jana
ca0a7b0558
Simplify showing status bar symbols
2020-01-10 20:15:50 +05:30
Arun Prakash Jana
f04769f5a5
Update docs
2020-01-10 19:43:37 +05:30
Arun Prakash Jana
d463c4f0df
Update docs
2020-01-10 02:01:20 +05:30
Arun Prakash Jana
4c0210ce2b
Do not reload dir on sort order change when filter is on
2020-01-09 23:51:41 +05:30
Arun Prakash Jana
19940efd64
nnn is ported to Haiku now
2020-01-09 22:09:32 +05:30
Arun Prakash Jana
f654e3ca2b
Implement reverse sorting
2020-01-09 19:44:36 +05:30
Arun Prakash Jana
a89b5fd82c
Fix build break
2020-01-09 04:38:08 +05:30
Arun Prakash Jana
5cb39b0db3
Show mime in file details
2020-01-09 04:00:28 +05:30
Arun Prakash Jana
7bf7894022
Use option -A to disable dir auto-select
2020-01-09 03:34:10 +05:30
Arun Prakash Jana
0492fa385d
Update docs
2020-01-09 01:26:23 +05:30
Arun Prakash Jana
f92658f31e
Add examples of useful commands to run as plugin
2020-01-08 23:20:46 +05:30
Arun Prakash Jana
9a757c4905
Extension order: show files without extension on top
2020-01-08 21:45:54 +05:30
Arun Prakash Jana
604a8fafcc
Fix build break
2020-01-08 19:40:56 +05:30
Arun Prakash Jana
d209e8f278
Optimize file extension check
2020-01-08 19:08:01 +05:30
Arun Prakash Jana
0b1c87758c
Minor refactor
2020-01-08 18:52:18 +05:30
Arun Prakash Jana
c5ff2f5647
Fix openSUSE Leap 15.1 package generation
2020-01-07 23:45:22 +05:30
Arun Prakash Jana
23ef45ee49
Update docs
2020-01-07 22:12:39 +05:30
Arun Prakash Jana
e4b762dcc1
Retain filter on single file removal
2020-01-07 18:28:30 +05:30
Arun Prakash Jana
9d9aa16185
Clear filter after removing current file
2020-01-07 01:21:36 +05:30
Arun Prakash Jana
aa89522482
Re-order keybind help
2020-01-06 20:00:18 +05:30
Arun Prakash Jana
39f8b25b88
Clear filter on dir changes
2020-01-06 02:54:31 +05:30
Arun Prakash Jana
e72dbec95a
Update boom
2020-01-05 22:43:50 +05:30
Anna Arad
443bb7925b
Update Haiku Makefile and recipe with suggestions from HaikuPorts ( #426 )
2020-01-03 22:25:44 +05:30
Arun Prakash Jana
d43abec4bc
Merge plugins pastebin and upload
2020-01-03 07:34:59 +05:30
Arun Prakash Jana
045ad3da75
Merge plugins imgsxiv and imgviu
2020-01-03 00:27:28 +05:30
Arun Prakash Jana
69377bbd89
Remove plugin notes, update docs to run cmd as plugin
2020-01-03 00:04:31 +05:30
Arun Prakash Jana
c92c5c7b15
Support toggle exe
2020-01-02 23:36:08 +05:30
Arun Prakash Jana
e1c91e1aef
Plugin rename
2020-01-02 05:11:00 +05:30
Arun Prakash Jana
ff72917e72
Plugin rename
2020-01-02 04:15:17 +05:30
Arun Prakash Jana
c44d5b57bd
Update docs, early check for empty files
2020-01-02 04:03:54 +05:30
Arun Prakash Jana
c6a5db460f
Add useful locker peaclock for Haiku
2020-01-02 03:07:56 +05:30
Arun Prakash Jana
4a3bf6d40f
Use a shorter width param
2020-01-02 03:03:21 +05:30
CodeforEvolution
a36146f9c0
Add Desktop Opener for Haiku ( #425 )
...
You guys almost forgot this. Hope this helps! ;)
2020-01-02 02:40:50 +05:30
Arun Prakash Jana
0b78ff4af3
Update docs
2020-01-01 00:24:13 +05:30
Arun Prakash Jana
027ed8d8ea
Update copyright year
2019-12-31 22:42:10 +05:30
Arun Prakash Jana
f41e68742d
Fix 2 archive handling issues
...
- when an archive is mounted, jump into the mount point
- while archiving the hovered file, exit if the archive name is same
2019-12-31 21:09:40 +05:30
Arun Prakash Jana
db647e7c4c
On the fly dist generation
2019-12-30 01:37:01 +05:30
Maxim Baz
4e59ffd9d0
Make showsel print warning when nothing is selected ( #423 )
2019-12-30 00:34:39 +05:30
Arun Prakash Jana
8955d039c6
Drop ^T, no reload after empty cmd at prompt
2019-12-30 00:33:34 +05:30
Arun Prakash Jana
c1f168c7cb
Show context numbers in help
2019-12-30 00:06:49 +05:30
Arun Prakash Jana
15a7bbe00e
Fix build break
2019-12-29 23:46:48 +05:30
Arun Prakash Jana
26d49a16b3
Get version string from source
2019-12-29 23:43:09 +05:30
Arun Prakash Jana
f90c37cd5e
Automagically handle archives
2019-12-29 23:21:18 +05:30
Arun Prakash Jana
146da5911d
Code refactor
2019-12-29 17:58:48 +05:30
Arun Prakash Jana
7b7e005e52
Retire execute file
...
There is no way to detect and handle GUI executables. Must run manually.
2019-12-29 09:07:58 +05:30
Arun Prakash Jana
7157644250
Fix #420 : simplify bookmarking, retire lead key
2019-12-29 08:20:56 +05:30
Arun Prakash Jana
e3e6e1671a
Keybind v for version sort
2019-12-28 11:15:38 +05:30
Arun Prakash Jana
d13fea6fa2
Refactor help
2019-12-28 10:15:11 +05:30
Arun Prakash Jana
3a554f02dc
Refactor help
2019-12-28 09:56:54 +05:30
Anna Arad
fd9fcf741e
Get nnn compile and run on Haiku ( #403 )
...
* Add support for Haiku OS
* Adjust DISTFILES and dist rule in haiku
2019-12-27 23:32:20 +05:30
Arun Prakash Jana
d3ddff6690
Refactor help
2019-12-27 22:07:11 +05:30
Arun Prakash Jana
ae65edb862
Code refactor
2019-12-27 21:22:27 +05:30
Arun Prakash Jana
f5cd0e563d
Code refactor
2019-12-27 19:00:23 +05:30
Arun Prakash Jana
bffadf09c5
Refactor plugin handling
2019-12-27 13:19:23 +05:30
Arun Prakash Jana
5676dfe682
Fix: save last hovered filename in cur context post arrow movement
2019-12-27 11:04:05 +05:30
Arun Prakash Jana
735b3d6cde
Code refactor
2019-12-27 10:13:48 +05:30
Arun Prakash Jana
a32b3eac14
Code refactor
2019-12-27 09:26:20 +05:30
Arun Prakash Jana
b455abf944
Refactor cur or sel confirmation
2019-12-26 20:33:01 +05:30
Arun Prakash Jana
c43dce6926
Refactor context selection
2019-12-26 19:37:48 +05:30
Arun Prakash Jana
0d07e45efb
Use test and set in frequent keys
2019-12-26 18:24:32 +05:30
Arun Prakash Jana
765c494eb7
Experimental: clear filter on dir reload and retain name
2019-12-26 14:07:23 +05:30
Arun Prakash Jana
450df4c476
Retain filter on keys up and down
2019-12-26 10:24:57 +05:30
Arun Prakash Jana
7e958d3cd3
Revert "Retain filters when context keys are used from filter prompt"
...
This reverts commit d9da85a365
.
2019-12-25 22:56:59 +05:30
Arun Prakash Jana
1003c0f8fc
Option n - nav as you type, V - version sort
2019-12-25 22:33:38 +05:30
Arun Prakash Jana
06920d7d9d
Revert "Fix #420 : reduce Lead key to bookmark key"
...
This reverts commit 1ed5febe0c
.
2019-12-25 22:18:36 +05:30
Arun Prakash Jana
d65ccfab1e
Revert "Update help"
...
This reverts commit 89a158b9f4
.
2019-12-25 22:18:24 +05:30
Arun Prakash Jana
ffb0b0e3c2
Revert "Use b and ^B as bookmark key"
...
This reverts commit 278fcfdfc9
.
2019-12-25 22:18:09 +05:30
Arun Prakash Jana
541bc3f653
Revert "Use a fixed key , for pinning dir"
...
This reverts commit 4d17b82950
.
2019-12-25 22:17:50 +05:30
Arun Prakash Jana
4d17b82950
Use a fixed key , for pinning dir
2019-12-25 15:56:50 +05:30
Arun Prakash Jana
278fcfdfc9
Use b and ^B as bookmark key
2019-12-25 14:37:51 +05:30
Arun Prakash Jana
89a158b9f4
Update help
2019-12-25 12:34:45 +05:30
Arun Prakash Jana
1ed5febe0c
Fix #420 : reduce Lead key to bookmark key
2019-12-25 12:15:03 +05:30
Arun Prakash Jana
d9da85a365
Retain filters when context keys are used from filter prompt
2019-12-25 08:52:37 +05:30
Arun Prakash Jana
f480de0065
Use file.io to ipload files
2019-12-24 11:11:39 +05:30
Arun Prakash Jana
b1207d54ea
Set flags for OS-es without dp-type.
2019-12-23 20:14:03 +05:30
Arun Prakash Jana
0bc5cdbf26
Update docs
2019-12-22 08:41:38 +05:30
Arun Prakash Jana
55e4e938d0
Handle more audio types by file extension
2019-12-22 02:06:20 +05:30
Arun Prakash Jana
2276e3ddfd
Use CLI flags spawning CLI opener as default FM
2019-12-21 22:38:35 +05:30
Arun Prakash Jana
9dee99b456
Show message on invalid key
2019-12-21 10:03:05 +05:30
Arun Prakash Jana
2863278790
Update docs: use direct repology url
2019-12-21 07:24:01 +05:30
Arun Prakash Jana
404001a428
Update plugin docs
2019-12-21 06:04:04 +05:30
Maxim Baz
f0eba7d51b
Improvements for distribution ( #417 )
...
* Don't pack sources (github does it better), sign sources
* Make CircleCI generate the same git archive as Github, return make dist
* Revert make clean too
* Upload signature to Github release
* Read Github token from an env variable
2019-12-21 05:02:39 +05:30
Arun Prakash Jana
9f7ae0e86a
nuke: guard against opening risky file types
2019-12-20 21:49:03 +05:30
Arun Prakash Jana
88b8d2641d
Replace bools for binary states with an uchar
2019-12-20 16:01:35 +05:30
Arun Prakash Jana
37988cf854
Program option to load session is now `-s`
...
- remove auto-stored session "@" on restore
- minor help update
2019-12-20 15:49:13 +05:30
Arun Prakash Jana
9725c17d20
Revert "Internal states, sessions changes"
...
This reverts commit cf388649b9
.
2019-12-20 15:30:53 +05:30
Arun Prakash Jana
f25f062537
Mechanism to skip dir refresh after running plugin
2019-12-20 12:05:25 +05:30
Arun Prakash Jana
7d171368ad
Revert "Prefer NNN_USE_EDITOR over opener (option )"
...
This reverts commit 7f3d2c10aa
.
2019-12-20 02:51:25 +05:30
Arun Prakash Jana
583b6a84f5
Update docs
2019-12-20 00:35:58 +05:30
Arun Prakash Jana
7f3d2c10aa
Prefer NNN_USE_EDITOR over opener (option )
2019-12-20 00:01:50 +05:30
Maxim Baz
c5cd668a52
Show 'invalid key' prompt in more places ( #415 )
2019-12-19 18:41:30 +05:30
Arun Prakash Jana
c24efdbedb
Simplify QuitCD scripts
2019-12-19 18:33:27 +05:30
Arun Prakash Jana
cf388649b9
Internal states, sessions changes
...
- replace bools for internal non-persistent binary states with an uchar
- do not store path to session, derive from config path in tmp buffer
- program option to load session is not `-s`
- remove auto-stored session "@" on restore
- minor help update
2019-12-19 08:45:26 +05:30
Arun Prakash Jana
92ac068815
Use single API for nftw
2019-12-19 01:53:11 +05:30
Arun Prakash Jana
fce848de3c
Fix typos in help
2019-12-18 23:48:19 +05:30
Arun Prakash Jana
ac281cb63b
Fix cmd as plugin showing prompt on playing twice
2019-12-18 22:27:23 +05:30
Arun Prakash Jana
6b5bb16b46
Minor improvements
...
- reduce 4 spaces between help columns as it's too wide for handhelds
- support `]` as prompt in nav-as-you-type-mode when filter is empty
- update plugin docs
2019-12-18 21:53:18 +05:30
Arun Prakash Jana
fb2c548e86
User control to disable prompt after run cmd as plugin
2019-12-17 20:57:29 +05:30
Maxim Baz
7b06480147
Fix fprint format args ( #410 )
...
Since 75061367be
we only need to fill one %c
2019-12-17 16:12:16 +05:30
Arun Prakash Jana
0feb690d7d
Reduce one space
2019-12-17 08:35:42 +05:30
Arun Prakash Jana
8d3c24d19f
Notify invalid keypress at bookmark and plugin key input
2019-12-17 07:13:50 +05:30
Maxim Baz
99128ab5c9
Show prompt for bookmark selection ( #409 )
...
* Cleanup unused MSG_
* Print only plugin keys
* Speed up preparing keys prompt
* Show prompt for bookmarks
* Don't error when user interactively pressed non-existent bookmark key
2019-12-17 07:06:40 +05:30
Arun Prakash Jana
75061367be
Use a combo to parse help string
2019-12-17 06:36:10 +05:30
Maxim Baz
f10481e93e
Make help page more readable ( #408 )
...
* Make help page more readable
* Always use 2 columns only
2019-12-17 05:05:58 +05:30
Maxim Baz
d6a4e449d3
Indicate when range selection and plugin picker are waiting for input ( #406 )
...
* Use [1:*] as indicator that range selection is in progress
* Fix review comments
* Add prompt for plugin selection
2019-12-17 04:37:48 +05:30
Arun Prakash Jana
5c76187b61
Update docs
2019-12-16 05:55:15 +05:30
Arun Prakash Jana
208a6605f5
Fix #402
2019-12-14 23:28:13 +05:30
Arun Prakash Jana
d58ab38c52
Update docs
2019-12-14 21:29:52 +05:30
Arun Prakash Jana
95f530854d
remove program option -f
2019-12-14 20:25:23 +05:30
Arun Prakash Jana
5b0b63e7d6
remove / as additional lead key when filter is on
2019-12-14 19:54:13 +05:30
Arun Prakash Jana
09083f3ed6
Update docs
2019-12-14 19:18:19 +05:30
Arun Prakash Jana
04d10fc94b
Use string filters by default
2019-12-14 14:15:07 +05:30
Arun Prakash Jana
1f0f3fdf01
Update man
2019-12-14 00:17:16 +05:30
Arun Prakash Jana
78830781ee
Update docs
2019-12-13 19:38:28 +05:30
Arun Prakash Jana
2886abc90c
Fix opening image with sxiv
2019-12-13 08:33:02 +05:30
Arun Prakash Jana
2f6a4dd8ee
Minor edits
2019-12-13 02:14:37 +05:30
Arun Prakash Jana
f73f79d5de
Simplify selection
...
Update the selection buffer and file in-place:
- Append file path when one is added.
- Remember the last position in selection buffer at which the next filename
is to be appended when a directory/context change happens (lastappendpos).
So in case of a de-selection we can go back to that position and scan all
the entries to add only the ones which are selected.
2019-12-13 01:57:58 +05:30
Arun Prakash Jana
5a46b8fb25
Sync file paths correctly for clipboard copy
2019-12-13 00:36:30 +05:30
Arun Prakash Jana
e723666256
End selmode and update selection on dir changes
2019-12-12 21:37:39 +05:30
Arun Prakash Jana
fcba62d296
Update selection when context changed on mouse click
2019-12-12 21:29:48 +05:30
Arun Prakash Jana
73593450ac
Fix build break
2019-12-12 20:11:31 +05:30
Arun Prakash Jana
fd8a8387b8
Add option to show noti and copy selection to system clipboard
2019-12-12 19:51:08 +05:30
Arun Prakash Jana
f95ee54870
Add plugin to show notification
2019-12-12 07:24:22 +05:30
Arun Prakash Jana
b64df85d23
Operation completion notification
2019-12-11 22:53:03 +05:30
Arun Prakash Jana
7eec6cedab
Reformat help
2019-12-11 20:30:23 +05:30
Arun Prakash Jana
dfd1422997
Remove redundant key for first file
2019-12-11 20:30:20 +05:30
Arun Prakash Jana
a86150f71a
Reformat help, remove redundant plugin key
2019-12-11 19:26:13 +05:30
KlzXS
8b7a74a451
Fix not properly checking if file is selected ( #401 )
2019-12-11 01:34:16 +05:30
Arun Prakash Jana
2e407d1325
Add m4a files
2019-12-10 22:57:06 +05:30
Arun Prakash Jana
ef09f42720
PR #399 : add autojump plugin
2019-12-10 22:30:35 +05:30
Arun Prakash Jana
92bba0cbf8
Fix #400 : several selection issues in v2.8.1
2019-12-10 20:59:10 +05:30
Arun Prakash Jana
8d143bb87f
Disable partial regex errors
2019-12-10 18:37:10 +05:30
Arun Prakash Jana
e8183058fd
Minor code refactor
2019-12-10 08:52:00 +05:30
Arun Prakash Jana
847bda4380
Combine archive operations
2019-12-10 03:56:38 +05:30
Arun Prakash Jana
8dd1946d1d
Revert to ] key
2019-12-10 01:27:51 +05:30
Arun Prakash Jana
6582855412
Key \ only works in empty prompt
2019-12-10 01:18:51 +05:30
Arun Prakash Jana
a3d6b81d9f
Key 's' to manage session
2019-12-10 01:09:15 +05:30
Arun Prakash Jana
741f82b091
Use \ as alternative prompt/run command keybind
2019-12-10 00:56:29 +05:30
Arun Prakash Jana
1991bb516f
Update light/detail print mode when loading session
2019-12-09 23:52:05 +05:30
Arun Prakash Jana
bc025ceb5a
Fix regex for file extension
2019-12-09 23:41:25 +05:30
Arun Prakash Jana
877f7b4d62
Exit if dir is unchanged
2019-12-09 23:27:10 +05:30
Arun Prakash Jana
b14e1a4856
Print line number in debug logs
2019-12-09 23:17:40 +05:30
Arun Prakash Jana
6fcc6834ff
Show symlink even if target cannot be stat-ed
2019-12-09 22:20:46 +05:30
Arun Prakash Jana
21f9a713dc
Fix auto-select for symlink to dir
2019-12-09 19:12:59 +05:30
Arun Prakash Jana
885cfd4734
Support both fzf and fzy
2019-12-09 18:36:48 +05:30
Arun Prakash Jana
9614fec13b
Update docs
2019-12-09 07:43:20 +05:30
Arun Prakash Jana
9d336b77fa
Disable shellcheck warning SC2086
2019-12-09 02:37:55 +05:30
Arun Prakash Jana
819bddaac9
Fix build break
2019-12-09 01:57:31 +05:30
Arun Prakash Jana
d5512462af
Move nlaunch to plugins as launch
2019-12-09 00:34:53 +05:30
Arun Prakash Jana
77ebfff98b
Rename opener nplay to nuke
2019-12-08 20:27:06 +05:30
Arun Prakash Jana
5708585c3b
Add nplay as a plugin
2019-12-08 08:27:53 +05:30
Arun Prakash Jana
5826da920f
Add nplay: a custom opener
2019-12-07 23:04:40 +05:30
Arun Prakash Jana
3b2b6f2b46
Fix only the last file path is copied to selection buffer
2019-12-06 22:24:35 +05:30
Arun Prakash Jana
9b384799b7
Cancel option for open with
2019-12-06 20:21:31 +05:30
Arun Prakash Jana
b65bc92e73
Fix build break
2019-12-06 18:57:53 +05:30
Arun Prakash Jana
70f3bd2e53
Fix #398
2019-12-06 08:50:23 +05:30
Arun Prakash Jana
7f2bf343f8
Use ISO 8601 in status bar
2019-12-05 21:03:05 +05:30
Arun Prakash Jana
90108ba763
Prepare for release v2.8.1
2019-12-05 04:47:32 +05:30
Arun Prakash Jana
c139178916
Add more details on selection
2019-12-04 18:54:25 +05:30
KlzXS
809b1885fb
Fix always archiving current file ( #396 )
2019-12-04 18:25:41 +05:30
Arun Prakash Jana
cc36aa8d49
Prepare for release v2.8
2019-12-04 02:58:27 +05:30
Arun Prakash Jana
add789c002
Use common construct for utility names
2019-12-03 21:11:06 +05:30
Arun Prakash Jana
0acd18f989
Minor plugin fixes
2019-12-03 18:52:40 +05:30
José Luis Neder
189042d2d9
Plugin renamer ( #393 )
...
This plugin is an alternative to the native batch rename interface in
nnn. qmv from renameutils and vidir from moreutils allow to rename
files without fear of replacing existing files.
2019-12-03 18:30:44 +05:30
Arun Prakash Jana
f80563e16a
Update docs
2019-12-03 06:56:43 +05:30
Arun Prakash Jana
5cd9794102
Remove redundant assignment
2019-12-02 22:24:06 +05:30
Arun Prakash Jana
6001eeb9a4
Disable rollover at edges on scroll
2019-12-02 18:24:59 +05:30
Arun Prakash Jana
3f0c604111
Option -R to disable rollover at edges
2019-12-01 23:00:06 +05:30
Arun Prakash Jana
feb1d2fc27
Handle some keys as special only if filter is empty
2019-12-01 19:58:08 +05:30
Arun Prakash Jana
130cea3598
Adapt picker mode to new selection changes
2019-11-30 20:36:04 +05:30
Arun Prakash Jana
19a914cd0c
Update docs
2019-11-30 20:35:58 +05:30
Arun Prakash Jana
e28197f066
Remove a startup loop and use self-fixing
2019-11-30 19:51:57 +05:30
Arun Prakash Jana
12669be900
Update auto-completion scripts
2019-11-30 18:14:39 +05:30
Arun Prakash Jana
178705a951
End selection before archive, new, rename
2019-11-30 16:15:12 +05:30
Arun Prakash Jana
b3b1384740
Update docs
2019-11-30 04:58:55 +05:30
Arun Prakash Jana
0a5dc2e336
Selection should work across contexts
2019-11-30 04:28:09 +05:30
Arun Prakash Jana
ef88a31a7c
Do not access invalid lastdir
2019-11-30 03:51:29 +05:30
Arun Prakash Jana
f231c35ef9
Update docs
2019-11-30 02:21:59 +05:30
Arun Prakash Jana
3b42b6fc42
Fix LICENSE file
2019-11-29 22:34:53 +05:30
Arun Prakash Jana
f9058e1aaa
Support link creation for hovered file
2019-11-29 20:58:12 +05:30
Arun Prakash Jana
965499c671
Show all selected files on M
2019-11-29 08:38:11 +05:30
Arun Prakash Jana
35b3cf3b1f
Update program help
2019-11-29 02:11:27 +05:30
Arun Prakash Jana
20ac9da988
Support deselection
2019-11-28 23:13:10 +05:30
Vidar Holen
1bf49c80e7
Some of the shell script fixes as per discussion ( #389 )
...
* Improved completion support for files with spaces
Filenames with spaces, both generally and for session names, will now
complete as expected.
* Misc shell script improvements
See discussion on:
1cca9e4b72
2019-11-26 18:06:31 +05:30
Arun Prakash Jana
e81efdb5e6
Update docs
2019-11-26 02:34:21 +05:30
Arun Prakash Jana
d986a32d0d
Update docs
2019-11-25 21:15:35 +05:30
Arun Prakash Jana
249836923e
Reduce delay, use a more meaningful msg
2019-11-25 08:21:14 +05:30
Arun Prakash Jana
e4ffe35892
Update comment to reflect millisecond
2019-11-25 07:50:22 +05:30
Arun Prakash Jana
e6f9d6d2d0
Add rclone support for remote access
2019-11-24 21:24:32 +05:30
Arun Prakash Jana
c4483a8956
Update docs on -E
2019-11-24 19:23:09 +05:30
Arun Prakash Jana
5d0af863b5
Set hovered and file as
2019-11-24 02:13:27 +05:30
Arun Prakash Jana
ca7405311f
Force undetachable edits in EDITOR
2019-11-24 01:54:06 +05:30
Arun Prakash Jana
9b37c9edb1
Load dir after hovered image
2019-11-23 10:37:46 +05:30
Arun Prakash Jana
c70aaf2076
Update docs
2019-11-23 10:32:08 +05:30
Arun Prakash Jana
c2998a819b
Revert "Indicative inode hash bitmap implementation. Read details."
...
This reverts commit 547d87bfc2
.
2019-11-23 10:07:05 +05:30
Arun Prakash Jana
547d87bfc2
Indicative inode hash bitmap implementation. Read details.
...
Known issues:
- To optimize dentfill() on most architectures we don't fstatat() with
AT_SYMLINK_NOFOLLOW to get the inode number of the symlink itself.
- The current hash size serves the purpose of one filesystem. To serve
more and have unique bits, we have to add more bits to prefix dev ID
to the inode. Memory consumption will be significant.
This will be reverted in next commit.
2019-11-23 10:05:06 +05:30
Arun Prakash Jana
b63c00c9af
Quote so files with newline in name work
2019-11-22 23:43:43 +05:30
Arun Prakash Jana
2c35beb0a2
Rename utility macros
2019-11-22 20:46:05 +05:30
Arun Prakash Jana
ababa87434
Organize strings together
2019-11-22 20:30:13 +05:30
Arun Prakash Jana
594d645e25
Rename plugins, group related ones
2019-11-22 17:51:13 +05:30
Arun Prakash Jana
085bda0330
Integrate similar plugins, diff should begin at start of file
2019-11-22 13:50:00 +05:30
Arun Prakash Jana
a34200a747
Integrate shellcheck in CI
2019-11-22 11:59:14 +05:30
Arun Prakash Jana
1cca9e4b72
shellcheck fixes
2019-11-22 11:13:34 +05:30
Arun Prakash Jana
ee2dcb1de7
Re-order plugin table
2019-11-21 22:14:25 +05:30
Arun Prakash Jana
2d23d8fe51
Drop findutils deps
2019-11-21 20:30:38 +05:30
Arun Prakash Jana
d4b7897b41
All binary confirmation is now y or Y
2019-11-21 19:11:56 +05:30
KlzXS
4db8a61dea
Don't use xargs options -I -o and -a ( #388 )
...
Also removed another stray cat
2019-11-21 18:19:55 +05:30
Arun Prakash Jana
cb3ee616c2
update man page
2019-11-21 02:38:34 +05:30
Arun Prakash Jana
be65fe4ccf
Add examples of conflicting keybinds
2019-11-21 02:23:02 +05:30
Arun Prakash Jana
7d70a655e6
Fix picker mode
2019-11-21 00:56:55 +05:30
Arun Prakash Jana
2d91768d88
Fix some cat abuses in code, plugins
2019-11-21 00:31:39 +05:30
Arun Prakash Jana
0c0f12b528
Use single API to create dir tree
2019-11-20 23:23:44 +05:30
Arun Prakash Jana
f0ca47afae
dirs and files can be created with parent dirs
2019-11-20 21:11:13 +05:30
Arun Prakash Jana
5b7448bac9
Various plugin fixes
...
1. getplugs should work even if nnn is not run
2. Remove redundant ./ prefix
3. Update plugin docs
2019-11-20 19:19:09 +05:30
Arun Prakash Jana
cc3702b2e1
Fix lint error
2019-11-20 01:34:07 +05:30
Arun Prakash Jana
3a9def25d8
Create new files and dirs with parent (like mkdir -p)
2019-11-20 01:28:11 +05:30
Arun Prakash Jana
9729b1f5a6
Refresh dirs on disruptive chnages, update sxiv plugin to browse and rename
2019-11-19 21:01:59 +05:30
Arun Prakash Jana
97e16364bb
Readahead is not available on all platforms
2019-11-18 22:04:09 +05:30
Arun Prakash Jana
6d3f3ba6a2
Show [selmode:num_selected] in status bar
2019-11-18 21:46:38 +05:30
Arun Prakash Jana
084a4c77c5
Add key ] to show prompt
2019-11-18 20:21:00 +05:30
Arun Prakash Jana
8705cb99a3
Seek advantage of kernel readahead()
...
References:
1. http://man7.org/linux/man-pages/man2/posix_fadvise.2.html
2. https://www.oreilly.com/library/view/linux-system-programming/9781449341527/ch04.html
2019-11-18 19:54:14 +05:30
Arun Prakash Jana
0ef9ec196e
Use boxes to show number of selected files.
2019-11-18 19:34:03 +05:30
Arun Prakash Jana
3004694cd4
Update man page on executing commands directly.
...
Remove extra static string.
2019-11-18 18:57:04 +05:30
Mischievous Meerkat
577d8d9bfc
Update ndiff
2019-11-18 12:11:35 +05:30
Mischievous Meerkat
11204d09d5
Update quitcd.csh
2019-11-18 12:10:50 +05:30
Arun Prakash Jana
52fad544fc
Always open vimdiff at start of file
2019-11-18 04:04:04 +05:30
Arun Prakash Jana
4ee9e2d129
Add key ; to execute plugin
2019-11-18 00:30:00 +05:30
Arun Prakash Jana
f7fa1ffc8e
Update plugin docs
2019-11-18 00:14:04 +05:30
Arun Prakash Jana
6bbf3ac9c4
Show output after running command
2019-11-17 21:56:05 +05:30
Arun Prakash Jana
472564fd7f
Do not update merged file, remove README.md
2019-11-17 21:02:43 +05:30
Arun Prakash Jana
4f787fd59e
Fix line count when editing selection
2019-11-17 20:26:01 +05:30
KlzXS
2cbd76abf6
getpulgs now asks before overwriting ( #385 )
...
* getpulgs now asks before overwriting
* Forgot a space
2019-11-17 19:52:36 +05:30
Arun Prakash Jana
0f5f04d087
Revert "Fix #384 : support busybox xargs"
...
This reverts commit 407b690404
.
2019-11-17 19:17:39 +05:30
Arun Prakash Jana
0620b1dfb5
Plugin fzhist
2019-11-17 19:14:30 +05:30
Arun Prakash Jana
407b690404
Fix #384 : support busybox xargs
2019-11-17 17:45:22 +05:30
Arun Prakash Jana
f4acfc7a4e
Block nesting of nnn instances
2019-11-17 14:33:30 +05:30
Arun Prakash Jana
7d0be597ad
Rename fzy-open to fzopen
2019-11-17 13:08:26 +05:30
Arun Prakash Jana
5b8b9eaa92
Add image of plugin gutenread in action
2019-11-17 10:17:38 +05:30
Arun Prakash Jana
6693bf8f13
Fixes the following workflow:
...
- press pick plugin key
- navigate away from the plugin directory (to ~, say)
- try to open any file, fails
When we are in run plugin mode, but detect we are in a different
context or a non-plugin directory, just cancel the runplgin mode
and continue as usual.
It also cleans up the plugin run function.
2019-11-17 10:05:23 +05:30
Arun Prakash Jana
05c84f7b80
Clear prompt after running a command.
2019-11-17 05:36:39 +05:30
Arun Prakash Jana
e3aed0f658
Update help
2019-11-17 05:30:14 +05:30
Arun Prakash Jana
61048258a7
Do not reload for help, edit and page if in selection mode
2019-11-17 04:49:50 +05:30
Arun Prakash Jana
efa9a6727d
Change the key to size sort to z
2019-11-17 04:11:27 +05:30
Arun Prakash Jana
37bf6b1010
Redraw in non-filter mode after hovered file deletion
2019-11-16 21:46:15 +05:30
Arun Prakash Jana
88698b372b
Edit also flushes selection
2019-11-16 20:39:05 +05:30
Arun Prakash Jana
4c863d9b7b
Do not check for events when selecting files
2019-11-16 20:10:03 +05:30
Arun Prakash Jana
c7b037d6a1
Use small letters
2019-11-16 14:06:38 +05:30
Arun Prakash Jana
f8b8c67bee
Update docs
2019-11-16 11:43:38 +05:30
Arun Prakash Jana
cf987fa988
Plugin treeview to show tree o/p with perms and size
2019-11-16 11:22:34 +05:30
Arun Prakash Jana
e82f6d02cd
Plugin extoggle to toggle executable status
2019-11-16 10:36:39 +05:30
Arun Prakash Jana
2b4bd35ba6
Simplify running commands
2019-11-16 07:20:18 +05:30
Arun Prakash Jana
f31fa09f56
Fix issue with running plugin when help screen is shown
2019-11-15 22:36:57 +05:30
0xACE
688ed885d1
Fix dragdrop not working in selection mode ( #382 )
...
xargs couldn't call function `dnd()` and I couldn't find a portable way
to do it, so I replaced it with a variable which I guess should work
fine.
2019-11-15 21:57:37 +05:30
Arun Prakash Jana
950a8f6a65
Fix #381
2019-11-15 21:55:18 +05:30
Arun Prakash Jana
3c28d1f1d7
Refactor plugin handling
2019-11-14 02:55:05 +05:30
Arun Prakash Jana
d723299df6
Add CentOS 8.0, Fedora 31
2019-11-12 19:30:56 +05:30
Arun Prakash Jana
32b19efc85
Update docs
2019-11-12 03:01:53 +05:30
Arun Prakash Jana
fa4c37f230
Fix segfault
2019-11-11 21:43:56 +05:30
Arun Prakash Jana
6ea64288bc
Fix #379
2019-11-09 03:47:49 +05:30
Arun Prakash Jana
12f108cac9
Fix fzcd not working from other contexts
2019-11-09 02:52:44 +05:30
Arun Prakash Jana
53a2e4c560
Incorporate PR #368
2019-11-08 19:15:53 +05:30
Arun Prakash Jana
5077b020bc
Update docs
2019-11-06 16:26:49 +05:30
Arun Prakash Jana
9272c90f93
Removal of current dir can be a pain without force
2019-11-05 22:05:49 +05:30
Arun Prakash Jana
8a7d2bd1ed
Clear buffer for no locale compilation
2019-11-05 20:03:12 +05:30
Arun Prakash Jana
94e4dc51ba
Make bulk delete more verbose
2019-11-05 19:52:07 +05:30
Arun Prakash Jana
2559ddbd38
Add Wayland clipboard example
2019-11-05 02:45:32 +05:30
0xACE
955826a1e8
Fix dragdrop stderr causing issues ( #374 )
...
For w/e reason the output from `which` causes problems with nnn
rendering. This commit silences the problematic lines.
2019-11-04 08:12:00 +05:30
Arun Prakash Jana
6713bfba13
Fix #373
2019-11-02 21:50:26 +05:30
Arun Prakash Jana
baaf3ede2a
Update docs
2019-11-02 20:46:50 +05:30
Arun Prakash Jana
169c2141f6
Print improvements
2019-11-02 07:51:45 +05:30
Arun Prakash Jana
aedb9c2753
Update drag and drop plugin
2019-11-02 06:56:34 +05:30
0xACE
3c1645ca90
Merged drag and drop scripts to 1 file ( #372 )
2019-11-02 06:54:14 +05:30
Arun Prakash Jana
013dad1186
plugin pskill
2019-11-01 21:54:51 +05:30
Anna Arad
c5c9323d30
Fix bad getplugs script ( #370 ) ( #371 )
2019-11-01 21:28:32 +05:30
Arun Prakash Jana
55f687e463
Update version to 2.7
2019-11-01 19:38:41 +05:30
Arun Prakash Jana
5c336fb7da
Fix build break
2019-11-01 16:19:34 +05:30
Arun Prakash Jana
ef8db1fd45
Show size of file in bytes in status bar in du mode
2019-11-01 15:28:13 +05:30
Arun Prakash Jana
7416bb8503
Print version in debug output
2019-11-01 02:34:06 +05:30
Arun Prakash Jana
ef6a995e38
Fix #369 : calculate checksum for directory tree
2019-11-01 02:28:25 +05:30
Arun Prakash Jana
6eeab1af9f
Use macro for 512B sector size
2019-10-30 22:43:22 +05:30
Arun Prakash Jana
a97e3ed5c4
Fix opening files from browser
2019-10-30 20:17:31 +05:30
Arun Prakash Jana
cf4ad22676
Add complete audio conversion tip
2019-10-25 07:50:54 +05:30
Arun Prakash Jana
b987931f47
Do not pass path to commands
2019-10-24 20:25:07 +05:30
Arun Prakash Jana
8c096dad28
Update docs
2019-10-24 15:10:13 +05:30
Arun Prakash Jana
5bebd4ac67
Extend plugin mechanism to arbitrary commands
2019-10-24 12:44:01 +05:30
Arun Prakash Jana
cb916661c8
Minor reformat
2019-10-24 11:53:34 +05:30
Arun Prakash Jana
5734f49126
Fix KEY_RESIZE loop
2019-10-24 08:47:45 +05:30
Arun Prakash Jana
3dd95fd9a8
Fix checkpatch warnings
2019-10-24 08:44:36 +05:30
Arun Prakash Jana
97200a2491
Update docs
2019-10-24 06:56:24 +05:30
Anna Arad
45387a431d
Fix Fish autocomplete suggestions for sessions
2019-10-23 17:58:08 +03:00
Anna Arad
b81affffa1
Fix code examples in plugins README
2019-10-23 16:55:57 +03:00
Anna Arad
9afd7cf3bf
Implement plugins control of nnn + plugins ( #364 )
...
* Implement plugins control of nnn + plugins
* Refactor plugins control code and fix getplugs to recognize hidden files
* Fix bug when going to dir on non-current context from plugin
* Fix some plugins to work on openbsd and freebsd
* Renamings
* Switch to -R flag in cp instead of -r; BSDs complain
* Change braces of function location
* Rewrite plugin creation in README and add new plugins to the table
* Update the fzcd script to include fzy or fzf
* Change plugin name resolve-link-dir -> lncd
* Fixing plugins README table
* Remove some cd plugins but add them as examples to plugins README
2019-10-23 15:34:12 +05:30
Arun Prakash Jana
0144f44060
Remove special characters from help
2019-10-21 20:13:52 +05:30
Arun Prakash Jana
3966465171
Change spaces to tab
2019-10-21 06:55:19 +05:30
Arun Prakash Jana
d3eece14cc
Fix #366 : update docs
2019-10-20 19:41:55 +05:30
Arun Prakash Jana
651b27032d
Fix #366
2019-10-20 19:37:35 +05:30
Arun Prakash Jana
f601d825bc
Refactor fixes
2019-10-20 19:19:25 +05:30
Arun Prakash Jana
71bf18cee3
Refactor
2019-10-20 05:35:41 +05:30
Arun Prakash Jana
1b3b9f503d
Refactor cp, mv, cp-mv as, rm
2019-10-19 13:25:50 +05:30
Arun Prakash Jana
95e9151c90
Refactor screen move
2019-10-19 09:10:52 +05:30
Arun Prakash Jana
864273dd9b
Refactor current directory removal
2019-10-19 08:43:32 +05:30
Arun Prakash Jana
ae7a3fbdc1
Clean up plugin handling code
2019-10-19 07:00:04 +05:30
Arun Prakash Jana
62457c3984
Update docs
2019-10-19 05:17:38 +05:30
Arun Prakash Jana
3aebeaec58
Update docs on session
2019-10-19 04:03:46 +05:30
Anna Arad
60dac94a5e
Implementing sessions support ( #360 )
...
* Initial commit of sessions implementation
* Reduce code duplication
* Move load session to program flag -e
* Fix context initialization problem when loading session
* Add pinned directory to session and reduce session file size
* Make load_session print an error if exists and few minor adjustments
* Refactor session's file structure
* Initialize required structures in load_session before loading
* Add load session dynamically, restore last session, and extra fixes
* Fix indentation
* Add sessions documentation to man page
* Update fish completions with sessions and make some improvements
* Move to single keybinding session management and add help info
* ESC when asked to insert session name behaves better
* Add sessions completion for bash
* Remove pinned dir from session and minor code refactors
2019-10-19 03:41:39 +05:30
Arun Prakash Jana
2da5602a4f
Use a single keybind for cp/mv as
2019-10-17 23:35:49 +05:30
Arun Prakash Jana
522626a88d
Combine related cases together
2019-10-16 08:29:49 +05:30
Sijmen J. Mulder
3953639c5d
Fix build (and more) on SmartOS ( #363 )
...
* Define _XOPEN_SOURCE_EXTENDED on SmartOS
Enables wide ncurses.
* SmartOS has alloca() in alloca.h
* SmartOS does not have sig_t
* dprintf() is not available on SmartOS
So replace its usage with fprintf.
* SmartOS has no d_type
* SmartOS has no CLOCK_MONOTONIC_RAW
* SmartOS has no O_DIRECTORY
* Work around SmartOS not having mime detection
* Missing comma
2019-10-16 07:07:45 +05:30
Sijmen J. Mulder
98042ad7d0
Fix strftime() buffer overflow ( #362 )
...
If the formatted string is longer than 17 characters the string won't
be null terminated, causing gibberish to be printed on the status line
and possibly worse.
This occurs with my current locale in which a date is printed as such:
2019-okt.-15 19:26
Which is 18 characters.
2019-10-16 07:01:19 +05:30
Arun Prakash Jana
43c636d95c
Simplify functions
2019-10-15 06:15:32 +05:30
Arun Prakash Jana
269b80dbb2
Minor reformat
2019-10-15 05:56:34 +05:30
Arun Prakash Jana
29a934a1d2
Improve readibility
2019-10-15 04:17:12 +05:30
Arun Prakash Jana
8ac4a834ad
Minor refactor
2019-10-15 03:47:57 +05:30
Arun Prakash Jana
9469479c0a
Add function to count newlines in file
2019-10-14 22:49:24 +05:30
Arun Prakash Jana
ff562983e1
Fix build break on macOS
2019-10-14 22:08:07 +05:30
KlzXS
b9d183db26
Added copy/move-as (copy/move and rename) ( #356 )
...
* Added copy/move-as (copy/move and rename)
* Little refactorings
* Also handle selection file for cpmv_rename()
2019-10-14 22:06:45 +05:30
Arun Prakash Jana
04cba31128
Use a macro for readability
2019-10-14 17:58:16 +05:30
0xACE
2ac22cfc9f
Mouseclicks are no longer delayed ( #353 )
...
This patch changes the mouseinterval to 0. And handles detection of
doubleclicking events internally.
This allows much faster response times for mouse clicks as nnn no longer
has to wait for ncurses to confirm what type of click it was.
It introduces a new config setting for changing how many milliseconds it
may take for a double click to be registered.
2019-10-14 17:55:04 +05:30
Anna Arad
49bee69490
suedit plugin ( #359 )
2019-10-14 06:36:11 +05:30
0xACE
ab0fe6c408
unmount() ask for target if not found ( #358 )
...
* unmount() ask for target if not found
unmount() now properly asks for which target to unmount if it cannot
automatically deduce which folder to unmount.
* no more automatic unmounts outside of cfgdir
2019-10-13 20:53:32 +05:30
Anna Arad
06ff2c55da
Remove -Wno-unused-parameter and do cleanup ( #357 )
2019-10-13 19:10:06 +05:30
Arun Prakash Jana
087380968d
Pass path as second argument
2019-10-13 17:28:02 +05:30
Arun Prakash Jana
19ea710e08
gutenread: support epub
2019-10-13 12:06:32 +05:30
Anna Arad
6d7c25822a
Makefile detect header change ( #355 )
2019-10-13 03:07:53 +05:30
Arun Prakash Jana
2f413f8059
Plugin to browse, download, read from Project Gutenberg
2019-10-13 01:24:02 +05:30
0xACE
262c94f696
Check for alternative name for drag/drop exec ( #354 )
...
KDE dragon player collides with the name of the drag/drop dependency. On
archlinux the binary is renamed to `dragon-drag-and-drop`.
This change tries `dragon-drag-and-drop` before defaulting to `dragon`.
2019-10-13 00:48:50 +05:30
Arun Prakash Jana
e371182a5b
Optional fortune quotes in help/config page
2019-10-12 23:04:34 +05:30
Arun Prakash Jana
ec9331de17
Update docs
2019-10-12 10:20:21 +05:30
Arun Prakash Jana
fef8f041d2
Fix build break
2019-10-12 08:44:58 +05:30
0xACE
3eb0a38c5e
Added 2 plugins for drag and drop support ( #352 )
...
* Added 2 plugins for drag and drop support
These scripts uses https://github.com/mwh/dragon
and curl.
It allows nnn to drag and drop files either to other programs, or to
itself.
* added link to dependency and spelling
* added drag/drop-file scripts to readme table
2019-10-12 07:55:30 +05:30
Arun Prakash Jana
10188fa9b1
Update to Ubuntu 18.04 install commands
2019-10-12 03:26:00 +05:30
Arun Prakash Jana
19df7777db
Mount archives using archivemount
2019-10-12 02:13:08 +05:30
Arun Prakash Jana
c54f50cf4f
Remove unused param
2019-10-12 00:26:34 +05:30
Arun Prakash Jana
d1d491c102
Fix #350 : cd on quit if NNN_TMPFILE is set
2019-10-11 23:19:25 +05:30
Arun Prakash Jana
c99a47d688
Update man page on -K
2019-10-11 21:26:03 +05:30
Arun Prakash Jana
45c8730d2c
Fix build break
2019-10-11 21:19:51 +05:30
Arun Prakash Jana
fe80d5aa9d
Update key collision detection
2019-10-11 20:59:22 +05:30
Anna Arad
ab8e3e445e
Implement a basic keybinding collision checker. (ToDo list #337 ) ( #348 )
2019-10-11 19:41:56 +05:30
Arun Prakash Jana
a7d224f1e5
Fix #351 : reduce prompt length for new file/dir
2019-10-11 18:38:06 +05:30
Arun Prakash Jana
b42efcbb1f
Document edit selection
2019-10-10 19:26:08 +05:30
KlzXS
b7c2ce741a
Implemented edit selection buffer ( #345 )
...
* Implemented edit selection buffer
* Added checks and changed keybind
* Forgot check and style fixes
* Don't work late at night again
You forget things when you're tired
2019-10-10 18:37:16 +05:30
Arun Prakash Jana
7965fa1b0d
Fix #342 : mention as Lead key in docs
2019-10-10 08:30:17 +05:30
Mischievous Meerkat
f72cf4cee4
Merge pull request #347 from rindeal/make-fix
...
allow multiple make targets being specified at once
2019-10-09 21:24:40 +05:30
Jan Chren (rindeal)
7cc108f6a8
allow multiple make targets being specified at once
2019-10-09 17:45:40 +02:00
Mischievous Meerkat
0125684d3f
Merge pull request #344 from rindeal/make
...
do build configuration with variables instead of targets
2019-10-09 20:44:46 +05:30
Jan Chren (rindeal)
9e25886694
do build configuration with variables instead of targets
2019-10-09 17:05:56 +02:00
Arun Prakash Jana
84bb0b5bfe
Update doc on deselect, file size
2019-10-09 19:51:51 +05:30
Arun Prakash Jana
2d50a0db50
Update doc
2019-10-08 19:45:29 +05:30
Arun Prakash Jana
b4ba845fe3
Remove obsolete troubleshooting note
2019-10-08 01:47:52 +05:30
Arun Prakash Jana
4f6f1a59d3
Fix #338 : export current file as $NNN
2019-10-07 16:32:00 +05:30
Arun Prakash Jana
048c5195c3
Prepare for release v2.7
2019-10-06 20:19:22 +05:30
Arun Prakash Jana
9ff7ed9291
Update docs
2019-10-06 19:52:30 +05:30
Arun Prakash Jana
bb0f1db965
Update auto-complete scripts
2019-10-06 18:57:15 +05:30
Arun Prakash Jana
f2618a95fb
Update ToDo list link
2019-10-06 12:33:03 +05:30
Arun Prakash Jana
a37ddfa080
Rename target nolocale to noloc
2019-10-05 07:26:18 +05:30
Arun Prakash Jana
914e180287
Update help
2019-10-05 07:23:25 +05:30
Arun Prakash Jana
baac461b33
Limit imput length at readline prompt
2019-10-05 07:17:01 +05:30
Arun Prakash Jana
2f4144b0bd
Key ^N replaces ^T to toggle nav mode
2019-10-05 07:06:32 +05:30
Arun Prakash Jana
14c355bacf
Add keys: Shift+TAB, '
2019-10-05 06:59:43 +05:30
Arun Prakash Jana
9dab803e1a
Suppress permission denied messages
2019-10-04 20:46:57 +05:30
Arun Prakash Jana
402f5651a1
Use type that fits length
2019-10-04 20:34:37 +05:30
Arun Prakash Jana
57298b7fcc
Use ix.io paste service
2019-10-04 18:45:21 +05:30
Arun Prakash Jana
8b9f96e645
Remove redundant alignment requirement
2019-10-04 08:10:35 +05:30
Arun Prakash Jana
133f55170b
Target nolocale: saves more on memory
2019-10-04 08:10:31 +05:30
Arun Prakash Jana
241a261531
fix CHANGELOG
2019-10-04 06:48:11 +05:30
Arun Prakash Jana
d493f78dea
Track up to 8 events
2019-10-03 21:15:11 +05:30
Arun Prakash Jana
3489c87b98
Remove weak check for CLI detection
2019-10-03 18:14:51 +05:30
Arun Prakash Jana
add2db80f2
Update man
2019-10-03 03:46:44 +05:30
Arun Prakash Jana
f4ec874b79
Fix
2019-10-03 03:44:54 +05:30
Arun Prakash Jana
9f68e74289
Revert "Fix #334 : Detect session type"
...
This reverts commit e226e8c889
.
2019-10-03 03:33:15 +05:30
Arun Prakash Jana
e226e8c889
Fix #334 : Detect session type
2019-10-03 02:38:26 +05:30
Arun Prakash Jana
4a41d3a894
Group dirs on top
2019-10-03 02:24:08 +05:30
Arun Prakash Jana
66713730f0
Add plugin uidgid
2019-10-03 00:16:44 +05:30
Arun Prakash Jana
a9f60d0353
Block range selection only when dir chanegs
2019-10-02 23:57:26 +05:30
Arun Prakash Jana
5f4046b63d
Fix #334
2019-10-02 23:04:56 +05:30
Arun Prakash Jana
67c33a5e80
Code refactor
2019-10-02 22:34:11 +05:30
Arun Prakash Jana
757a783d49
^S is used by stty, use ^K
2019-10-02 12:14:38 +05:30
Arun Prakash Jana
f75620e95b
Update plugin viuimg
2019-10-01 07:35:54 +05:30
Arun Prakash Jana
30b5b0ed72
Update docs
2019-10-01 05:08:21 +05:30
Arun Prakash Jana
57e9cd54a2
SSHFS is optional dep
2019-10-01 04:21:56 +05:30
Arun Prakash Jana
727fad3b32
Add image
2019-10-01 04:01:02 +05:30
Arun Prakash Jana
afdec4a573
Fix crc8 match on range selection
2019-10-01 02:55:40 +05:30
Arun Prakash Jana
951d43eb77
Clear selection file on clear selection
2019-09-30 23:02:44 +05:30
Arun Prakash Jana
025c7f0a48
Remove selmode indicator
2019-09-30 22:23:54 +05:30
Arun Prakash Jana
465bb92693
Update program help
2019-09-30 22:11:35 +05:30
Arun Prakash Jana
57d9edfed3
Get rid of selection mode. Plus associated changes.
...
- distinct keybinds for single entry, range or all selection
- selecting a file/range/all files would turn selection mode on
- single file/range or all selection appends to selection
- any operation (cp, mv, rm, plugin/file execution, cmd prompt, launch app, spawn
shell) on selection ends the selection mode
- selection buffer is cleared after mv, rm on selection
- repeat range selection on same file clears selection and exits seleciton mode
- basic check (won't work on dir reload) added to avoid duplicates in selection
2019-09-30 21:35:52 +05:30
Arun Prakash Jana
7cae5dfe44
Shortcut to list selection y is now M
2019-09-30 18:54:27 +05:30
Arun Prakash Jana
62a0932976
Update docs on new selection shortcuts
2019-09-30 08:53:34 +05:30
Arun Prakash Jana
6ba1e48e62
End multi selection mode before link
2019-09-30 07:41:34 +05:30
Arun Prakash Jana
9d23517d10
key ^Y is now ^S, key ^K is now ^J, kwy ' is now m
2019-09-30 06:54:06 +05:30
Arun Prakash Jana
318ddd2ca6
Remove shortcut Leadq to quit context
2019-09-30 06:35:16 +05:30
Arun Prakash Jana
b340ecc257
Do not clear buffer on selection end
2019-09-29 23:06:27 +05:30
Arun Prakash Jana
17de5bfc27
Use better keys for selection mode
2019-09-29 22:59:27 +05:30
Arun Prakash Jana
b046157b61
End selection mode when an operation is run
2019-09-29 21:44:47 +05:30
Arun Prakash Jana
1d5f1bf653
Rename selection related tokens
2019-09-29 11:27:42 +05:30
Arun Prakash Jana
3309736060
Show Z for size sort
2019-09-29 10:44:53 +05:30
Arun Prakash Jana
a6eb685ff5
Update docs
2019-09-29 10:02:51 +05:30
Arun Prakash Jana
a25165d1bd
Fix directory view with viuimg
2019-09-29 09:19:44 +05:30
Arun Prakash Jana
e8d5c453d7
Move packagecore config, update matrix
2019-09-29 08:02:40 +05:30
Arun Prakash Jana
2446d7c68c
Update help screen
2019-09-28 22:15:49 +05:30
Arun Prakash Jana
6f856dbe74
Update docs
2019-09-28 21:28:43 +05:30
Arun Prakash Jana
a7b61f79c4
Shorten option list
2019-09-28 20:04:24 +05:30
Arun Prakash Jana
e80b9b3c6a
Export current entry name as NN
...
The current file or dir name is exported in env var NN before running a cmd at
the command prompt or spawning a shell.
Export current file name as NCUR
2019-09-28 16:33:22 +05:30
Arun Prakash Jana
dc9245d6b0
Update docs
2019-09-28 06:47:44 +05:30
Arun Prakash Jana
1e7cc1f369
Update plugin docs
2019-09-27 22:21:04 +05:30
Arun Prakash Jana
2c3b5e2f78
Add command to download plugins
2019-09-27 21:13:01 +05:30
Arun Prakash Jana
65c986b70a
Update some sections
2019-09-27 19:35:14 +05:30
Arun Prakash Jana
5c73c8942b
Update some sections
2019-09-27 08:54:50 +05:30
Arun Prakash Jana
60b590791c
Update docs
2019-09-26 21:51:38 +05:30
Arun Prakash Jana
85b5d33fa4
Do not reload dir after running plugin
2019-09-26 21:45:08 +05:30
Arun Prakash Jana
d7ce06b10b
Add plugin to take quick notes
2019-09-26 19:56:43 +05:30
Arun Prakash Jana
ce8e6a8791
Update docs
2019-09-26 19:17:48 +05:30
Arun Prakash Jana
b0c0cc72c4
Use uniform separator
2019-09-26 08:22:53 +05:30
Arun Prakash Jana
52b413adae
Fix lint error
2019-09-26 06:24:11 +05:30
Arun Prakash Jana
ccc25fd0f0
Update docs
2019-09-26 05:55:58 +05:30
Arun Prakash Jana
1ca1705219
Set num files selected in single select mode
2019-09-21 12:03:19 +05:30
Arun Prakash Jana
7335deb022
du status line change
2019-09-20 08:35:37 +05:30
Arun Prakash Jana
7ec54342ae
Remove redundant newline
2019-09-19 21:58:34 +05:30
Arun Prakash Jana
b5ed36bebe
mocplay: confirm working with selection
2019-09-16 23:35:43 +05:30
Arun Prakash Jana
450601bea5
Update docs
2019-09-16 21:01:56 +05:30
Arun Prakash Jana
99840a6fa3
Show file size in status bar
2019-09-16 02:03:16 +05:30
Arun Prakash Jana
6bb6671118
Update help
2019-09-16 01:33:41 +05:30
Arun Prakash Jana
4a0e3570fe
Remove redundant spaces
2019-09-16 01:33:41 +05:30
Arun Prakash Jana
7c8df20bea
Key : to run plugin
2019-09-16 01:33:41 +05:30
Arun Prakash Jana
5259eb3f61
New image
2019-09-16 01:33:36 +05:30
Arun Prakash Jana
2f0dc405b8
No filename in status bar in du mode, coding style fixes
2019-09-15 21:39:39 +05:30
Arun Prakash Jana
6c39d87cdf
Key > to run plugin
2019-09-15 19:11:10 +05:30
Arun Prakash Jana
e68e8ad8a5
Show directory size
2019-09-15 18:25:11 +05:30
Arun Prakash Jana
6feaecafe2
An extra column when no indicator
2019-09-15 18:14:56 +05:30
Arun Prakash Jana
9afe09b4b5
Uniform status bar for light and detail modes
2019-09-15 05:35:58 +05:30
Arun Prakash Jana
5936d3f110
Disable du on detail mode switch
2019-09-15 04:56:54 +05:30
Arun Prakash Jana
b2199db194
Code refactor
2019-09-15 04:23:12 +05:30
Arun Prakash Jana
2a74640fc6
Status bar: show time and perms in light mode
2019-09-15 04:13:26 +05:30
Arun Prakash Jana
a07c542870
Retain filter after running command
2019-09-15 01:37:39 +05:30
Arun Prakash Jana
e2a95140d5
Add note on dated versions
2019-09-14 05:55:28 +05:30
Arun Prakash Jana
2820991383
Show extn for regular files
2019-09-12 22:15:25 +05:30
Arun Prakash Jana
e4c14ee13c
Shortcut mapping: S for du, A for apparent du
2019-09-12 08:30:12 +05:30
Arun Prakash Jana
684a90a0fb
Batch rename: prompt if selection exists
2019-09-11 19:53:20 +05:30
Arun Prakash Jana
c3ce5bc705
Preserve attributes on duplicate, update docs
2019-09-11 18:28:41 +05:30
Arun Prakash Jana
bb5ef221b3
Run a command at filter prompt
...
This is a conveninece for nav-as-you-type mode.
With this program option, on pressing ^P, the filter is executed as cmd.
2019-09-11 14:54:23 +05:30
Arun Prakash Jana
ccf20f830b
Replace printw() with addstr()/addch()
2019-09-11 01:34:18 +05:30
Arun Prakash Jana
8d283886b0
10 chars are printed in for contexts
2019-09-11 00:12:25 +05:30
Arun Prakash Jana
d33f469296
Remove redundant variable
2019-09-10 20:26:08 +05:30
Arun Prakash Jana
a064818acf
Fold only long paths
2019-09-09 23:41:45 +05:30
Arun Prakash Jana
7621078d52
Show path in short form
2019-09-08 15:28:31 +05:30
Arun Prakash Jana
84119b1238
Prefer selection to copy in names
2019-09-08 14:23:00 +05:30
Arun Prakash Jana
9988d254fe
Fix xitoa()
2019-09-08 14:05:02 +05:30
Arun Prakash Jana
1baf284369
Show selection mode and number of selected files
2019-09-08 12:39:39 +05:30
Arun Prakash Jana
cea542b515
Update docs
2019-09-06 20:03:48 +05:30
Arun Prakash Jana
bde0f5c354
Fix help alignment
2019-09-05 19:42:59 +05:30
Arun Prakash Jana
1107df9515
Update ToDo list link
2019-09-03 19:55:10 +05:30
Arun Prakash Jana
d55d1ad810
Simplify numeric value check
2019-09-01 11:53:17 +05:30
Arun Prakash Jana
cabef475ab
Fix SEL_CYCLE (tab)
2019-08-31 23:19:04 +05:30
Arun Prakash Jana
460fe7c080
Update example
2019-08-30 21:03:39 +05:30
Arun Prakash Jana
ec873ab4fa
Option -a to use file access time
2019-08-30 21:00:47 +05:30
Arun Prakash Jana
3f40980dd0
Plugin oldbigfile: find large files by access time
2019-08-30 20:01:13 +05:30
Arun Prakash Jana
94c3af873c
Implement mediainfo as a plugin
2019-08-28 00:02:33 +05:30
Arun Prakash Jana
f781fbe78c
Set mode to detail for option -S
2019-08-25 21:15:17 +05:30
Arun Prakash Jana
ea81e2e569
Add F12 as run plugin key:wq
2019-08-25 19:48:08 +05:30
Arun Prakash Jana
86594a747f
Fix plugin boom, make customizable
2019-08-25 06:17:05 +05:30
Arun Prakash Jana
2c90999381
Lead followed by . to show hidden files
2019-08-25 06:05:10 +05:30
Arun Prakash Jana
871685f7ca
New keys: F2 (rename) F5 (redraw)
2019-08-25 05:36:28 +05:30
Arun Prakash Jana
9b6ffeef5d
Use MOC in plugin boom
2019-08-24 22:35:04 +05:30
Arun Prakash Jana
d8fe4b3bb6
Plugin dups: find duplicate files in dir
2019-08-24 21:23:52 +05:30
Arun Prakash Jana
eb3a9ad2ee
Restore mousemask before exit
2019-08-24 19:44:49 +05:30
Arun Prakash Jana
3b7d07207d
Use concepts section to wiki
2019-08-24 11:29:29 +05:30
Arun Prakash Jana
611eaa51c8
Use canonical replstr
2019-08-23 22:08:29 +05:30
Arun Prakash Jana
3a0f2a20d8
Fix #328
2019-08-23 21:43:32 +05:30
Arun Prakash Jana
a4d8d68c7d
Option -r to show cp, mv progress on Linux
2019-08-23 20:28:56 +05:30
Arun Prakash Jana
979fadcc7e
Change history file path.
...
The new path is ${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.history
2019-08-23 19:10:48 +05:30
Arun Prakash Jana
9feb5ce651
Merge fzy-edit into fzy-open
2019-08-23 08:30:48 +05:30
Arun Prakash Jana
0fbd68ab48
Use lighter function to print character
2019-08-23 08:30:44 +05:30
Arun Prakash Jana
6ea75cfd8d
Fix broken links, update docs
2019-08-21 08:59:39 +05:30
Arun Prakash Jana
505bf0574e
Avoid double conversion in light mode
2019-08-20 21:55:54 +05:30
Arun Prakash Jana
f4f1acf856
Remove wild load option
2019-08-20 20:00:48 +05:30
Arun Prakash Jana
8d16d6ac5f
Update list of packagers
2019-08-20 08:50:07 +05:30
Arun Prakash Jana
e3a4ddeb55
Update features list
2019-08-19 23:23:16 +05:30
Arun Prakash Jana
b9530a5ce0
Plugin organize
2019-08-19 23:01:41 +05:30
KlZX
80c2c469da
Fix 100% CPU usage if STDIN closes
2019-08-19 22:10:08 +05:30
Arun Prakash Jana
f378743c49
Keep name unchanged at rename to duplicate
2019-08-19 20:00:01 +05:30
Arun Prakash Jana
bf13243830
Update docs
2019-08-19 08:42:24 +05:30
Arun Prakash Jana
e9f7b6aa6c
Option -t replaces NNN_NO_AUTOSELECT
2019-08-17 00:07:38 +05:30
Arun Prakash Jana
ac815c692a
Option -o replaces NNN_RESTRICT_NAV_OPEN
2019-08-16 23:40:43 +05:30
Arun Prakash Jana
e13481c5b0
Update auto-completion scripts
2019-08-16 23:15:29 +05:30
Arun Prakash Jana
1294a9caf5
Revert rename cp mv progress
2019-08-16 22:22:45 +05:30
Arun Prakash Jana
db83e95a37
Symlinks to dirs are recognized by color
2019-08-16 20:03:58 +05:30
Arun Prakash Jana
9927849222
Update docs
2019-08-16 18:56:26 +05:30
Mischievous Meerkat
2ee3b74b31
Merge pull request #325 from KlzXS/awk
...
Replacing last occurance of 'awk'
2019-08-15 19:06:28 +05:30
KlZX
7e47cd729b
Reverted 'batch_rename' to pre-'awk' but with 'sed'
2019-08-15 15:24:03 +02:00
Arun Prakash Jana
9282eff925
Update plugin docs
2019-08-15 11:11:23 +05:30
Arun Prakash Jana
7575a3e031
Plugin vidthumb
2019-08-15 10:06:41 +05:30
Arun Prakash Jana
4ab13b1b34
Plugin moclyrics
2019-08-15 09:15:03 +05:30
Arun Prakash Jana
8fff4643f5
Detect if MOC is playing
2019-08-15 04:01:53 +05:30
Arun Prakash Jana
5c591422dc
Revert "Replaced 'sed' with 'awk'"
...
This reverts commit 1027cd0cf2
.
2019-08-14 21:58:22 +05:30
Arun Prakash Jana
2ffd493162
Update ToDo list
2019-08-14 21:58:22 +05:30
Arun Prakash Jana
02b3273233
Use key-plugin pairs for running plugins
2019-08-14 21:58:18 +05:30
Arun Prakash Jana
7b59a7dba9
Rename cp mv progress conf
2019-08-14 19:10:41 +05:30
Arun Prakash Jana
c5bbbd852c
ndiff: direction to get rid of vim warning
2019-08-14 01:38:30 +05:30
Arun Prakash Jana
775742150c
Custom keybinds to run plugins directly
2019-08-14 01:38:30 +05:30
Arun Prakash Jana
3bd3418ab6
Update docs
2019-08-14 01:38:26 +05:30
Arun Prakash Jana
5ea8dee428
List symlink with target missing
2019-08-13 04:22:34 +05:30
Mischievous Meerkat
0cf77c2ac6
Merge pull request #322 from KlzXS/awk
...
Replaced 'sed' with 'awk'
2019-08-12 21:44:54 +05:30
KlZX
1027cd0cf2
Replaced 'sed' with 'awk'
2019-08-12 17:08:02 +02:00
Arun Prakash Jana
e774634b5b
A simpler getutil()
2019-08-12 20:15:04 +05:30
Mischievous Meerkat
edfcfdfdf4
Merge pull request #321 from KlzXS/batch-rename
...
Fix 'batch_rename' moving symlinks
2019-08-12 18:57:44 +05:30
KlZX
4cedba3d4d
Fix 'batch_rename' moving symlinks
2019-08-12 11:36:09 +02:00
Arun Prakash Jana
7eafce9b45
Fix #320
2019-08-12 07:13:30 +05:30
Arun Prakash Jana
5dba524565
Add Slitaz as packager
2019-08-11 02:51:41 +05:30
Arun Prakash Jana
e9e9f5930f
Fix #235 : Add instruction for CentOS
2019-08-11 00:54:07 +05:30
Arun Prakash Jana
cd6c1e65b6
Update docs
2019-08-10 22:07:36 +05:30
Arun Prakash Jana
59c7727a8b
Add DragonFly BSD
2019-08-10 19:05:59 +05:30
Arun Prakash Jana
0647c75cd8
Strip cwd path for all non-Linux platforms
2019-08-10 18:32:36 +05:30
Mischievous Meerkat
199fb3ca29
Merge pull request #313 from 0xACE/relativearchives
...
Make selection based archives use relative paths
2019-08-10 07:06:40 +05:30
Arun Prakash Jana
6481c812bd
Update docs
2019-08-09 13:56:00 +05:30
Mischievous Meerkat
6e4fcb5576
Merge pull request #316 from 0xACE/keyresize
...
Fix keyresize handling of cur in filterentries()
2019-08-08 07:21:18 +05:30
0xACE
dcad704ae9
Fix keyresize handling of cur in filterentries()
2019-08-08 02:45:40 +02:00
Arun Prakash Jana
8ca96422cd
Fix #315 : crash is NNN_BMS is not set
2019-08-08 01:39:41 +05:30
Arun Prakash Jana
93f2822f7c
Update docs
2019-08-07 22:28:24 +05:30
Arun Prakash Jana
29e8ca322c
Update help
2019-08-07 21:59:15 +05:30
Arun Prakash Jana
8bc71c6e5b
Key Lead' to go to first file in dir
2019-08-07 19:47:17 +05:30
Arun Prakash Jana
26e18ab382
Fix #315
2019-08-07 18:46:47 +05:30
Arun Prakash Jana
8c2c7e9e97
Fix #314
2019-08-07 02:03:52 +05:30
Arun Prakash Jana
d23c2997af
Rename COPY macros to SEL
2019-08-07 01:38:51 +05:30
Arun Prakash Jana
8ea41dd0e5
Do not pick multiple times in selection mode
2019-08-07 01:27:22 +05:30
Arun Prakash Jana
9a3786f94d
Auto-proceed to next entry in selection mode
2019-08-07 00:51:54 +05:30
Arun Prakash Jana
68b460310e
Use auto-compress option for bsdtar, tar
2019-08-06 23:27:06 +05:30
Mischievous Meerkat
5651d12dc4
Create FUNDING.yml
...
PayPal link
2019-08-06 07:26:50 +05:30
Arun Prakash Jana
75bfcb1834
Prepare for release v2.6
2019-08-06 04:13:10 +05:30
Arun Prakash Jana
a95fc0c37a
Revert "Use KEY_RESIZE when prompting user input"
...
This reverts commit ba12fa8b3d
.
2019-08-05 19:03:55 +05:30
Arun Prakash Jana
7470fc3f7b
Update docs
2019-08-05 07:36:56 +05:30
Arun Prakash Jana
dec683c39e
Better prompt for rename/duplicate key
2019-08-04 20:52:54 +05:30
Arun Prakash Jana
9431213e49
Support / as an additional leader key
2019-08-04 14:31:58 +05:30
Arun Prakash Jana
4c4db1430e
Ask for 'd' to duplicate
2019-08-04 11:48:45 +05:30
Arun Prakash Jana
9fdfd9388d
Light mode as default, options changed
...
-d is to show detail mode
-H is to show hidden files
-l is retired
2019-08-04 09:55:14 +05:30
Arun Prakash Jana
cf1b9d34ea
Light mode: show statusbar, use reverse video
2019-08-04 08:56:59 +05:30
Arun Prakash Jana
2bfcb281e7
Support duplicate file/dir
2019-08-04 08:29:32 +05:30
Mischievous Meerkat
f7a00ae114
Merge pull request #312 from rindeal/patch-1
...
Make strip explicit for all targets
2019-08-04 07:23:49 +05:30
0xACE
2baa42b877
MacOS support for archive_selection()
2019-08-04 02:49:48 +02:00
0xACE
30651d16d7
Make selection based archives use relative paths
...
This will create archives relative to your current working directory
rather than a full path when when creating the archive based on your
current selection.
2019-08-04 00:41:20 +02:00
Jan Chren
176187c1ed
remove $(STRIP) leftover from Makefile
...
Use only the `strip` target fort stripping the binary.
2019-08-03 22:09:16 +00:00
Arun Prakash Jana
9d4498e7b3
Revert "Remove bold fonts"
...
This reverts commit 43762d58c5
.
2019-08-03 23:55:02 +05:30
Arun Prakash Jana
21b323b445
Increase function length
2019-08-01 23:01:04 +05:30
Arun Prakash Jana
0f6cb31d61
Sort by file extension
2019-08-01 22:20:40 +05:30
Arun Prakash Jana
ea0e863f43
Update docs
2019-07-31 23:31:37 +05:30
Arun Prakash Jana
9aafc675ec
Update docs
2019-07-30 05:00:53 +05:30
Arun Prakash Jana
e721dcb8ad
Link the wiki
2019-07-29 19:35:11 +05:30
Arun Prakash Jana
f1720c8f44
Do not change filter state when clicked below last entry
2019-07-29 19:17:49 +05:30
Arun Prakash Jana
46aa0adafa
Limit nav-as-you-type toggle to click on last 2 rows
2019-07-28 21:55:29 +05:30
Arun Prakash Jana
43762d58c5
Remove bold fonts
...
This reverts commit d0c2e9da298c1f6042d775deaae33f9b9d70b6e1.
Remove bold fonts
2019-07-27 22:49:16 +05:30
Arun Prakash Jana
281d7cbc8b
Minor reformat
2019-07-27 20:26:12 +05:30
Arun Prakash Jana
79af710ac4
Update docs
2019-07-27 20:26:08 +05:30
Arun Prakash Jana
de931db8a0
Support extract, list archives with default utils
2019-07-27 16:40:30 +05:30
Arun Prakash Jana
8e00d74259
Support archiving with default utils
2019-07-27 12:14:49 +05:30
Arun Prakash Jana
a498636263
Document dual pane alias with dvtm
2019-07-27 01:29:58 +05:30
Arun Prakash Jana
8fe4761092
Fix #301 - use local buffer to avoid overwriting g_buf
2019-07-25 20:02:54 +05:30
Arun Prakash Jana
2a4008c9ab
Fix #307 - disable output
2019-07-23 07:13:19 +05:30
Arun Prakash Jana
27214bfca6
Fix #307
2019-07-22 22:55:04 +05:30
Arun Prakash Jana
847aa0e2ee
Fix hex viewer
2019-07-21 13:50:46 +05:30
Arun Prakash Jana
83bf689058
Revert "Fix #307 "
...
This reverts commit fee2c339cc
.
2019-07-21 05:47:15 +05:30
Arun Prakash Jana
bf70a6660a
Update docs
2019-07-20 21:15:49 +05:30
Mischievous Meerkat
124ded8b5b
Merge pull request #310 from 0xACE/keyresize
...
Use KEY_RESIZE when prompting user input
2019-07-16 18:37:48 +05:30
Mischievous Meerkat
e3c99de23a
Merge pull request #309 from 0xACE/readline-resize
...
stop readline from overwriting LINES
2019-07-16 08:43:17 +05:30
0xACE
02fd4c4d8c
documentation on rl_change_environment
...
Basically that line lets nnn retain the WINCH signal for itself.
2019-07-16 05:09:11 +02:00
0xACE
ef32cf7177
set rl_change_environment in readline gt v6.3
...
Looked up GNU readline library's repo and looked
for the first occurance of rl_change_environment.
2019-07-16 05:02:45 +02:00
0xACE
3f33f0afb9
stop readline from overwriting LINES
...
The problem was that readline would completely block LINES from updating
after prompting the user. I'm not entirely sure why this happened, but
at least this patch fixes the problem.
2019-07-16 04:37:38 +02:00
0xACE
ba12fa8b3d
Use KEY_RESIZE when prompting user input
...
The problem was that a window wouldn't resize while prompting the user
for input. These changes allows the input methods in nnn to resize
properly if KEY_RESIZE is defined.
A more portable solution would be hooking the WINCH signal and update
the xlines value from there along with some resized flag.
In some cases the full window isn't redrawn until the user has finished
the input. This is because in some functions I wasn't sure the current
"path" was available.
2019-07-16 04:30:16 +02:00
Arun Prakash Jana
fee2c339cc
Fix #307
2019-07-16 00:54:31 +05:30
Arun Prakash Jana
25add33539
Update docs
2019-07-15 20:19:46 +05:30
Arun Prakash Jana
140a526249
Add F2 for rename (undocumented)
2019-07-15 20:02:35 +05:30
Arun Prakash Jana
fabf9fd47b
Compact notation for time/size sort order
2019-07-15 01:42:12 +05:30
Arun Prakash Jana
6fb4338ffa
Remove redundant initialization
2019-07-15 01:08:24 +05:30
Arun Prakash Jana
e4afd91ec0
Update docs
2019-07-14 23:11:30 +05:30
Arun Prakash Jana
aa840a7f65
Resurrect default sort
2019-07-14 23:00:14 +05:30
Arun Prakash Jana
1388b9ea71
Remove unused variable
2019-07-14 22:32:50 +05:30
Arun Prakash Jana
ba099b6818
Fix coolsize
2019-07-14 22:27:22 +05:30
Arun Prakash Jana
0bc5d82d2f
Fix crash on a broken USB
2019-07-14 14:25:46 +05:30
Arun Prakash Jana
c051fc3f7e
Update docs
2019-07-13 07:44:56 +05:30
Arun Prakash Jana
bfc8d0a7d3
Termux improvement: toggle nav-as-you-type
...
2 changes:
- Toggle nav-as-you-type with left single/double click below last entry
- Handle mouse events when filter is on
2019-07-12 23:34:36 +05:30
Arun Prakash Jana
713eed0a21
Fix commenting style (if applicable)
2019-07-12 21:58:21 +05:30
Arun Prakash Jana
051a8b27c2
Termux improvement: remap visit parent click
...
Visit parent is now left single click outside context nums on top row.
2019-07-12 21:58:18 +05:30
Arun Prakash Jana
9b0cf4a2b9
Support mouse scroll
...
This is limited to libncurses support of full mouse scrolling.
Ref: https://invisible-island.net/ncurses/man/curs_mouse.3x.html#h3-Mouse-events
2019-07-12 19:50:30 +05:30
Arun Prakash Jana
beabe62467
Update comments and debug info
2019-07-12 18:37:12 +05:30
Mischievous Meerkat
87d91251ae
Merge pull request #305 from 0xACE/fosterhome
...
Find a parent when CWD disappears
2019-07-12 18:28:21 +05:30
0xACE
d640de2589
Keep lastname directory selected
...
incase the user just lost access, it would be better to remember the
selected directory to keep it highlighted.
2019-07-12 14:55:03 +02:00
0xACE
78ada7a8bc
fixed misleading `else if` & text. removed lastdir
2019-07-12 14:44:59 +02:00
Arun Prakash Jana
33062d7c6e
Update checksum plugin documentation
2019-07-12 08:51:18 +05:30
0xACE
e3393d0437
Find a parent when CWD disappears
...
The previous behaviour would exit nnn when the CWD disappeared.
2019-07-12 00:52:25 +02:00
Arun Prakash Jana
ca714eac90
Show image thumbnails with lsix
2019-07-12 00:16:07 +05:30
Arun Prakash Jana
406faf63d9
Fix mtime comparison
2019-07-11 22:33:49 +05:30
Arun Prakash Jana
201b1ae571
Update docs
2019-07-11 08:35:39 +05:30
Mischievous Meerkat
74a7d2245c
Merge pull request #303 from fokinpv/forgotten-export
...
Add forgotten export for quitcd scripts
2019-07-10 19:14:25 +05:30
Pavel Fokin
66fa6fc682
Combine 'XDG_CONFIG_HOME' and 'HOME` in quitcd.fish
2019-07-10 15:56:17 +03:00
Arun Prakash Jana
2c84f24812
Linuk to youtube vide
2019-07-10 13:59:33 +05:30
Arun Prakash Jana
5552376cf6
Add packagers page in Wiki
2019-07-10 12:27:50 +05:30
Arun Prakash Jana
e5733ab198
Add NuTyX to list of packagers
2019-07-10 09:37:02 +05:30
Arun Prakash Jana
41fcbd9b2f
Fix #304
2019-07-10 09:21:52 +05:30
Pavel Fokin
17bb57263c
Add forgotten export for quitcd scripts
2019-07-09 22:51:25 +03:00
Mischievous Meerkat
d03ff4dc91
Merge pull request #302 from fokinpv/fix-quitcd-example
...
Fix quitcd snippets for 'zsh' and 'bash'
2019-07-09 10:30:12 +05:30
Pavel Fokin
56b6f70634
Update quitcd snippet for 'fish'
2019-07-09 07:09:19 +03:00
Arun Prakash Jana
427c4b2429
Bash auto-complete enhancements
2019-07-08 23:35:30 +05:30
Arun Prakash Jana
b0a60cfe64
Set mouse interval
2019-07-08 23:25:21 +05:30
Pavel Fokin
34ecf3ce13
Fix quitcd snippets for 'zsh' and 'bash'
2019-07-08 20:29:32 +03:00
Arun Prakash Jana
1b2093040a
Add video of nnn on Termux
2019-07-07 22:40:28 +05:30
Arun Prakash Jana
b7b3dbac22
Revert "Move declarations up"
...
This reverts commit afdfcecb9c
.
2019-07-06 18:55:48 +05:30
Arun Prakash Jana
25a704cd27
Set scrolloff to 3
2019-07-05 21:40:33 +05:30
Arun Prakash Jana
bde25e3ca0
Minor refactor
2019-07-05 20:58:36 +05:30
Arun Prakash Jana
c373b4b279
Fix #301
2019-07-05 07:42:52 +05:30
Arun Prakash Jana
afdfcecb9c
Move declarations up
2019-07-05 02:47:55 +05:30
Arun Prakash Jana
a25e878dfc
Do not show mantissa for absolute sizes
2019-07-05 02:08:31 +05:30
Arun Prakash Jana
379fdf50fa
Show stat when file has single quote
2019-07-05 01:27:46 +05:30
Arun Prakash Jana
d5408c4e9f
Replace snprintf for printing file size
2019-07-05 01:13:55 +05:30
Arun Prakash Jana
bf28a096ba
Use macros for return codes
2019-06-28 21:12:43 +05:30
Mischievous Meerkat
169b29029e
Merge pull request #299 from ath3/ringtone-fixes
...
Small ringtone plugin fixes
2019-06-27 07:32:18 +05:30
ath3
e5cda54604
Small ringtone plugin fixes
2019-06-27 03:38:02 +02:00
Mischievous Meerkat
1e68309577
Merge pull request #298 from ath3/checksum-cleanup
...
Remove unneeded check from checksum plugin
2019-06-27 06:42:27 +05:30
Mischievous Meerkat
3cc0cf5f0a
Merge pull request #297 from ath3/mocplay-shuffle
...
Add shuffle to mocplay
2019-06-27 06:40:31 +05:30
Mischievous Meerkat
b459879e2a
Merge pull request #296 from tanyaionova/duplicate-patch
...
Remove duplicate code (#295 )
2019-06-27 06:36:40 +05:30
ath3
c2fbdfdeb3
Remove unneeded check from checksum plugin
2019-06-27 02:48:04 +02:00
ath3
4d7dade94c
Add shuffle to mocplay
2019-06-27 02:19:55 +02:00
tanyaionova
3ad5f7f6cb
Remove duplicate code ( #295 )
...
These three lines are exact copy of 4555-4557.
As opener is not changed in between, we can delete these
2019-06-27 01:01:42 +03:00
Mischievous Meerkat
900ffbebc7
Merge pull request #294 from tanyaionova/makefile-patch
...
Set CP in Makefile
2019-06-26 18:24:13 +05:30
tanyaionova
e93abcf709
Set CP in Makefile
...
$(CP) is not set by GNU Make
Seems like [1] is a full list of what GNU Make defines implicitly
[1] https://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html
2019-06-26 15:25:31 +03:00
Arun Prakash Jana
a3019418b1
Update docs
2019-06-26 14:39:47 +05:30
Arun Prakash Jana
0fd6b5c9be
What's in the name?
2019-06-26 06:36:03 +05:30
Arun Prakash Jana
b151e13548
Use generic msg
2019-06-25 01:08:32 +05:30
Arun Prakash Jana
80bdeb8d72
Fix order of options in man
2019-06-24 21:50:01 +05:30
Arun Prakash Jana
277f156c37
Fix #291
2019-06-24 21:45:02 +05:30
Arun Prakash Jana
2934db3482
Pretty table
2019-06-23 09:18:35 +05:30
Arun Prakash Jana
619ac17004
Add text2speech plugin
2019-06-23 01:43:52 +05:30
Arun Prakash Jana
4d6f304204
Fix #290 : terminate g_buf correctly
2019-06-22 19:17:06 +05:30
Arun Prakash Jana
a9392463b0
Fix #290 : wchar_t may vary in size
2019-06-22 07:19:00 +05:30
Arun Prakash Jana
42a5479fa8
Add an mp3 ringtone generator
2019-06-21 22:36:34 +05:30
Arun Prakash Jana
de2773c677
Update docs
2019-06-21 07:36:50 +05:30
Arun Prakash Jana
c07288e585
The table is sorted
2019-06-20 20:57:19 +05:30
Arun Prakash Jana
2d1d176160
Fix #288
2019-06-20 19:17:00 +05:30
Arun Prakash Jana
98a8eb1805
Add note on vim warning
2019-06-20 18:38:45 +05:30
Mischievous Meerkat
bccc2a0921
Merge pull request #286 from ath3/plugin-md5sum
...
Added md5sum plugin
2019-06-20 18:36:07 +05:30
ath3
2dc3da62a2
Refactored splitjoin and ndiff plugins, made them POSIX compliant
2019-06-20 10:45:24 +02:00
ath3
682e810e6e
Extended md5sum script to support multiple checksums and renamed it to checksum
2019-06-20 03:39:23 +02:00
Arun Prakash Jana
a4c38d8547
Fix #287
2019-06-20 02:13:59 +05:30
Arun Prakash Jana
25413dfe23
Update manual installation command
2019-06-19 22:03:08 +05:30
ath3
c499f1cb7f
Changed bash code to sh
2019-06-19 13:40:31 +02:00
ath3
4757873d3a
Added md5sum plugin
2019-06-19 04:06:19 +02:00
Arun Prakash Jana
4679daa761
Fix #285
2019-06-17 19:48:45 +05:30
Arun Prakash Jana
33e8c931f1
Update to gcc 9.1
2019-06-17 08:54:10 +05:30
Arun Prakash Jana
9bf86899f3
Update docs
2019-06-17 08:34:05 +05:30
Arun Prakash Jana
794a0e2709
Move scripts to misc
2019-06-17 07:04:42 +05:30
Arun Prakash Jana
aa56b99326
Add widely available cmatrix as locker fallback
2019-06-17 07:04:42 +05:30
Arun Prakash Jana
32b3445f3b
Use case insensitive version sort to compare
2019-06-17 07:04:25 +05:30
Mischievous Meerkat
815155033d
Merge pull request #284 from anitagraham/docs
...
Add clarification for usage of moving and copying selections
2019-06-16 09:23:34 +05:30
Anita Graham
7554209e80
Add clarification for usage of moving and copying selections
2019-06-16 11:38:39 +08:00
Arun Prakash Jana
538995487b
Wait and show command output when running a command
2019-06-15 21:47:37 +05:30
Arun Prakash Jana
c0bd33e3f6
Update deps
2019-06-14 09:19:41 +05:30
Arun Prakash Jana
dba87bfdbe
Fix warning on CentOS 6 (refer to #282 )
2019-06-13 06:21:10 +05:30
Mischievous Meerkat
444cf4b9ab
Merge pull request #280 from sjmulder/pr/sign-compare
...
Fix sign conversion and comparison warnings
2019-06-13 05:22:31 +05:30
Mischievous Meerkat
f0b00c9fbf
Merge pull request #281 from sjmulder/pr/fwrite
...
Don't ignore fwrite errors
2019-06-13 05:20:54 +05:30
Sijmen J. Mulder
da60f55559
Don't ignore fwrite errors
...
Fixes warning on CentOS 6:
src/nnn.c:754: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
2019-06-13 01:07:03 +02:00
Sijmen J. Mulder
121bbe566b
Fix sign conversion and comparison warnings
...
Building on i386 (NetBSD or Debian):
src/nnn.c: In function 'selectiontofd':
src/nnn.c:783:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (pos <= lastpos) {
^
src/nnn.c:791:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (pos <= lastpos) {
^
src/nnn.c: In function 'showcplist':
src/nnn.c:823:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (pos && pos == copybufpos)
^
src/nnn.c: In function 'xlink':
src/nnn.c:1955:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (pos < copybufpos) {
2019-06-13 00:51:19 +02:00
Arun Prakash Jana
331d2a6cc5
Update docs
2019-06-12 08:52:46 +05:30
Arun Prakash Jana
4e4892e861
nnn is available on CRUX
2019-06-12 06:59:28 +05:30
Arun Prakash Jana
23f84df1d8
Supprt exit on 'q'
2019-06-10 19:47:00 +05:30
Arun Prakash Jana
80c35e85bd
Support XDG_CONFIG_HOME
2019-06-09 10:36:35 +05:30
Arun Prakash Jana
fa4f082ac0
Move cd on quit file
...
The new location is ~/.config/nnn/.lastd
2019-06-07 21:58:45 +05:30
Arun Prakash Jana
cd458b9ab4
Remove retired config variable
2019-06-07 21:01:07 +05:30
Arun Prakash Jana
b0bad47a71
Update plugins
2019-06-07 21:01:08 +05:30
Arun Prakash Jana
a96ad1dab0
Add plugin to split or join files
2019-06-06 23:27:57 +05:30
Arun Prakash Jana
40afe7ca4d
Update docs
2019-06-06 21:18:11 +05:30
Arun Prakash Jana
dee5e5a8e9
Move clang-tidy config
2019-06-05 21:50:03 +05:30
Arun Prakash Jana
8d1916e25b
Update docs
2019-06-05 20:41:54 +05:30
Arun Prakash Jana
1dbbcac84f
Use local buffers for events
2019-06-05 19:03:06 +05:30
Arun Prakash Jana
7f8766247f
Use pipes.sh as fallback user lock
2019-06-05 18:02:27 +05:30
Arun Prakash Jana
d970a7416f
getplugs: backup earlier plugins
2019-06-05 17:52:33 +05:30
Arun Prakash Jana
dd42726c5b
More intuitive nmount
2019-06-05 17:06:20 +05:30
Arun Prakash Jana
4a98d8db50
Use pipes.sh as locker fallback
2019-06-05 10:35:37 +05:30
Arun Prakash Jana
c7f83dd179
Commented check
2019-06-04 23:32:23 +05:30
Arun Prakash Jana
fcb29fa578
Fix #276
2019-06-04 22:41:48 +05:30
Arun Prakash Jana
f269be5802
Restrict opening 0B files.
...
See #187 . The behaviour has always remained so confusing. In my case a 0B file
opens in the GUI editor though I have NNN_USE_EDITOR set. We have a sensible
message in place to help users with what to do next.
2019-06-04 20:32:16 +05:30
Arun Prakash Jana
aa6013378f
Make diff work with filenames with spaces
2019-06-03 20:29:37 +05:30
Arun Prakash Jana
edf587a48f
Add plugin to play music in MOC
2019-06-03 18:26:53 +05:30
Arun Prakash Jana
9711297362
Update docs
2019-06-03 11:42:41 +05:30
Arun Prakash Jana
35fc77027a
Fix #274
2019-06-02 21:37:52 +05:30
Arun Prakash Jana
650f92bf34
Add plugin to view image and browse image dir
2019-06-02 21:37:42 +05:30
Arun Prakash Jana
9ba3cb3e9b
Update plugins, add mutool to view PDF
2019-06-01 00:34:07 +05:30
Arun Prakash Jana
82e7a98705
Enable packing source
2019-05-27 20:30:22 +05:30
Arun Prakash Jana
75768ad29e
Use mode=0755 when creating dirs
2019-05-27 20:16:55 +05:30
Arun Prakash Jana
b767d3335c
Create ~/.config if missing
2019-05-27 18:55:05 +05:30
Arun Prakash Jana
5ea8218e4f
Prepare for release v2.5
2019-05-27 08:00:32 +05:30
Arun Prakash Jana
788dc80bb6
Code refactor
2019-05-27 07:23:30 +05:30
Arun Prakash Jana
f02e0d359f
Add OS-specific alternative notes
2019-05-26 16:52:00 +05:30
Arun Prakash Jana
0d05d71a0f
file: use dereference
2019-05-26 16:44:17 +05:30
Arun Prakash Jana
22d8b4dba3
Update docs
2019-05-26 14:46:54 +05:30
Arun Prakash Jana
d6fbe87768
Support directory diff
2019-05-26 10:27:09 +05:30
Arun Prakash Jana
7bf671c954
Show usage warning
2019-05-25 11:47:56 +05:30
Arun Prakash Jana
658099bee0
ipinfo shows external IP address
2019-05-24 23:14:19 +05:30
Arun Prakash Jana
aa14a98ff9
Update docs
2019-05-23 08:14:15 +05:30
Arun Prakash Jana
6ce511cddb
Simplify batch rename
2019-05-22 20:51:53 +05:30
Arun Prakash Jana
93a2d174f0
PR #265 : Replace dependency on vidir
...
Author: @bruce-hill
2019-05-22 18:44:03 +05:30
Arun Prakash Jana
2c2d497809
Update patool wrapper
2019-05-22 08:48:44 +05:30
Arun Prakash Jana
5f6ceb2f43
Support bsdtar
2019-05-22 08:48:44 +05:30
Bruce Hill
a752235892
Alternate scrolling rules.
2019-05-22 08:48:44 +05:30
Arun Prakash Jana
9dc3976533
Middle click to visit parent dir
2019-05-22 08:48:44 +05:30
Arun Prakash Jana
84dbec6f3d
Update docs
2019-05-22 08:48:44 +05:30
Arun Prakash Jana
ace449c0e9
Simpler permission string generation
2019-05-22 08:48:44 +05:30
Arun Prakash Jana
e83f4ca62f
Refactor coolsize
2019-05-22 08:48:44 +05:30
Arun Prakash Jana
fb4728bc31
Get rid of redundant buffer
2019-05-22 08:48:44 +05:30
Arun Prakash Jana
d803521c6d
Fix #264
2019-05-22 08:48:44 +05:30
Arun Prakash Jana
9bd136e8b0
Add license and copyright
2019-05-22 08:48:44 +05:30
Arun Prakash Jana
3157ef1214
Code refactor
2019-05-22 08:48:45 +05:30
Arun Prakash Jana
95eaa636ef
Fix #261
2019-05-22 08:44:19 +05:30
Arun Prakash Jana
3ca86eafbe
Get device info from path
2019-05-22 08:44:19 +05:30
Arun Prakash Jana
ad076db56c
Update docs
2019-05-22 08:44:19 +05:30
Arun Prakash Jana
da9537bfa6
Update mentions
2019-05-22 08:44:48 +05:30
Bruce Hill
b5272a3973
Adding scrolloff option.
2019-05-22 08:44:19 +05:30
Arun Prakash Jana
bd653ac91e
Code refactor
2019-05-22 08:44:42 +05:30
Arun Prakash Jana
7cb2d22e9f
Fix build break
2019-05-22 08:44:19 +05:30
Bruce Hill
2297373306
Fix #257 : fix the logic for determining which file was clicked.
2019-05-22 08:44:19 +05:30
Arun Prakash Jana
c8e54ce4e2
Code refactor
2019-05-22 08:44:19 +05:30
Arun Prakash Jana
30aaa12e6f
Fix #257
2019-05-22 08:44:19 +05:30
Arun Prakash Jana
b093d98a6e
Fix regression with opening binary file
2019-05-22 08:44:19 +05:30
Arun Prakash Jana
3e54217ae9
Fix build break
2019-05-22 08:44:19 +05:30
Bruce Hill
0eec240260
Added mouse support
2019-05-22 08:44:19 +05:30
Arun Prakash Jana
ece7654221
Use refresh after tmp escape
2019-05-22 08:44:19 +05:30
Arun Prakash Jana
747490a180
Run nmount in a loop
2019-05-22 08:44:19 +05:30
Arun Prakash Jana
0e8cb05045
sync data before ejecting drives
2019-05-22 08:44:19 +05:30
Arun Prakash Jana
21ee3489c2
Add pdfview to view PDF file in PAGER
2019-05-22 08:44:19 +05:30
Arun Prakash Jana
b764055314
Update getplugs to set up nlauch
2019-05-22 08:44:19 +05:30
smartmic
5cd8578799
Update Makefile library linking for debug target
2019-05-22 08:44:19 +05:30
Arun Prakash Jana
d3fa01f91f
Update link
2019-05-22 08:44:19 +05:30
Arun Prakash Jana
20256bbf99
Fix #249
2019-05-22 08:44:19 +05:30
Arun Prakash Jana
8f1fdcf3e8
Update docs
2019-05-22 08:44:31 +05:30
Arun Prakash Jana
b555887ca8
Fix target all to work with target debug
2019-05-22 08:44:19 +05:30
Arun Prakash Jana
ee11e78f14
nlaunch: add sleep to wait for child
2019-05-22 08:44:19 +05:30
Arun Prakash Jana
a5c5fc97e2
Auto-build every Sat midnight
2019-05-22 08:44:19 +05:30
Arun Prakash Jana
3050639417
Update docs
2019-05-22 08:44:21 +05:30
Arun Prakash Jana
b41560572c
Unify tmp file creation
2019-05-22 08:44:19 +05:30
Arun Prakash Jana
8166e0169a
Reformat create link to selection
2019-04-27 18:30:40 +05:30
Arun Prakash Jana
ce6fc35929
Refactor dentfill()
2019-04-27 18:30:44 +05:30
Arun Prakash Jana
12a4ab3248
Support readline in open with
2019-04-27 01:53:41 +05:30
Arun Prakash Jana
c4f39a200a
Modular readline call
2019-04-27 01:41:35 +05:30
Arun Prakash Jana
810cf2e403
Add timeout to warnings
2019-04-27 00:55:28 +05:30
Arun Prakash Jana
2d65a30485
Update docs
2019-04-26 20:13:07 +05:30
Arun Prakash Jana
bfe950d082
Make nlaunch independent
2019-04-26 19:08:04 +05:30
Arun Prakash Jana
41c9c82d90
Restore keyboard shortcuts
2019-04-26 18:52:54 +05:30
Arun Prakash Jana
4f15fb765a
Always detach opener
...
This may affect issue #227 but the defunct processes do not use any memory and exit when nnn exits. I guess that happens because of xdg-open using an intermediate script.
However, if we do not detach xdg-open, the child process is killed when the terminal is closed which is a severe problem.
2019-04-26 08:46:57 +05:30
Arun Prakash Jana
f07c8a9dfd
Update docs
2019-04-26 08:12:09 +05:30
Arun Prakash Jana
cefc4b08a7
Update nmount, troubleshooting
2019-04-25 22:10:10 +05:30
Arun Prakash Jana
9ac9c1bf4f
Document #225
2019-04-25 21:20:45 +05:30
Arun Prakash Jana
04bd1ea71d
Revert "Fix #225 "
...
This reverts commit 32dde3390a
.
2019-04-25 21:11:35 +05:30
Arun Prakash Jana
6186e8b458
Fix check for binary value
2019-04-25 19:02:55 +05:30
Arun Prakash Jana
7467d9f0ed
Update docs
2019-04-25 18:20:52 +05:30
Arun Prakash Jana
58e4b443a5
Check binary config values are 1
2019-04-24 20:31:52 +05:30
Arun Prakash Jana
32dde3390a
Fix #225
2019-04-23 21:54:59 +05:30
Arun Prakash Jana
e973330c91
Fix build break
2019-04-23 19:59:37 +05:30
Arun Prakash Jana
adad3f2fe8
Allocate initial path dynamically
2019-04-23 08:50:25 +05:30
Arun Prakash Jana
c270b6002f
Fix picker mode with file
2019-04-23 01:52:53 +05:30
Arun Prakash Jana
cd4009dbf6
Remove redundant change for HOME
2019-04-23 01:13:02 +05:30
Arun Prakash Jana
b0132ba440
Remove redundant checks for g_tmpfpath
2019-04-22 23:57:26 +05:30
Arun Prakash Jana
99b1b1f489
SSHFS refinements
2019-04-22 02:14:43 +05:30
Arun Prakash Jana
92bbeb360d
Handle exit status of child process
2019-04-22 01:24:54 +05:30
Arun Prakash Jana
20280e182a
Update docs
2019-04-22 00:45:11 +05:30
Arun Prakash Jana
a900b2c4fa
Support config dir ~/.config/nnn
2019-04-21 23:59:51 +05:30
Arun Prakash Jana
f9264577d2
Support copymode across contexts
2019-04-21 19:53:13 +05:30
Arun Prakash Jana
4ceb0800e4
Fix clang-tidy warning
2019-04-21 19:28:55 +05:30
Arun Prakash Jana
7133971052
Revert "Fix clang error"
...
This reverts commit 78de6b5752
.
2019-04-21 15:41:26 +05:30
Arun Prakash Jana
b059e08f3a
Reduce statements
2019-04-21 15:40:30 +05:30
Arun Prakash Jana
aa1bc78ea7
Update docs
2019-04-21 15:20:59 +05:30
Arun Prakash Jana
bd2831498c
Fix nmount on blank entry
2019-04-21 12:14:03 +05:30
Arun Prakash Jana
78de6b5752
Fix clang error
2019-04-21 12:05:56 +05:30
Arun Prakash Jana
d2865de329
Refactor SSHFS code
2019-04-21 11:55:00 +05:30
Arun Prakash Jana
8e5b27f503
Update docs
2019-04-21 08:39:31 +05:30
Mischievous Meerkat
c71056c03d
Merge pull request #248 from elig0n/diff_pgup_ctrlu
...
Differentiate half-page Ctrl+U/D and pageful PageDN/UP movement keys
2019-04-21 02:10:11 +05:30
elig0n
a3eb617dc6
Differentiate half-page Ctrl+U/D and pageful PageDN/UP movement keys
2019-04-20 23:25:15 +03:00
Arun Prakash Jana
b16d9dad54
Update docs
2019-04-21 01:28:19 +05:30
Arun Prakash Jana
e2dad88a83
Fix lint warning
2019-04-21 00:57:43 +05:30
Arun Prakash Jana
882a17a60f
SSHFS support
2019-04-21 00:47:11 +05:30
Arun Prakash Jana
bd29368d4c
Plugin music: play random music from current dir
2019-04-20 18:12:52 +05:30
Arun Prakash Jana
e1d8adce2f
Plugin ipinfo: fetch IP address and whois info
2019-04-20 13:07:04 +05:30
Arun Prakash Jana
d5107d28ac
Plugin getplugs: update nnn plugins
2019-04-19 19:06:03 +05:30
Arun Prakash Jana
430945d420
Plugin nmount: toggle mount status of a device
2019-04-19 00:25:07 +05:30
Arun Prakash Jana
9167192d31
Update docs
2019-04-19 00:14:52 +05:30
Arun Prakash Jana
5cf3471716
Plugins!
2019-04-18 20:32:53 +05:30
Arun Prakash Jana
12ce9451ee
Move nlaunch from user-scripts
2019-04-18 19:41:39 +05:30
Arun Prakash Jana
a80ed0554d
Update docs
2019-04-18 15:24:21 +05:30
Arun Prakash Jana
b39dd62690
Update docs
2019-04-17 19:11:09 +05:30
Arun Prakash Jana
cb5211bc74
Sanitize scripts to change wallpaper
2019-04-17 08:44:36 +05:30
Mischievous Meerkat
ef9879da36
Merge pull request #244 from juacq97/master
...
Added two scripts to change the wallpaper
2019-04-17 08:39:56 +05:30
juacq97
a80d6f18e2
Changed the notify-send message
2019-04-16 20:58:56 -06:00
juacq97
9a5bd47e4a
Commented the notify-send lines
2019-04-16 20:55:26 -06:00
juacq97
2261befa3f
Changed bash to sh
2019-04-16 20:50:31 -06:00
Juan Adrián Castro Quintana
53b2efb069
Update nitrogen
2019-04-16 20:45:04 -06:00
Juan Adrián Castro Quintana
35403d40df
Update README.md
2019-04-16 20:44:12 -06:00
Juan Adrián Castro Quintana
3b99020523
Update README.md
2019-04-16 20:17:59 -06:00
juacq97
57d2327ee4
Added two scripts to change the wallpaper.
...
The one named "nitrogen" allow to change the wallpaper using
nitrogen. The one named "pywal" allows to change the wallpaper and the
terminal color scheme using pywal.
Both of them need to put the cursor over an image, there's no need to
select the file with space.
2019-04-16 19:50:16 -06:00
Arun Prakash Jana
39035bd75c
nnn as file manager: more changes
...
1. Support passing files to nnn
2. Enable debug logs much early
2019-04-16 22:55:59 +05:30
Arun Prakash Jana
c5b5181ac4
Update docs
2019-04-15 23:35:19 +05:30
Arun Prakash Jana
bb002eeda0
Fix #243
2019-04-15 19:38:07 +05:30
Arun Prakash Jana
6013d024ef
Code reformat
2019-04-13 21:59:34 +05:30
Arun Prakash Jana
afafb7ef8f
Fix readline() call sequence
2019-04-13 20:48:18 +05:30
Arun Prakash Jana
5875358884
Update badges
2019-04-13 14:24:59 +05:30
Arun Prakash Jana
dc7bcf5bc4
Checkout code for packaging
2019-04-13 14:12:22 +05:30
Arun Prakash Jana
b2f7c49687
Update distros
2019-04-13 14:12:22 +05:30
Arun Prakash Jana
00769fb5b7
Remove duplicate builds
2019-04-13 13:30:24 +05:30
Arun Prakash Jana
33446b437c
Schedule weekly builds at 00:00 on Sun
2019-04-13 13:19:31 +05:30
Arun Prakash Jana
b42fcc1ba4
Add CircleCI clang all
2019-04-13 12:36:52 +05:30
Arun Prakash Jana
d51f889944
Add CircleCI gcc all
2019-04-13 11:26:19 +05:30
Arun Prakash Jana
82e305dc35
Add CircleCI gcc-9 build
2019-04-13 10:57:27 +05:30
Arun Prakash Jana
569b172fc7
Add CircleCI gcc-8 build
2019-04-13 10:43:38 +05:30
Arun Prakash Jana
5675e73dd3
Add CircleCI default build
2019-04-13 10:39:38 +05:30
Arun Prakash Jana
c2a0a2ddce
More concise help
2019-04-13 08:30:32 +05:30
Arun Prakash Jana
ad4ffb8928
Do not refresh if same dir
2019-04-13 05:40:34 +05:30
Arun Prakash Jana
33365dea52
Shortcut to visit root
2019-04-12 20:36:23 +05:30
Arun Prakash Jana
3e4797f728
Free readline buffer in corner cases
2019-04-12 20:06:29 +05:30
Arun Prakash Jana
7b07e8e0e8
Update help
2019-04-12 15:57:27 +05:30
Arun Prakash Jana
8e016dc7fa
Remove redundant variable
2019-04-12 15:42:33 +05:30
Arun Prakash Jana
85922c3139
Code refactor
2019-04-11 21:49:54 +05:30
Arun Prakash Jana
191eef8554
Retire xdirname()
2019-04-11 19:49:42 +05:30
Arun Prakash Jana
6175f33b75
Shorter NULL checks
2019-04-11 19:27:38 +05:30
Arun Prakash Jana
69328f5b03
Print file opener in debug mode
2019-04-10 07:44:38 +05:30
Arun Prakash Jana
4b32b53a5a
Keep global settings together
2019-04-10 07:44:35 +05:30
Arun Prakash Jana
f7dd38d90e
Remember detail/light mode of context
2019-04-09 20:25:17 +05:30
Arun Prakash Jana
7ada9a0b6b
Add comment
2019-04-09 17:02:20 +05:30
Arun Prakash Jana
c75e0a886f
Update docs
2019-04-08 22:52:03 +05:30
Mischievous Meerkat
68227f6ae7
Update README.md
2019-04-08 14:53:31 +05:30
Arun Prakash Jana
4997f047cc
Support only scripts directory
2019-04-06 06:54:06 +05:30
Arun Prakash Jana
650e51d2e7
A new image
2019-04-06 06:02:00 +05:30
Arun Prakash Jana
f063cb7d34
Update docs
2019-04-04 21:12:27 +05:30
Arun Prakash Jana
1b06828819
Ignore case in version compare
2019-04-01 21:11:23 +05:30
Arun Prakash Jana
4cce877449
Fix issue with file details
2019-04-01 20:14:49 +05:30
Arun Prakash Jana
1238130e78
Copy last file name before refresh
2019-04-01 08:50:54 +05:30
Arun Prakash Jana
dc6c6b8ca5
Experimental: save filter status on context switch
2019-04-01 08:42:43 +05:30
Arun Prakash Jana
f8de2b2254
Minor changes
2019-03-31 09:56:30 +05:30
Arun Prakash Jana
8791444adc
Update docs
2019-03-29 14:23:55 +05:30
Arun Prakash Jana
f609a487b2
Update docs
2019-03-28 21:10:27 +05:30
Arun Prakash Jana
c25b539eea
Fix scripts
2019-03-28 20:49:17 +05:30
Mischievous Meerkat
87835a561f
Merge pull request #237 from dbotw/endhome
...
Recognize End/Home keys for editing
2019-03-25 22:23:13 +05:30
Jens Guenther
e856df277c
Recognize End/Home keys for editing
2019-03-25 17:29:45 +01:00
Mischievous Meerkat
09b713aa25
Merge pull request #236 from juacq97/add-kdeconnect
...
Make kdeconnec script POSIX compliant
2019-03-25 12:51:37 +05:30
Juan Adrián Castro Quintana
3b4be9fad3
Deleted blank line
...
Also, I commented again the three lines about the notifications.
2019-03-24 23:24:34 -07:00
Juan Adrián Castro Quintana
6c27098533
Merge branch 'master' into add-kdeconnect
2019-03-24 22:33:18 -07:00
juacq97
21e259ecd4
Changed the Shell type to POSIX compliant
2019-03-24 22:29:37 -07:00
Arun Prakash Jana
28ef959e71
Update docs
2019-03-25 08:30:26 +05:30
juacq97
8f4e456bb2
make the script POSIX compliant
2019-03-24 16:00:51 -07:00
Arun Prakash Jana
b6c66a78c0
Use POSIX compliant sh scripts if possible
2019-03-24 21:11:43 +05:30
Arun Prakash Jana
1bd42c40c6
Add script to invoke pastebinit
2019-03-24 20:33:27 +05:30
Arun Prakash Jana
f135a30c0c
Add script to upload a file to transfer.sh
2019-03-24 17:40:15 +05:30
Arun Prakash Jana
0328eafcb9
Add script to resize images in directory
2019-03-24 11:51:33 +05:30
Arun Prakash Jana
653b7d9211
Update docs
2019-03-24 11:51:34 +05:30
Arun Prakash Jana
8be36b9ae2
Update docs
2019-03-23 23:32:46 +05:30
Arun Prakash Jana
c695e27783
nlaunch is an independent app launcher
2019-03-23 22:52:57 +05:30
Arun Prakash Jana
ebe12e288a
Update docs
2019-03-23 20:29:31 +05:30
Arun Prakash Jana
9f2955435e
Do not subscribe to IN_ATTRIB events
2019-03-23 08:42:34 +05:30
Arun Prakash Jana
f16455f3e0
Update docs
2019-03-23 08:38:28 +05:30
Arun Prakash Jana
144682ad49
Add user script to view files in hex
2019-03-23 07:44:34 +05:30
Arun Prakash Jana
00f1857099
Update docs
2019-03-23 07:05:34 +05:30
Arun Prakash Jana
fa31775547
Fix #231
2019-03-22 19:30:01 +05:30
Mischievous Meerkat
6d023d7877
Merge pull request #233 from TimB87/master
...
add CRUX to distrolist
2019-03-22 15:45:46 +05:30
TimB87
52d3364c68
the list alphabetical and commands go in backquotes
2019-03-22 10:45:12 +01:00
TimB87
93379c673a
add CRUX to distrolist
2019-03-22 10:06:43 +01:00
Arun Prakash Jana
0b5a393c25
Update docs
2019-03-22 09:17:33 +05:30
Arun Prakash Jana
7fa6f75542
Update issue template
2019-03-22 08:05:07 +05:30
Arun Prakash Jana
30fb03e726
Fix lint warnings
2019-03-21 22:25:27 +05:30
Arun Prakash Jana
73770bd67c
Disable readability-isolate-declaration check
2019-03-21 04:18:23 +05:30
Arun Prakash Jana
dd52acb925
Update docs
2019-03-21 03:39:47 +05:30
Arun Prakash Jana
10dea591f0
Fix #229
2019-03-20 23:52:08 +05:30
Arun Prakash Jana
20321695cc
Diff viewer script using vimdiff
2019-03-20 21:53:03 +05:30
Arun Prakash Jana
10c8344fbd
Update docs
2019-03-20 09:22:44 +05:30
Arun Prakash Jana
b0960a2e3d
Break when watch desc becomes 0
2019-03-20 05:50:20 +05:30
Arun Prakash Jana
58a7773755
Remove obsolete help
2019-03-19 21:30:13 +05:30
Arun Prakash Jana
ac2a4041b6
Fix build break
2019-03-19 20:13:03 +05:30
Arun Prakash Jana
24b72f65c5
Fix selection symbol (+) lost after a few seconds
...
This is fix on Linux. Someone has to test it on BSD and fix IF there's
similar issue with the kevent based mechanism.
We need to mask and check if the intended events are received because
some events like IN_UNMOUNT, IN_Q_OVERFLOW or IN_IGNORED may arrive
without knowledge.
2019-03-19 19:39:43 +05:30