diff options
author | Cody Hiar <codyfh@gmail.com> | 2018-08-10 02:18:53 +0000 |
---|---|---|
committer | Cody Hiar <codyfh@gmail.com> | 2018-08-10 02:18:53 +0000 |
commit | c60b4dc1d07d9e56e74dd6ebf541c2a7a82e93c7 (patch) | |
tree | 7c4d392ad729c924c39d9e879862fa8ec998ef41 /plugin/vim-options.vim | |
parent | 49701ccf8715a8423179d44b43c892f32b5a2e03 (diff) |
fzf command for finding directories
Diffstat (limited to 'plugin/vim-options.vim')
-rw-r--r-- | plugin/vim-options.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim index 094d903..58d1de4 100644 --- a/plugin/vim-options.vim +++ b/plugin/vim-options.vim @@ -186,6 +186,8 @@ if !empty(glob($EditorDir.'plugged/fzf.vim/plugin/fzf.vim')) nnoremap <leader>fm :Marks<CR> nnoremap <leader>fc :Commits<CR> nnoremap <leader>fg :GFiles?<CR> + " Find Directories + nnoremap <leader>fd :call fzf#run(fzf#wrap({'source': 'find * -type d'}))<CR> " Enable C-N and C-P to go backwards in history let g:fzf_history_dir = $HOME.'.local/share/fzf-history' " [Buffers] Jump to the existing window if possible |