diff options
author | oreodave <aryadevchavali1@gmail.com> | 2019-07-27 23:37:34 +0100 |
---|---|---|
committer | oreodave <aryadevchavali1@gmail.com> | 2019-07-27 23:37:34 +0100 |
commit | abdbfa9d36a4256a672db011612a8233ee725836 (patch) | |
tree | 827189f0fa3fdad58c255cda5e65fae2297247b8 | |
parent | a8eb24e3807a3ae1199070d5930592a163c4d1dc (diff) | |
download | dotfiles-abdbfa9d36a4256a672db011612a8233ee725836.tar.gz dotfiles-abdbfa9d36a4256a672db011612a8233ee725836.tar.bz2 dotfiles-abdbfa9d36a4256a672db011612a8233ee725836.zip |
+MaybeFZF function to use when entering dir
-rwxr-xr-x | vimrc | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -75,6 +75,14 @@ colorscheme monokai "" Dir Config +function! MaybeFzf() + if argc() == 1 && isdirectory(argv()[0]) + execute "bdelete" + execute "FZF" + endif +endfunction + +autocmd VimEnter * : call MaybeFzf() let g:NERDTreeHijackNetrw = 1 |