diff options
author | Julian T <julian@jtle.dk> | 2020-10-01 16:10:18 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2020-10-01 16:10:18 +0200 |
commit | 8006b3068f1df05a6671377658085a5471e1f708 (patch) | |
tree | 8056c921964013c40750f8d47f10b71099faa0c7 | |
parent | 89f768fb2e70de4c46272b1e9fb6eb56f1bda857 (diff) |
Minor vim changed
-rw-r--r-- | vim/.vimrc | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -13,7 +13,6 @@ set shellslash Plugin 'VundleVim/Vundle.vim' " Completion - Plugin 'prabirshrestha/async.vim' Plugin 'prabirshrestha/vim-lsp' Plugin 'ajh17/VimCompletesMe' Plugin 'Shougo/echodoc.vim' @@ -118,6 +117,7 @@ set shellslash set signcolumn=yes nmap <buffer> gd <plug>(lsp-definition) nmap <buffer> <f2> <plug>(lsp-rename) + nmap <buffer> zF <plug>(lsp-code-action) " refer to doc to add more commands endfunction @@ -136,7 +136,6 @@ set shellslash set splitbelow splitright set tabstop=4 - set softtabstop=4 set shiftwidth=4 set expandtab set colorcolumn=80 @@ -144,6 +143,7 @@ set shellslash " Show 5 lines above and below cursor set scrolloff=3 set list + set listchars=tab:>\ ,trail:-,nbsp:+ " Configure statusline set laststatus=1 @@ -226,3 +226,4 @@ set shellslash " Spell check set spelllang=en autocmd FileType tex,markdown,rst set spell + |