mirror of
https://github.com/junegunn/fzf.vim.git
synced 2026-08-12 10:52:33 +08:00
Code restructuring
This commit is contained in:
@@ -64,6 +64,9 @@ let g:fzf_action = {
|
||||
|
||||
" Default fzf layout
|
||||
let g:fzf_layout = { 'down': '40%' }
|
||||
|
||||
" Advanced customization using autoload functions
|
||||
autocmd VimEnter * command! Colors call fzf#vim#colors({'left': '15%'})
|
||||
```
|
||||
|
||||
Mappings
|
||||
@@ -85,6 +88,9 @@ 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)
|
||||
|
||||
" Advanced customization using autoload functions
|
||||
inoremap <expr> <c-x><c-k> fzf#vim#complete#word({'left': '15%'})
|
||||
```
|
||||
|
||||
### Completion helper
|
||||
|
||||
Reference in New Issue
Block a user