Commit Graph
229 Commits
Author SHA1 Message Date
Christian Zangl a2fed6d16e add user defined options (#865) 2022-10-15 15:50:21 +03:00
Christian Zangl 21a32a7603 Add a selection mode that limits the selection to the current directory. (#849) 2022-10-15 15:43:15 +03:00
Gokcehan 0906d39676 update doc
cc #945
2022-10-01 16:37: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
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
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
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
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 2022-04-03 00:54:43 +03:00
Gokcehan 5eb5d9bdb8 update doc 2022-04-03 00:11:57 +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 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 97e7a6239f update doc 2022-03-19 21:57:24 +03:00
Gokcehan 5927a506f4 cleanup 2022-03-19 17:39:04 +03:00
Gokcehan 076ab8ea9d update doc
cc #614 #770
2022-03-18 23:21:51 +03:00
Gokcehan f66e5824a1 update doc
cc #783
2022-03-14 16:02:34 +03:00
sbinnee b4637f91aa add scrollup scrolldown builtin cmd (#764)
* add scrollup scrolldown builtin cmd

Scrollup/down move window pane without moving current cursor position.
Default keybinding would be <c-y> for scrollup and <c-e> for scrolldown
just like in vim.

* limit scrolldown when reached bottom

scrolodown will not allow empty space

Fix typo
2022-02-27 12:37:27 +03:00
Gokcehan 17453f10f5 add colors/icons file support
cc #505
2022-02-13 16:58:53 +03:00
Christian Zangl 375133e483 add "jump-next" and "jump-prev" (#755) 2022-02-13 12:02:18 +03:00
Gokcehan 73f990cdb6 rename 'get-dirsize' to 'calcdirsize'
cc #750
2022-02-12 12:40:07 +03:00
Christian ZanglandKrzysztof Maicher b08ab8dfb7 Continue PR: configure time format in the info column (#751)
* Allow to configure time format in the info column

* Update infotimefmt PR from Krzysztof Maicher

Add format length, rename options

Co-authored-by: Krzysztof Maicher <krzysztof.maicher@gmail.com>
2022-02-12 12:23:22 +03:00
Christian Zangl cbb80a0d44 add get-dirsize command (#750) 2022-02-12 12:21:49 +03:00
Gokcehan 86e84c9151 use XDG_RUNTIME_DIR for the socket file
cc #722 #726
2022-02-06 23:45:40 +03:00
Gokcehan 1703dcc11f update doc 2022-02-06 19:54:25 +03:00
Gokcehan 47620fa680 add command line option for log file
cc #739
2022-02-06 19:51:52 +03:00
Gokcehan 5d393da572 update doc
cc #747
2022-02-05 00:08:31 +03:00
Christian Zangl 761aa23483 add select-path to -help (#749) 2022-02-04 23:32:34 +03:00
Christian Zangl a4842e19d4 keep copy selections after paste (#745) 2022-02-04 19:21:03 +03:00
Christian Zangl 958857f4c4 Add Temporary Marks (#744)
* add temporary marks

* change option format & documentation
2022-01-31 02:28:06 +03:00
Gokcehan 930364ce78 Revert "dirtyfiles: files that don't require cleaning before previewing them (#729)"
This reverts commit 673dad9f07.
2022-01-22 16:57:28 +03:00
Gokcehan fea4ededb6 update doc 2022-01-04 23:48:04 +03:00
Lucas Mior 673dad9f07 dirtyfiles: files that don't require cleaning before previewing them (#729)
* dirtyfiles

* wrong default on man page

* respect alphabetic order for options

* clean on shell commands

* formating if
2021-12-25 20:49:30 +03:00
Gokcehan 1b71c33afd update doc 2021-10-10 00:01:01 +03:00
SPFab 05a48ea315 added pre-cd command (#685)
* added special pre-cd command

* added documentation
2021-08-23 17:11:56 +03:00
SPFab ff0933ca03 Added filter command (#667)
* added first version of interactive filter

* small fix when loading new file

* don't reset filter when directory is reloaded automatically

* reapply filter when options for searching change

* current filter or arguments now prefilled in the prompt

* empty filter can now be supplied

* added new setfilter command for use in scripts

* added incfilter option

* added very basic documentation

* added filter indication in statusbar

* added option to display filter to prompt
2021-08-21 16:40:24 +03:00
Gokcehan bdd1747e43 update doc 2021-08-01 17:04:37 +03:00
Matthew Tooheyandmtoohey31 75eba115d2 implement dironly option (#669)
Co-authored-by: mtoohey31 <mtoohey31@users.noreply.github.com>
2021-07-31 16:10:25 +03:00
István Donkó 6e9f53f4bb Fix minor typo (#647)
* Fix minor typo

lf.1 will need to be regenerated as well.

* Fix minor typo
2021-06-13 00:36:16 +03:00
Gokcehan 5d02b557d3 follow links in 'open' examples
cc #634
2021-05-22 01:46:13 +03:00
Gokcehan d6acf4a6ec update doc 2021-05-19 22:25:26 +03:00