Closed xiaogwu closed 10 years ago
in vimrc:
" Save when losing focus au FocusLost * :silent! wall
If I don't want this behavior how do I override this autocommand in my after.vimrc?
I've tried:
noautocommand au FocusLost * :silent! wall
and it doesn't seem to disable it.
noautocmd FocusLost * should be enough.
noautocmd FocusLost *
E492: Not an editor command: noautocmd FocusLost *
Figured it out.
in after.vimrc:
set ei=FocusLost
in vimrc:
" Save when losing focus au FocusLost * :silent! wall
If I don't want this behavior how do I override this autocommand in my after.vimrc?
I've tried:
noautocommand au FocusLost * :silent! wall
and it doesn't seem to disable it.