Commit Graph

53 Commits (ce53b9b2a53624825e51d7b5ddcc373fc70ea0bd)

Author SHA1 Message Date
Miles Whittaker ce53b9b2a5 Ignore user-defined grep aliases 10 years ago
Junegunn Choi 80efafcceb Fix ALT-C keybinding to include symlinked directories
Related #95.
10 years ago
Junegunn Choi d5e7303a25 Change --nth option for CTRL-R key binding (#90)
Remove `1` from --nth option. With the change you can no more use `$`
anchor to match the tail of a command index. But it makes search
around 15% faster.

    jg@jg:~> time cat history | fzf +s -n..,1,2.. -f fzf > /dev/nul
    real    0m2.929s
    user    0m2.766s
    sys     0m0.154s

    jg@jg:~> time cat history | fzf +s -n2..,.. -f fzf > /dev/null
    real    0m2.535s
    user    0m2.422s
    sys     0m0.112s
10 years ago
Junegunn Choi a54784cd53 Display 'gem install curses' when curses cannot be loaded 10 years ago
Sencer Selcuk 7261d3afcd allow installation with sudo privileges 10 years ago
Junegunn Choi daf08f801f [fish] Fix fish key binding issues (#60)
Although a major overhaul is ongoing (#67), it is not yet finished and
cannot be considered stable enough for the next release. This commit
fixes a few apparent issues with small change to the current
implementation.

- Fixed error when $TMPDIR is not defined
- Better escaping of file/directory names
- Splitted functions to workaround fish bug
10 years ago
Patrick Donelan 30cdc06bcd Add vi-command keymap mappings
fzf does not currently define vi-command mode mappings. This is particularly annoying for <C-r>, which opens bash's old-fashioned recursive history search.

This patch adds vi-command mode mappings that simply drop back into vi-insert mode ("i") and then trigger the primary mapping.
10 years ago
Sencer Selcuk 3827a1b09e Use `command find` rather than plain `find`
Aliases are expanded in shell scripts, and one may have an alias
for the `find` command that conflicts with fzf. So make sure fzf
is using real find command rather than the alias.
10 years ago
Junegunn Choi f8e357fa19 Extend --nth option to take ranges
As discussed in #55
10 years ago
Junegunn Choi ed13fc8618 Fix fzf-history-widget (#48) 10 years ago
Chad Skeeters edf27f47f2 removed tailing substitution causing all trailing space to be removed when extendedglob is set 10 years ago
Tom Cammann 1e02471940 Update install
Update sed regex to strip "*" from history lines when using tmux and fc
e.g. "637* ls -a"
10 years ago
Junegunn Choi 6a1b916598 OK 10 years ago
Junegunn Choi f37be006c3 Update uninstall script 10 years ago
Junegunn Choi f250fc8f86 Fix #41: [CTRL-T] long file paths causing wrapping artifacts 10 years ago
Junegunn Choi 6eea9603c2 Fix bug in install script 10 years ago
Junegunn Choi b3efccca81 [fish] Remove temporary file after use 10 years ago
Junegunn Choi 7d15071c63 Fish shell support - installer / key bindings (#33) 10 years ago
Junegunn Choi 89eb1575e7 Simpler check for curses 10 years ago
Junegunn Choi 608ec2b806 set -o nonomatch for zsh (#34)
Avoid error message in an empty directory
10 years ago
Junegunn Choi e5ae4f0ef6 Do not load interactive parts when not required (#34) 10 years ago
Junegunn Choi 67ba87d390 Avoid CTRL-T error when default shell != zsh (#34) 10 years ago
Junegunn Choi 77d45cb173 Avoid starting interactive bash (#34) 10 years ago
Junegunn Choi 546a315884 Fix #34: tmux integration on Linux 10 years ago
Junegunn Choi af616457e3 Use -p option of split-window instead of manual calculation 10 years ago
Junegunn Choi 48f9ee6763 Update install script 10 years ago
Junegunn Choi cf8dbf8047 Allow setting tmux split height in % 10 years ago
Junegunn Choi ae86cdf09a Make CTRL-T use tmux split when possible 10 years ago
Junegunn Choi 2c8a256b13 Update README and install
- Unset multi-select option with +m
10 years ago
Junegunn Choi f4c5aa03d7 Update README and install script
- Added examples: fbr and fco
- Always use local variables
10 years ago
Junegunn Choi 2296013174 Add ALT-C keybinding for bash 10 years ago
Junegunn Choi 8a3e8c2d81 Install curses gem in user's home directory 10 years ago
Junegunn Choi b22fd6de6d Fix #22. Keybindings for vi-mode bash. 10 years ago
Christian Wellenbrock f5d53b94fe Use `fc` instead of `history` to avoid omz alias 10 years ago
Junegunn Choi 00c8a68430 Unalias history on zsh (related #19) 10 years ago
Christian Wellenbrock 2c0dc2f3b1 Feed all zsh history into fzf (not only most recent) 10 years ago
Junegunn Choi 4396ab7548 Do not set key bindings in non-interactive shell 10 years ago
Junegunn Choi 2b8c2b9f2a CTRL-R for bash: Unset $HISTTIMEFORMAT 10 years ago
Junegunn Choi 426284c87e Change CTRL-T binding to include directories 10 years ago
Junegunn Choi 1155da7e1c Install curses 1.0.0 10 years ago
Junegunn Choi c3676bf986 Make install script prefer system ruby 10 years ago
Junegunn Choi 13cb198b5c Update README 11 years ago
Junegunn Choi d7f50b1e41 Fix typo in install script 11 years ago
Junegunn Choi bff7e9edf5 Should not `--disable-gems` when curses gem is used (#14) 11 years ago
Junegunn Choi 3b668ed448 Install curses gem when not found (#14) 11 years ago
Junegunn Choi 7ee6fd1f6d Make install script to add key bindings as well 11 years ago
Junegunn Choi b2bb22d883 A minor update to install script 11 years ago
Junegunn Choi 344b57fe33 grep -F 11 years ago
Junegunn Choi 18a2fbf54a Fix install script (use export-able function instead of alias) 11 years ago
Junegunn Choi 64541cb5f8 Fix install script (source ~/.xxxrc has no effect) 11 years ago