diff --git a/plugins.vim b/plugins.vim index 3653cc0..ebdf9f8 100644 --- a/plugins.vim +++ b/plugins.vim @@ -66,7 +66,7 @@ function! s:on_lsp_buffer_enabled() abort nmap gr (lsp-references) nmap gi (lsp-implementation) nmap gt (lsp-type-definition) - nmap gj (lsp-document-diagnostics) + nmap gx (lsp-document-diagnostics) nmap rn (lsp-rename) nmap [g (lsp-previous-diagnostic) nmap ]g (lsp-next-diagnostic) diff --git a/vimrc b/vimrc index fda6c8a..d10089e 100644 --- a/vimrc +++ b/vimrc @@ -39,6 +39,7 @@ augroup vimrcEx " For all text files set 'textwidth' to 78 characters. "autocmd FileType text setlocal textwidth=78 autocmd FileType dotoo,org,tex,text setlocal textwidth=80 + autocmd FileType dotoo,org,tex,text setlocal linebreak autocmd FileType dotoo,org,tex,text setlocal spell spelllang=en_gb @@ -91,7 +92,7 @@ hi EndOfBuffer guibg=NONE ctermbg=NONE set cursorline hi clear CursorLine hi CursorLine ctermbg=8 guibg=#404040 -hi Cursor ctermbg=15 +hi Cursor ctermbg=15 " set spellcheck "set spell " Remap Lex