init: Move guicursor fix to init-local example
[vimconf.git] / init-local.vim.example
index 666669fc472bf66356ac33653d272e4da759b994..155438e614d022917d7260d685fc114ad74b962d 100644 (file)
@@ -15,3 +15,13 @@ let g:ConqueTerm_StartMessages = 0
 "let g:ycm_key_list_select_completion = ['<Down>']
 "nnoremap <buffer> <leader>jd :YcmCompleter GoToDefinitionElseDeclaration<CR>
 "let g:ycm_filetype_whitelist = { 'c' : 1, 'cpp' : 1, 'cs' : 1, 'objc' : 1, 'java' : 1, 'python' : 1 }
+
+" Some terminals, like konsole, cause weired symbols (e.g., q) printed due to
+" broken cursor-shape termcodes.
+if has('nvim')
+    set guicursor=
+    " Workaround some broken plugins which set guicursor indiscriminately.
+    au OptionSet guicursor noautocmd set guicursor=
+end
+
+" vim:ft=vim