Commit Graph

690 Commits (fe4e452d68435aa5e288b5e6364862a5fc6551c0)
 

Author SHA1 Message Date
Junegunn Choi fe4e452d68 Add --cycle option for cyclic scrolling
Close #266
9 years ago
Junegunn Choi d54a4fa223 Add key name "bspace" for --bind (bspace != ctrl-h) 9 years ago
Junegunn Choi 45bd323cab Allow binding CTRL-G and CTRL-Q 9 years ago
Junegunn Choi 8677dbded1 Change alternative notation for execute action (#265)
e.g. fzf --bind "ctrl-m:execute:COMMAND..." --bind ctrl-j:accept
9 years ago
Junegunn Choi 794ad5785d Fix `.` to match newlines as well (#265) 9 years ago
Junegunn Choi fa5b58968e Add alternative execute notation that does not require closing char
This can be used to avoid parse errors that can happen when the command
contains the closing character. Since the command does not finish at
a certain character, the key binding should be the last one in the
group. Suggested by @tiziano88. (#265)

  e.g. fzf --bind "ctrl-m:execute=COMMAND..." --bind ctrl-j:accept
9 years ago
Junegunn Choi e720f56ea8 Fix test code for docker build 9 years ago
Junegunn Choi 7db53e6459 Add synonyms for some keys to be used with --bind and --toggle-sort
enter (return), space, tab, btab, esc, up, down, left, right
9 years ago
Junegunn Choi e287bd7f04 Fix Travis CI build 9 years ago
Junegunn Choi 022435a90a More alternative notations for execute action
execute(...)
    execute[...]
    execute~...~
    execute!...!
    execute@...@
    execute#...#
    execute$...$
    execute%...%
    execute^...^
    execute&...&
    execute*...*
    execute:...:
    execute;...;
    execute/.../
    execute|...|
9 years ago
Junegunn Choi 6c99cc1700 Add bind action for executing arbitrary command (#265)
e.g. fzf --bind "ctrl-m:execute(less {})"
     fzf --bind "ctrl-t:execute[tmux new-window -d 'vim {}']"
9 years ago
Junegunn Choi fe5b190a7d Remove unnecessary regexp matches
This change does have positive effect on startup time of fzf when many
number of options are provided.

    time fzf --query=____ --filter=____ --delimiter=q --prompt=________ \
    --nth=1,2,3,4 --with-nth=1,2,3,4 --toggle-sort=ctrl-r \
    --expect=ctrl-x --tiebreak=index --color=light --bind=ctrl-t:accept \
    --history=/tmp/xxx --history-max=1000 --help

    0m0.013s -> 0m0.008s
9 years ago
Junegunn Choi 77bab51696 GoLint fix 9 years ago
Junegunn Choi 77048f3e3b Fix Travis CI build 9 years ago
Junegunn Choi 8b618f7439 Test refactoring 9 years ago
Junegunn Choi 8973207bb4 Fix Travis CI build 9 years ago
Junegunn Choi 6ad1736832 Fix ignore action 9 years ago
Junegunn Choi 9fca611c4a Add `ignore` action for --bind 9 years ago
Junegunn Choi 8e7164553f Add missing files from the previous commit
:(
9 years ago
Junegunn Choi 3b52811796 Add support for search history
- Add `--history` option (e.g. fzf --history ~/.fzf.history)
- Add `--history-max` option for limiting the size of the file (default 1000)
- Add `previous-history` and `next-history` actions for `--bind`
    - CTRL-P and CTRL-N are automatically remapped to these actions when
      `--history` is used

Closes #249, #251
9 years ago
Junegunn Choi 2e84b1db64 Merge pull request #264 from kassio/master
Do not rename terminal buffer
9 years ago
Kassio Borges 9f33068ab3 Avoid conflict with other neoterm plugins.
To avoid conflict with other neoterm plugins that manage terminals,
prefer named terminals.
9 years ago
Junegunn Choi eaa3c67a5e Add actions for --bind: select-all / deselect-all / toggle-all
Close #257
9 years ago
Junegunn Choi 1b9b1d15bc Adjust --help output 9 years ago
Junegunn Choi 97f433a274 Merge branch 'dullgiulio-121-accept-nil-input' 9 years ago
Junegunn Choi 45a3655eaf Add test case for --null option 9 years ago
Junegunn Choi 81ffde92fb Merge branch '121-accept-nil-input' of https://github.com/dullgiulio/fzf into dullgiulio-121-accept-nil-input 9 years ago
Junegunn Choi 0be4cead20 Allow ^EqualMatch$ 9 years ago
Giulio Iotti f6dd32046e add support to nil-byte separated input strings, closes #121 9 years ago
Junegunn Choi 443a80f254 Always use the same color for multi-select markers 9 years ago
Junegunn Choi 8017635a71 Merge pull request #252 from dominikh/portable-swapOutput
Use ncurses's newterm instead of swapping stdout and stderr
9 years ago
Dominik Honnef 98f62b191a Use ncurses's newterm instead of swapping stdout and stderr 9 years ago
Junegunn Choi 52771a6226 0.9.13 9 years ago
Junegunn Choi b00bcf506e Fix #248 - Premature termination of Reader on long input 9 years ago
Junegunn Choi fdbfe36c0b Color customization (#245) 9 years ago
Junegunn Choi 446e822723 Update CHANGELOG 9 years ago
Junegunn Choi b68e59a24b Fix ANSI offset calculation 9 years ago
Junegunn Choi 4e0e492427 Minor refactoring 9 years ago
Junegunn Choi 8f99f8fcc6 More test cases for --bind 9 years ago
Junegunn Choi 3cdf71801e Update --help 9 years ago
Junegunn Choi 801cf9ac62 Add unbound "toggle" action for customization 9 years ago
Junegunn Choi 34946b72a5 0.9.12 9 years ago
Junegunn Choi 1592bedbe8 Custom key binding support (#238) 9 years ago
Junegunn Choi 15099eb13b Remove duplicate processing of command-line options 9 years ago
Junegunn Choi c511b45ff6 Minor tweak in test case
It may take long for find command to spot the temporary file created on
the home directory
9 years ago
Junegunn Choi 40761b11b1 [bash] Ignore asterisk (modified) in history 9 years ago
Junegunn Choi cca543d0cd [zsh-completion] Fix #236 - zle redisplay 9 years ago
Junegunn Choi 34e5e2dd82 [vim] Use close+bufhidden=wipe instead of bd 9 years ago
Junegunn Choi 2b7c3df66b [neovim] Check tabpagenr() as well 9 years ago
Junegunn Choi f766531e74 [neovim] Make sure that fzf buffer is closed (#225)
- bd! leaves the window open when there's no other listed buffer
- redraw! seems to help avoid Neovim issues.
9 years ago