From dced076e6af1b15461ebb16e65c45f131aff5a4b Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Tue, 1 Dec 2020 09:52:09 +0100 Subject: [PATCH] init: Move guicursor fix to init-local example --- init-local.vim.example | 10 ++++++++++ init.vim | 7 ------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/init-local.vim.example b/init-local.vim.example index 666669f..155438e 100644 --- a/init-local.vim.example +++ b/init-local.vim.example @@ -15,3 +15,13 @@ let g:ConqueTerm_StartMessages = 0 "let g:ycm_key_list_select_completion = [''] "nnoremap jd :YcmCompleter GoToDefinitionElseDeclaration "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 diff --git a/init.vim b/init.vim index 08935f1..2da7cac 100644 --- 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 -- 2.39.5