Commit Graph

706 Commits (11db046fc7bf1288b3237a7649441dfec6c19ab9)
 

Author SHA1 Message Date
Junegunn Choi 11db046fc7 [neovim] Fix #281 - Properly close window with winnr 1 9 years ago
Junegunn Choi 938151a834 [shell] Add FZF_CTRL_T_COMMAND for CTRL-T
Close #40
9 years ago
Junegunn Choi 14e3b84073 [zsh] No need to define __fsel in non-interactive shell
Since we now use fzf-tmux instead of tmux split-window
9 years ago
Junegunn Choi 56100f0fa7 [bash] Use `command \find` for ALT-C
ALT-C can fail with the following aliases as pointed out in #272

    alias find='noglob find'
    alias command='command '
9 years ago
Junegunn Choi 5254ee2e2a Update documentation (#277) 9 years ago
Junegunn Choi 355d004895 [neovim] Fix error with {'window': 'enew'} (#274) 9 years ago
Junegunn Choi a336494f5d 0.10.0 9 years ago
Junegunn Choi 8270f7f0ca Rename --null to --read0 and undocument the option
`--null` is ambiguous. For completeness' sake, we need both `--read0`
and `--print0`.

`--read0` only makes sense when the input contains multiline entries.
However, fzf currently cannot correctly display multiline entries,
I'm going to make `--read0` an undocumented feature.
9 years ago
Junegunn Choi 638a956a9e Merge pull request #272 from okapia/zsh-simplify
Use vi-fetch-history on zsh to get history line
9 years ago
Oliver Kiddle d395ebd28f use vi-fetch-history on zsh to get history line
In addition to being simpler, it allows subsequent up/down history
or accept-line-and-down-history widgets to work.
Also allow for find being and alias if alias expansion
after command is enabled.
9 years ago
Junegunn Choi c0d3faa84f Hide --toggle-sort from --help output
Since the same can be now achieved with --bind KEY:toggle-sort
9 years ago
Junegunn Choi 3492c8b780 Rename --history-max to --history-size
Considering HISTSIZE and HISTFILESIZE of bash
9 years ago
Junegunn Choi a8b2c257cd Improve handling of key names
Remember the exact string given as the key name so that it's possible to
correctly handle synonyms and print the original string.
9 years ago
Junegunn Choi 5e8d8dab82 More key names for --bind 9 years ago
Junegunn Choi b504c6eb39 Avoid intermittent test failures
by making sure that we're back on shell command-line
9 years ago
Junegunn Choi d261c36cde Keep the spinner spinning even when the source stream is idle 9 years ago
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