]>
Sergey Matveev's repositories - nnn.git/log
CantoroMC [Wed, 18 Aug 2021 13:53:53 +0000 (15:53 +0200)]
change and add some icons-nerdfont (#1135)
Arun Prakash Jana [Tue, 17 Aug 2021 18:57:09 +0000 (00:27 +0530)]
Update README
CantoroMC [Tue, 17 Aug 2021 18:41:42 +0000 (20:41 +0200)]
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>
Arun Prakash Jana [Tue, 17 Aug 2021 14:58:12 +0000 (20:28 +0530)]
Key B to add bookmarks on the fly
Terminator X [Tue, 17 Aug 2021 12:19:34 +0000 (17:49 +0530)]
Merge pull request #1131 from luukvbaal/patchfix
Fix gitstatus pathspec errors
Luuk van Baal [Tue, 17 Aug 2021 12:01:24 +0000 (14:01 +0200)]
Fix gitstatus pathspec errors
Arun Prakash Jana [Tue, 17 Aug 2021 09:36:09 +0000 (15:06 +0530)]
Disable auto-marking
0xACE [Tue, 17 Aug 2021 04:51:02 +0000 (04:51 +0000)]
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.
Arun Prakash Jana [Mon, 16 Aug 2021 19:33:28 +0000 (01:03 +0530)]
Fix length
Arun Prakash Jana [Mon, 16 Aug 2021 14:42:24 +0000 (20:12 +0530)]
Add bookmarks directory support
Terminator X [Mon, 16 Aug 2021 13:09:03 +0000 (18:39 +0530)]
Merge pull request #1129 from luukvbaal/patchfix
Fix namefirst patch conflict
Luuk van Baal [Mon, 16 Aug 2021 10:47:02 +0000 (12:47 +0200)]
Fix finder typo
Luuk van Baal [Mon, 16 Aug 2021 10:45:44 +0000 (12:45 +0200)]
Fix patch conflict
Luuk van Baal [Sun, 15 Aug 2021 11:50:17 +0000 (13:50 +0200)]
Add finder history/bookmarks
Arun Prakash Jana [Sun, 15 Aug 2021 13:41:04 +0000 (19:11 +0530)]
Fix broken statusbar when symlink name exceeds max cols
Arun Prakash Jana [Sat, 14 Aug 2021 13:57:24 +0000 (19:27 +0530)]
Remove repetitive code
Arun Prakash Jana [Sat, 14 Aug 2021 07:11:36 +0000 (12:41 +0530)]
Update Quickstart
Arun Prakash Jana [Thu, 12 Aug 2021 17:45:15 +0000 (23:15 +0530)]
Save full filter in session to restore correctly
Arun Prakash Jana [Thu, 12 Aug 2021 16:37:42 +0000 (22:07 +0530)]
Decouple statusbar redraw
Arun Prakash Jana [Thu, 12 Aug 2021 05:16:12 +0000 (10:46 +0530)]
Do not modify $PWD
Arun Prakash Jana [Wed, 11 Aug 2021 18:50:13 +0000 (00:20 +0530)]
Fail operations if selection file is empty
Arun Prakash Jana [Wed, 11 Aug 2021 18:31:01 +0000 (00:01 +0530)]
Update docs
Arun Prakash Jana [Wed, 11 Aug 2021 16:23:42 +0000 (21:53 +0530)]
Sync operation on selection among nnn instances
Arun Prakash Jana [Tue, 10 Aug 2021 17:04:18 +0000 (22:34 +0530)]
Try to get current dir from PWD first
Arun Prakash Jana [Tue, 10 Aug 2021 01:36:20 +0000 (07:06 +0530)]
Use a different function
Arun Prakash Jana [Tue, 10 Aug 2021 01:18:21 +0000 (06:48 +0530)]
Do not resolve symlinks in argument PATH
Arun Prakash Jana [Sun, 8 Aug 2021 19:25:31 +0000 (00:55 +0530)]
Do not resolve symlinks in bookmarks
Arun Prakash Jana [Sun, 8 Aug 2021 14:49:46 +0000 (20:19 +0530)]
Update ToDo list link
Arun Prakash Jana [Sun, 8 Aug 2021 14:45:20 +0000 (20:15 +0530)]
Do not end selection mode before prompt/shell
Arun Prakash Jana [Sun, 8 Aug 2021 13:00:51 +0000 (18:30 +0530)]
Do not end selection mode before invoking plugin
Terminator X [Sun, 8 Aug 2021 12:37:51 +0000 (18:07 +0530)]
Merge pull request #1121 from sikmir/haiku
Update Haiku Makefile
Nikolay Korotkiy [Sun, 8 Aug 2021 12:32:39 +0000 (15:32 +0300)]
Update Haiku Makefile
Arun Prakash Jana [Sat, 7 Aug 2021 18:19:21 +0000 (23:49 +0530)]
List open locations from active contexts in help
Arun Prakash Jana [Thu, 5 Aug 2021 16:45:02 +0000 (22:15 +0530)]
make option O_MATCHFLTR to disable filters without match
Terminator X [Thu, 29 Jul 2021 17:58:10 +0000 (23:28 +0530)]
Merge pull request #1119 from N-R-K/NOSSN
fix misleading comment in Makefile
NRK [Thu, 29 Jul 2021 09:33:19 +0000 (15:33 +0600)]
fix misleading comment in Makefile
reading the source code, setting NOSSN to 1 _disables_ session support,
not enable it.
Arun Prakash Jana [Wed, 28 Jul 2021 22:03:51 +0000 (03:33 +0530)]
Fix #1117: Revert "Ignore filter key if no results"
This reverts commit
3ef50f06f86a962b465d50b7ffb6909436b69685 .
Terminator X [Wed, 28 Jul 2021 09:03:49 +0000 (14:33 +0530)]
Merge pull request #1118 from N-R-K/xdgdefault
xdgdefault: make dmenu case-insensitive, fix style
NRK [Wed, 28 Jul 2021 06:30:30 +0000 (12:30 +0600)]
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.
Arun Prakash Jana [Tue, 27 Jul 2021 17:34:23 +0000 (23:04 +0530)]
Eliminate redundant stat()
Arun Prakash Jana [Mon, 26 Jul 2021 00:45:11 +0000 (06:15 +0530)]
redraw() is heavy and distracting
Arun Prakash Jana [Sun, 25 Jul 2021 01:50:43 +0000 (07:20 +0530)]
Fix build break
Arun Prakash Jana [Sun, 25 Jul 2021 01:33:09 +0000 (07:03 +0530)]
Allow specifying output file in NNN_TMPFILE for cd on quit
Arun Prakash Jana [Sat, 24 Jul 2021 16:51:21 +0000 (22:21 +0530)]
Open controlling terminal only as stdin
Terminator X [Sat, 24 Jul 2021 10:18:36 +0000 (15:48 +0530)]
Merge pull request #1114 from jcromero/patch-1
Fix wrong exclamation mark char description
jcromero [Sat, 24 Jul 2021 09:54:27 +0000 (11:54 +0200)]
Fix wrong exclamation mark char description
Arun Prakash Jana [Fri, 23 Jul 2021 20:21:20 +0000 (01:51 +0530)]
Check if file is already selected before appending in picker mode
Arun Prakash Jana [Fri, 23 Jul 2021 19:55:28 +0000 (01:25 +0530)]
Truncate output file before writing in picker mode
Arun Prakash Jana [Fri, 23 Jul 2021 18:16:20 +0000 (23:46 +0530)]
Open controlling terminal for input when run in a script
N-R-K [Fri, 23 Jul 2021 11:36:19 +0000 (17:36 +0600)]
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
Arun Prakash Jana [Thu, 22 Jul 2021 14:41:07 +0000 (20:11 +0530)]
Update plugin docs
Arun Prakash Jana [Wed, 21 Jul 2021 18:13:59 +0000 (23:43 +0530)]
Remove dated documentation
Arun Prakash Jana [Wed, 21 Jul 2021 12:26:46 +0000 (17:56 +0530)]
Revert variety in Haiku Makefile
Arun Prakash Jana [Wed, 21 Jul 2021 12:15:39 +0000 (17:45 +0530)]
Prepare for release v4.2 Mojito
Arun Prakash Jana [Wed, 21 Jul 2021 06:24:40 +0000 (11:54 +0530)]
Add option to specify arguments to exec
Arun Prakash Jana [Wed, 21 Jul 2021 05:54:46 +0000 (11:24 +0530)]
Press TAB to insert current file name at prompt
Jonathan Rash [Tue, 20 Jul 2021 23:12:37 +0000 (19:12 -0400)]
Added execute fallback to nuke
Arun Prakash Jana [Tue, 20 Jul 2021 18:01:40 +0000 (23:31 +0530)]
Minor update
Arun Prakash Jana [Sun, 18 Jul 2021 22:21:32 +0000 (03:51 +0530)]
Fix #1110: sanitize path from plugin
Arun Prakash Jana [Sun, 18 Jul 2021 20:22:44 +0000 (01:52 +0530)]
Clear filter early before running plugin
Arun Prakash Jana [Sun, 18 Jul 2021 06:15:50 +0000 (11:45 +0530)]
Selection-specific scratch buffer
Arun Prakash Jana [Sat, 17 Jul 2021 21:21:09 +0000 (02:51 +0530)]
Free allocated memory
Arun Prakash Jana [Sat, 17 Jul 2021 16:11:19 +0000 (21:41 +0530)]
Plugin suedit - preserve environment
Arun Prakash Jana [Sat, 17 Jul 2021 15:02:01 +0000 (20:32 +0530)]
fzopen - add option to open files in nuke
Arun Prakash Jana [Sat, 17 Jul 2021 14:17:53 +0000 (19:47 +0530)]
Merge plugin fzz into autojump
Arun Prakash Jana [Sat, 17 Jul 2021 08:17:08 +0000 (13:47 +0530)]
Remember the last command executed at prompt
Arun Prakash Jana [Sat, 17 Jul 2021 07:39:33 +0000 (13:09 +0530)]
Add macro for prompt
Arun Prakash Jana [Sat, 17 Jul 2021 07:35:37 +0000 (13:05 +0530)]
Use a simpler macro
Arun Prakash Jana [Fri, 16 Jul 2021 23:16:35 +0000 (04:46 +0530)]
Fix unused variable warning
Arun Prakash Jana [Fri, 16 Jul 2021 15:49:17 +0000 (21:19 +0530)]
Code reformat
Arun Prakash Jana [Fri, 16 Jul 2021 05:39:20 +0000 (11:09 +0530)]
Fix selection in /
Arun Prakash Jana [Thu, 15 Jul 2021 22:24:19 +0000 (03:54 +0530)]
Remove from selection when hovered entry is deleted
Arun Prakash Jana [Thu, 15 Jul 2021 20:50:28 +0000 (02:20 +0530)]
Ignore filter key if no results
Arun Prakash Jana [Thu, 15 Jul 2021 20:24:15 +0000 (01:54 +0530)]
Do not apply filter if directory is empty
Arun Prakash Jana [Thu, 15 Jul 2021 18:52:27 +0000 (00:22 +0530)]
Allocate PATH_MAX aligned memory size
Arun Prakash Jana [Thu, 15 Jul 2021 17:25:31 +0000 (22:55 +0530)]
Optimize repeat copy of same prefix
Arun Prakash Jana [Thu, 15 Jul 2021 14:42:07 +0000 (20:12 +0530)]
Optimize bulk selection
Arun Prakash Jana [Thu, 15 Jul 2021 13:25:03 +0000 (18:55 +0530)]
Invert optimization: allocate in a go
Arun Prakash Jana [Thu, 15 Jul 2021 06:15:32 +0000 (11:45 +0530)]
Show msg for both invert and select all
Arun Prakash Jana [Wed, 14 Jul 2021 20:36:11 +0000 (02:06 +0530)]
Optimize invert further
Arun Prakash Jana [Wed, 14 Jul 2021 15:34:02 +0000 (21:04 +0530)]
In-place invert optimization
Arun Prakash Jana [Tue, 13 Jul 2021 21:07:53 +0000 (02:37 +0530)]
Update docs
Arun Prakash Jana [Tue, 13 Jul 2021 16:16:18 +0000 (21:46 +0530)]
Update add to and invert selection logic
Arun Prakash Jana [Mon, 12 Jul 2021 19:37:11 +0000 (01:07 +0530)]
Scan for selection status on redraw()
Arun Prakash Jana [Sun, 11 Jul 2021 21:24:00 +0000 (02:54 +0530)]
Remove redundant macro
Arun Prakash Jana [Sun, 11 Jul 2021 19:00:41 +0000 (00:30 +0530)]
Remove redundant prompt
Terminator X [Sun, 11 Jul 2021 18:28:58 +0000 (23:58 +0530)]
Merge pull request #1106 from KlzXS/persistent_selection
Use selbufpos instead of selbuflen
KlzXS [Sun, 11 Jul 2021 18:16:28 +0000 (20:16 +0200)]
Use selbufpos instead of selbuflen
KlzXS [Sat, 10 Jul 2021 01:49:39 +0000 (03:49 +0200)]
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
Arun Prakash Jana [Fri, 9 Jul 2021 20:38:48 +0000 (02:08 +0530)]
Fix #1102: suppress clang unused variable warnings
Arun Prakash Jana [Fri, 9 Jul 2021 15:30:46 +0000 (21:00 +0530)]
Fix #1101: confirm trashing files
Arun Prakash Jana [Tue, 6 Jul 2021 17:55:49 +0000 (23:25 +0530)]
Fix #1098: clear selmode on last deselect
Piña Colada [Tue, 6 Jul 2021 12:18:25 +0000 (17:48 +0530)]
Merge pull request #1095 from luukvbaal/patches
Remove gitstatus libgit2 dependency
Luuk van Baal [Tue, 6 Jul 2021 00:01:19 +0000 (02:01 +0200)]
Remove gitstatus libgit2 dependency
Piña Colada [Mon, 5 Jul 2021 16:59:03 +0000 (22:29 +0530)]
Merge pull request #1094 from jarun/preview-tui
Allow tmux inside kitty without KITTY_LISTEN_ON set
Luuk van Baal [Mon, 5 Jul 2021 13:40:18 +0000 (15:40 +0200)]
Allow tmux inside kitty without KITTY_LISTEN_ON set
Piña Colada [Fri, 2 Jul 2021 23:54:23 +0000 (05:24 +0530)]
Merge pull request #1091 from luukvbaal/adjust_cols
Move adjust_cols and no else braces
Luuk van Baal [Fri, 2 Jul 2021 22:50:51 +0000 (00:50 +0200)]
Move ajust cols and no else braces
Arun Prakash Jana [Fri, 2 Jul 2021 15:04:02 +0000 (20:34 +0530)]
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
Piña Colada [Thu, 1 Jul 2021 09:26:53 +0000 (14:56 +0530)]
Merge pull request #1090 from luukvbaal/imgview
Imgview fix ucollage directory