diff --git a/README.md b/README.md index 440a7fb..c247abf 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ If you want to be able to push changes back to the repository, setup a new git d ```bash cd ~/.config/nvim git init -git remote add origin git remote add origin git@dennispotter.eu:Dennis/neovim-config.git +git remote add origin git@dennispotter.eu:Dennis/neovim-config.git git pull origin master ``` Again, to make sure the environment stays up to date, set diff --git a/init.vim b/init.vim index 22cb857..f0fbf0c 100644 --- a/init.vim +++ b/init.vim @@ -11,12 +11,6 @@ let python_highlight_all = 1 set hidden -" Write this in your vimrc file -let g:ale_lint_on_text_changed = 'never' -" " You can disable this option too -" " if you don't want linters to run on opening a file -let g:ale_lint_on_enter = 0 - " put leader to space map map @@ -50,6 +44,14 @@ nnoremap gf :YcmCompleter GoToDefinition nnoremap gg :YcmCompleter GoToDefinitionElseDeclaration nnoremap gd :YcmCompleter GetDoc +" Fix colors of YCM +highlight YcmWarningLine guibg=Cyan ctermbg=Cyan +highlight YcmWarningSign guibg=Cyan ctermbg=Cyan +highlight YcmWarningSection guibg=Cyan ctermbg=Cyan +highlight YcmErrorSection guibg=Red ctermbg=Red +highlight YcmErrorLine guibg=Red ctermbg=Red +highlight YcmErrorSign guibg=Red ctermbg=Red + " make YCM compatible with UltiSnips (using supertab) let g:ycm_key_list_select_completion = ['', ''] let g:ycm_key_list_previous_completion = ['', ''] @@ -68,7 +70,7 @@ function! ToggleHiddenAll() TagbarToggle endfunction -nnoremap h :call ToggleHiddenAll() +nnoremap ; :call ToggleHiddenAll() call plug#begin() Plug 'SirVer/ultisnips' @@ -96,5 +98,3 @@ Plug 'bfredl/nvim-ipy' Plug 'sakhnik/nvim-gdb' call plug#end() - -