an Entity in Data Space: dbkwik.org
augroup NO_CURSOR_MOVE_ON_FOCUS au! au FocusLost * let g:oldmouse=&mouse | set mouse= au FocusGained * if exists('g:oldmouse') | let &mouse=g:oldmouse | unlet g:oldmouse | endif augroup END Alternatively, if you are on a system which allows this, simply clicking on the GUI window chrome instead of the buffer text should give Vim focus without changing the cursor position.
| Graph IRI | Count |
|---|---|
| http://dbkwik.webdatacommons.org | 11 |