diff options
author | Jesse Luehrs <jesse.luehrs@stripe.com> | 2015-02-25 10:40:38 -0800 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2015-02-25 11:34:28 -0800 |
commit | 3b7f1a1982f7252d1e6fb73b5c67be83439980b6 (patch) | |
tree | dc3b1568ac68324fc089136d7623ba597d98f735 /vimrc | |
parent | b6843e0c92067124d291e17e757a0be271c2ce18 (diff) | |
download | conf-3b7f1a1982f7252d1e6fb73b5c67be83439980b6.tar.gz conf-3b7f1a1982f7252d1e6fb73b5c67be83439980b6.zip |
also don't put vimfiler windows in zsh history
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -357,9 +357,9 @@ if $SHELL =~ 'zsh' && exists('g:_zsh_hist_fname') endfunction function! s:zsh_hist_append () let to_append = expand("%:~:.") - " XXX gundo sets buftype too late to be caught by this... this - " is broken, but not sure what a better fix is - if &buftype == '' && to_append !~ "^__Gundo" + " XXX gundo and vimfiler set buftype too late to be caught by this... + " this is broken, but not sure what a better fix is + if &buftype == '' && to_append !~ '^\(__Gundo\|vimfiler:\)' if !has_key(s:initial_files, to_append) if filereadable(g:_zsh_hist_fname) let hist = readfile(g:_zsh_hist_fname) |