Add line completion (global and local)

This commit is contained in:
Junegunn Choi
2015-08-23 04:23:16 +09:00
parent e192cfef43
commit 3a70b0b273
3 changed files with 51 additions and 15 deletions

View File

@@ -1,4 +1,4 @@
fzf-vim.txt fzf-vim Last change: August 22 2015
fzf-vim.txt fzf-vim Last change: August 23 2015
FZF-VIM - TABLE OF CONTENTS *fzf-vim* *fzf-vim-toc*
==============================================================================
@@ -98,14 +98,16 @@ COMMANDS *fzf-vim-commands*
MAPPINGS *fzf-vim-mappings*
==============================================================================
-----------------------------+------------------------------------------
Mapping | Description ~
-----------------------------+------------------------------------------
<plug>(fzf-complete-word) | `cat/usr/share/dict/words`
<plug>(fzf-complete-path) | Path completion using `find` (file + dir)
<plug>(fzf-complete-file) | File completion using `find`
<plug>(fzf-complete-file-ag) | File completion using `ag`
-----------------------------+------------------------------------------
---------------------------------+------------------------------------------
Mapping | Description ~
---------------------------------+------------------------------------------
<plug>(fzf-complete-word) | `cat/usr/share/dict/words`
<plug>(fzf-complete-path) | Path completion using `find` (file + dir)
<plug>(fzf-complete-file) | File completion using `find`
<plug>(fzf-complete-file-ag) | File completion using `ag`
<plug>(fzf-complete-line) | Line completion (all open buffers)
<plug>(fzf-complete-buffer-line) | Line completion (current buffer only)
---------------------------------+------------------------------------------
< Usage >_____________________________________________________________________~
@@ -114,6 +116,7 @@ MAPPINGS *fzf-vim-mappings*
imap <c-x><c-k> <plug>(fzf-complete-word)
imap <c-x><c-f> <plug>(fzf-complete-path)
imap <c-x><c-j> <plug>(fzf-complete-file-ag)
imap <c-x><c-l> <plug>(fzf-complete-line)
<
< Completion helper >_________________________________________________________~