diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2015-03-09 02:50:43 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2015-03-09 12:49:26 +0900 |
commit | 789a474b28ca157860daa90a7f9a76e4b783a6c2 (patch) | |
tree | 35949c9d57cf289239afdb3174768b014e91afc0 /README.md | |
parent | fb2959c514e433e4cc6a18c4b368cc9cb6158507 (diff) |
[fzf-tmux] Allow opening fzf on any position (-u/-d/-l/-r)
The previous -w and -h will be synonyms for -r and -d respectively.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -152,17 +152,17 @@ installer-generated source code: `~/.fzf.bash`, `~/.fzf.zsh`, and [fzf-tmux](bin/fzf-tmux) is a bash script that opens fzf in a tmux pane. ```sh -# usage: fzf-tmux [-h [HEIGHT[%]]] [-w [WIDTH[%]]] [--] [FZF OPTIONS] +# usage: fzf-tmux [-u|-d [HEIGHT[%]]] [-l|-r [WIDTH[%]]] [--] [FZF OPTIONS] -# select git branches in horizontal split (15 lines) -git branch | fzf-tmux -h 15 +# select git branches in horizontal split below (15 lines) +git branch | fzf-tmux -d 15 -# select multiple words in vertical split (20% of screen width) -cat /usr/share/dict/words | fzf-tmux -w 20% --multi +# select multiple words in vertical split on the left (20% of screen width) +cat /usr/share/dict/words | fzf-tmux -l 20% --multi --reverse ``` -It will still work even when you're not on tmux, silently ignoring `-h` and -`-w` options, so you can invariably use `fzf-tmux` in your scripts. +It will still work even when you're not on tmux, silently ignoring `-[udlr]` +options, so you can invariably use `fzf-tmux` in your scripts. Fuzzy completion for bash ------------------------- |