sjl / vitality.vim

Make Vim play nicely with iTerm 2 and tmux.
http://github.com/sjl/vitality.vim
MIT License
320 stars 30 forks source link

Silence "No matching autocommands" error #5

Closed sjl closed 12 years ago

regedarek commented 12 years ago

I still have this error

jtmkrueger commented 11 years ago

+1, I still have this error as well. Seems to happen when I change tmux panes and windows.

thagorn commented 11 years ago

I'm not familiar enough with git to submit a pull request but the fix is simple enough:

Line 125 Vitality.vim

- nnoremap <silent> <f24> :doautocmd FocusLost %<cr>
+ nnoremap <silent> <f24> :silent doautocmd FocusLost %<cr>
jtmkrueger commented 11 years ago

@thagorn I just submitted a pull request here with your change.