plugin works almost excellent for me. while in normal and visual mode focus lost causes to save of the file with my autocmd statement in my vimrc file.
but when i make focus lost in insert mode and when focus gained again i see [O[I characers printed to the buffer and buffer not saved.
vnoremap <silent> <f24> <esc>:silent doautocmd FocusLost %<cr>gv
vnoremap <silent> <f25> <esc>:silent doautocmd FocusGained %<cr>gv
inoremap <silent> <f24> <c-o>:silent doautocmd FocusLost %<cr>
inoremap <silent> <f25> <c-o>:silent doautocmd FocusGained %<cr>
visual mode mapping works but insert mode does not. i tried to put for inoremap but no luck.
plugin works almost excellent for me. while in normal and visual mode focus lost causes to save of the file with my autocmd statement in my vimrc file.
but when i make focus lost in insert mode and when focus gained again i see [O[I characers printed to the buffer and buffer not saved.
visual mode mapping works but insert mode does not. i tried to put for inoremap but no luck.