KlzXS
3be2dd8390
Remove -E from sed in plugins
2021-12-25 08:13:35 +05:30
Toni Jarjour
8755a3c0cf
n/sxiv play gifs automatically from tabbed
2021-11-14 20:56:32 -05:00
Luuk van Baal
84bfbcf4e7
Preview-tui pass pts device in env variable
2021-11-12 13:57:27 +01:00
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
Luuk van Baal
26f380f154
Proper fix for preview-tui zombie-pane
2021-11-09 14:33:52 +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
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
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
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
Luuk van Baal
de017b7aa2
Fix preview-tui without -a
2021-10-23 15:50:29 +02:00
Arun Prakash Jana
acfec62a13
Add example to copy image to clipboard ( #1199 )
2021-10-18 02:49:36 +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
An Phung
e20cfd67a1
Support OSX iterm2 in preview-tui by using split pane ( #1196 )
2021-10-14 22:07:11 +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
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
Arun Prakash Jana
74b779abc9
Update docs
2021-09-30 03:17:02 +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
Luuk van Baal
07c8089eaf
Preview without convert
2021-09-24 12:12:13 +02:00
Luuk van Baal
52d8aa0945
Improve restorepreview race conditions
2021-09-22 17:15:35 +02:00
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
luukvbaal
532532704e
Close previewer when opening file ( #1171 )
2021-09-21 10:18:51 +05:30
Arun Prakash Jana
27e1eb54c4
Fix #1162 : run commands as plugin through shell
2021-09-09 19:38:41 +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
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
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
joelazar
dba6eeb431
fix fzhist plugin - get fish_history from the right place
2021-08-25 10:36:10 +02:00
luukvbaal
ad6b6bd3df
Icon changes .iconlookup ( #1136 )
2021-08-18 23:16:29 +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
46294e9f3d
Add bookmarks directory support
2021-08-16 20:16:56 +05:30
Luuk van Baal
b5750c9e38
Fix finder typo
2021-08-16 12:47:02 +02:00
Luuk van Baal
b7c6fede5f
Add finder history/bookmarks
2021-08-15 22:07:20 +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
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
14663b964b
Add option to specify arguments to exec
2021-07-21 11:54:40 +05:30
Jonathan Rash
4b4355c733
Added execute fallback to nuke
2021-07-21 10:28:33 +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
Luuk van Baal
4abced6142
Allow tmux inside kitty without KITTY_LISTEN_ON set
2021-07-05 15:40:18 +02:00
Luuk van Baal
fe07ae35f2
Imgview fix ucollage directory
2021-07-01 11:24:49 +02:00
Luuk van Baal
a199156cae
Imgview hovered image/thumbnail dir
2021-07-01 02:26:47 +02:00
Toni Jarjour
1607200a75
Make sxiv play gifs automatically
2021-06-27 11:11:39 -04:00
KlzXS
20e0c49292
Replace fd dependency with find ( #1078 )
2021-06-21 04:59:50 +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
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
Luuk van Baal
c9c0be32a8
Preview-tui single previewpid file
2021-06-05 00:35:54 +02:00
Luuk van Baal
0fff92b396
Supress pgrep output
2021-06-04 17:04:01 +02:00
Luuk van Baal
5533f152bd
Fix preview-tui zombie
2021-06-04 16:43:59 +02:00
Luuk van Baal
99e039d504
Fix preview-tui job control
2021-06-04 04:10:35 +02:00
Luuk van Baal
de430efafb
Improve imgview plugin
2021-06-03 15:09:20 +02:00
Luuk van Baal
272e47c64a
Fix preview-tui jpeg mime
2021-05-31 11:43:51 +02:00
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
85c108a5d6
Decouple variable documentation section
2021-05-29 10:25:21 +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
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
53e98a9fd1
Minor changes to nuke
2021-05-22 08:34:59 +05:30
Luuk van Baal
b89c32b9fa
Preview-tui fix winch_handler
2021-05-19 04:48:03 +05:30
Luuk van Baal
d64242aec3
Preview-tui fixes
2021-05-18 00:19:41 +02:00
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
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
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
lawnowner
9cbb7f540c
Add the xdgdefault plugin ( #1003 )
2021-05-13 16:13:21 +05:30
Luuk van Baal
16b2f40ffe
Add chess/haskell icons to .iconlookup
2021-05-13 01:20:27 +02:00
Luuk van Baal
d73569be73
preview-tui: fix preview dir
2021-05-02 00:54:42 +02:00
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
KlzXS
002758063e
Update .nmv
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
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
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
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
Luuk van Baal
15031f7d9e
preview-tui: close previewer
2021-04-22 21:45:23 +02:00
Luuk van Baal
77640a6434
preview-tui: add QuickLook support
2021-04-22 14:15:42 +02:00
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
akimdi
5f67acd8b8
added ico format to nuke plugin
2021-04-20 04:01:44 +03:00