On Dec 9, 5:45 am, Somelauw <[email protected]> wrote: > > > Open gvim > > > Open the usermanual > > > :tabedit > > > Alt-tab (You might have to repeat this a few times) > > > Sometimes it will crash and sometimes you can repeat this a lot of times > > > without a crash. > > > "Alt-tab" being the usual "switch to a different GUI application", or > > some remapped thing in Vim? I.e. does Vim actually lose/regain focus > > or are you just doing something within Vim? > > > Does it do this if you start Vim without any plugins or > > customizations? > > > gvim -N -u NONE -i NONE > > I can still Alt-tab when I start gvim using that command. I use gnome as > my desktop environment. >
Ok, so the next step is to determine whether it's your .vimrc or a plugin which is interfering. Try with gvim --noplugin to disable plugins. If it still works, it's probably one of your plugins; if it breaks again, it's probably your .vimrc. Since the issue occurs when you switch back and forth between Vim and another application, I assume the problem lies in a FocusGained or FocusLost autocmd event. See all the autocmds defined for these events (and where they were defined) with: :verbose au FocusLost :verbose au FocusGained -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
