diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2016-04-23 17:53:54 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2016-04-23 17:53:54 +0900 |
commit | 654a7df9b080533977d34ad423e201f063843d5c (patch) | |
tree | f95ed6c500ee4f68a6f28f7e1fe48aa00031b6c9 /plugin | |
parent | c3aa836ec0efb6d592598c6fdf3d9da66e28d388 (diff) |
[neovim] Set bufhidden and nobuflisted after opening terminal
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/fzf.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim index a01e582b..43d5059a 100644 --- a/plugin/fzf.vim +++ b/plugin/fzf.vim @@ -317,7 +317,7 @@ function! s:split(dict) endif return { '&l:wfw': &l:wfw, '&l:wfh': &l:wfh } finally - setlocal winfixwidth winfixheight buftype=nofile bufhidden=wipe nobuflisted + setlocal winfixwidth winfixheight endtry endfunction @@ -368,7 +368,7 @@ function! s:execute_term(dict, command, temps) abort call s:pushd(a:dict) call termopen(a:command, fzf) call s:popd(a:dict, []) - setlocal nospell + setlocal nospell bufhidden=wipe nobuflisted setf fzf startinsert return [] |