Commit Graph
1396 Commits
Author SHA1 Message Date
Franciosi fc71c6f8b9 README.md Update (#951)
s/MacOS/macOS, simple one
2022-10-01 16:38:50 +03:00
Gokcehan 0906d39676 update doc
cc #945
2022-10-01 16:37:39 +03:00
Seninha c5dfd6df51 implement gokcehan#606 (#945) 2022-10-01 16:36:26 +03:00
Paul Ouellette 165fecbea0 Fix minor incsearch weirdness (#944)
This fixes an issue where if you stared a search then deleted the search
text (with e.g. backspace) it would perform a search for the empty
string and move the selection to the next file.
2022-10-01 16:33:22 +03:00
Paul Ouellette 75869f0ac3 support italic escape code in previews (#936) 2022-10-01 16:32:39 +03:00
Paul Ouellette cb7aa13218 Fix a few completion bugs and add a few small features (#934)
* Fix some multibyte character completion bugs

- matchLongest now operates on runes instead of bytes so we don't
  complete part of a multibyte character.
- Fix some places that mixed string and rune slice indices.

* Fix wrong menu completion for subdirectories

When selecting a menu completion for a file in a subdirectory, the
entire filename would be appended to the command line, even if you had
already typed part of it.

* Escape file completions in menu completion

* Minor refactors and typo fixes

* Fix cmd-menu-complete-back bug

The first use of cmd-menu-complete-back after opening the completion
menu was incorrectly selecting the before-last completion instead of the
last completion.

* Allow completing broken symlinks

Also skip files with stat errors instead of returning.

* Add command to accept current menu selection

This is useful when completing filenames. For example

    cmap <c-y> :cmd-menu-accept; cmd-menu-complete

can be used to accept the selected directory completion, then complete
files in the directory.

* Complete command names for map and cmap
2022-10-01 16:31:58 +03:00
Paul Ouellette 5ba70d0f61 Documentation fixes and updates (#933)
- Document history option
- Use $() command substitution syntax because backticks are replaced
  with quotes in gen/docstring.sh
- Movement commands no longer close the search prompt (85aa3b9)
- Use the -L flag of the file command instead of readlink
2022-10-01 16:29:21 +03:00
desbma 01d3b69de0 feat: case insensitive extension matching for icons & colors (#908) 2022-10-01 16:27:14 +03:00
Paul Ouellette 17e1a84646 Fix missing completion for a few commands (#929) 2022-09-08 16:10:49 +03:00
ferreum b0cb9268d8 docs: update lifted restrictions on cmap (#886) 2022-08-06 15:53:26 +03:00
Christian Zangl e03143299d Add a spacer %S to the promptfmt (#867) 2022-07-10 15:32:55 +03:00
segf00lt da2d8a2979 added history options (#866)
* added history options

* sorry forgot to update docs
2022-07-10 15:32:34 +03:00
Gokcehan aee5c3371f handle colons in paths for tags properly
cc #857
2022-06-26 15:36:17 +03:00
SeekingBlues 36a7a18316 Go to normal mode when backspacing on empty prompt (#836)
This matches up with vim's behavior.
2022-05-21 13:54:17 +03:00
SeekingBlues 2104a501aa Fix user name, group name and link count display (#829)
These type assertions for `Stat_t` were changed from `syscall` to
the incorrect `unix` ones in c5bd676.

Fixes #800.
2022-05-12 19:25:50 +03:00
SeekingBlues addb6e243e Update docs of calcdirsize and dircounts (#827)
* Clarify what `-` means in the `size` info field.
* Reflect the fact that we no longer display the size of the
directory itself.
2022-05-09 14:28:06 +03:00
Gokcehan a89f0242bf update doc
cc #826
2022-05-08 19:52:59 +03:00
zxcat 6e17d2bd20 docs: fix number of special commands (#826)
* doc.go: fix "three special commands"

* lf.1: fix "three special commands"
2022-05-08 19:52:42 +03:00
tucuxi b0f2a2875a handle empty answer in delete (#809)
* handle empty answer in delete

* handle empty answer in delete
2022-05-08 14:53:34 +03:00
Gokcehan 745f1588ed add missing 'tagfmt' evaluation
cc #791
2022-05-08 14:28:26 +03:00
Gokcehan 7feb42db34 rename move commands to high/middle/low
cc #824
2022-05-08 14:03:32 +03:00
Christian Zangl 01fe12b2ce Add VIMs hi/mid/lo-screen commands (#824)
* add hi/mid/lo-screen commands and default keybindings

* doc
2022-05-08 13:58:56 +03:00
Gokcehan 50f11ad3de update doc r27 2022-04-03 00:54:43 +03:00
Gokcehan da7a366584 cleanup 2022-04-03 00:28:29 +03:00
Gokcehan 5eb5d9bdb8 update doc 2022-04-03 00:11:57 +03:00
Gokcehan 82dfce2e96 cleanup 2022-04-02 22:42:26 +03:00
Gokcehan 69fc98f992 update doc 2022-04-02 22:26:43 +03:00
Gokcehan fe59f0f30c update doc 2022-04-02 21:18:05 +03:00
Gokcehan 4db1a63b75 rename scrollup/down to scroll-up/down
cc #764
2022-03-30 12:58:38 +03:00
Gokcehan afa90fe647 use multiple selections for tag command
cc #791
2022-03-28 18:02:17 +03:00
Gokcehan 304026d680 use regular selection style for tags
cc #791
2022-03-28 17:58:33 +03:00
Gokcehan 9144df10ad stay at same position with tag-toggle
cc #791
2022-03-28 15:55:57 +03:00
Gokcehan 27a11ae507 use reverse style for tags for the selection
cc #791
2022-03-28 15:50:10 +03:00
Santos 5a5628d667 Add tags (#791)
* initial tags implementation

* add tag to complete.go

* add gTagsPath to os_windows.go

* change behaviour to match other commands

* add tag-toggle to complete.go

* add tag and tag-toggle to docs

* address feedback about tags
2022-03-28 15:43:05 +03:00
Gokcehan 2f9d840eda update doc 2022-03-20 01:15:32 +03:00
Gokcehan 8c71e5ba9f use ascii characters for icon defaults 2022-03-20 01:03:59 +03:00
Gokcehan e6a1621261 cleanup 2022-03-19 22:02:46 +03:00
Gokcehan 97e7a6239f update doc 2022-03-19 21:57:24 +03:00
Gokcehan 1b82f1db0b update readme 2022-03-19 21:55:55 +03:00
Gokcehan 19aad41b8e cleanup 2022-03-19 19:16:51 +03:00
Gokcehan 2ddaf43421 count dirs while reading the parent dir
This commit moves directory counting with 'dircounts' option from ui
printing to dir reading to be run asynchronously without locking the ui.
On the other side, disadvantage of this approach is that if 'dircounts'
option is changed at runtime, then directory counts may not be available
requiring a manual 'reload'. Indicators for errors are changed to '!'
instead of '?' to distinguish them from missing values.
2022-03-19 19:01:24 +03:00
Gokcehan 5927a506f4 cleanup 2022-03-19 17:39:04 +03:00
Gokcehan c712d304f2 skip files with stat errors while reading dirs
cc #741 #769
2022-03-19 00:26:42 +03:00
Gokcehan 076ab8ea9d update doc
cc #614 #770
2022-03-18 23:21:51 +03:00
Gokcehan 12f0f0da68 handle trailing slash in PWD properly
cc #558
2022-03-18 21:59:11 +03:00
Gokcehan f66e5824a1 update doc
cc #783
2022-03-14 16:02:34 +03:00
Gokcehan fb3c31d3c7 fix crash for config shell cmds
cc #759 #778
2022-03-11 17:12:32 +03:00
Gokcehan 089e6dc705 init navigation after evaluation of config file
cc #748 #759
2022-03-11 15:21:27 +03:00
Gokcehan 8954e9f16a Revert "fix option processing, async dirs & start select (#759)"
This reverts commit fb66a21577.
2022-03-11 02:43:38 +03:00
Gokcehan 07b35def77 add missing error contexts for getwd calls 2022-03-06 18:46:53 +03:00