init: Move guicursor fix to init-local example
authorStefan Huber <shuber@sthu.org>
Tue, 1 Dec 2020 08:52:09 +0000 (09:52 +0100)
committerStefan Huber <shuber@sthu.org>
Tue, 1 Dec 2020 08:52:09 +0000 (09:52 +0100)
init-local.vim.example
init.vim

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
index 08935f1364cd14ec878892cce241e9d45de6b6a5..2da7cac0d3816f326a38b0c46d76b4f46fe177ef 100644 (file)
--- a/init.vim
+++ b/init.vim
@@ -38,13 +38,6 @@ set wildmode=longest,list:full
 
 set tabpagemax=100
 
-" Some terminals cause weired symbols 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
-
 syntax on
 
 " Load some macros