Commit Graph

3637 Commits

Author SHA1 Message Date
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