diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2014-06-24 00:18:09 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2014-06-24 00:18:09 +0900 |
| commit | 6e69339f6b09c52aecabda16cd2b317c9677699f (patch) | |
| tree | e1a1609cefd531e32c4e33c2905c1ebdc33b32de | |
| parent | 9ce43d46f60cf381d03c82d31043d4bcde03532a (diff) | |
| parent | 30cdc06bcdfc2dce350f56b166e51fa747944559 (diff) | |
| download | fzf-6e69339f6b09c52aecabda16cd2b317c9677699f.tar.gz | |
Merge pull request #66 from patspam/master
Add vi-command keymap mappings
| -rwxr-xr-x | install | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -155,12 +155,15 @@ else else bind '"\C-t": "\e$a \eddi$(__fsel)\C-x\C-e\e0Px$a \C-x\C-r\exa "' fi + bind -m vi-command '"\C-t": "i\C-t"' # CTRL-R - Paste the selected command from history into the command line bind '"\C-r": "\eddi$(HISTTIMEFORMAT= history | fzf +s +m -n..,1,2.. | sed \"s/ *[0-9]* *//\")\C-x\C-e\e$a\C-x\C-r"' + bind -m vi-command '"\C-r": "i\C-r"' # ALT-C - cd into the selected directory bind '"\ec": "\eddi$(__fcd)\C-x\C-e\C-x\C-r\C-m"' + bind -m vi-command '"\ec": "i\ec"' fi unset __use_tmux |
