-
Notifications
You must be signed in to change notification settings - Fork 149
Effective with fzf
Linwei edited this page Feb 20, 2019
·
25 revisions
When you input:
z -I vimHistory directories matching vim will be sorted by frecent and sent to fzf:

You can use arrow key UP/DOWN (as well as CTRL+J/K) to move around the cursor (red > symbol) then <ENTER> to accept or <ESC>/CTRL+D to give up.
If you are not satisfied with the result, continue to input some space separated keywords to filter the result:

After input keyword git, only 6 paths are left. You may want to use cursor to select one, or continue input one more keyword:

Now, you have inputed two keyword git and sk, only one path is left. Press enter to select or <Backspace> to modify your keywords, or <ESC> to give up.
NOTE: keywords are not required to be in order in fzf, so /home/skywind/github/vim can be matched with git sk or sk git.