summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2020-10-01 16:10:18 +0200
committerJulian T <julian@jtle.dk>2020-10-01 16:10:18 +0200
commit8006b3068f1df05a6671377658085a5471e1f708 (patch)
tree8056c921964013c40750f8d47f10b71099faa0c7 /vim
parent89f768fb2e70de4c46272b1e9fb6eb56f1bda857 (diff)
Minor vim changed
Diffstat (limited to 'vim')
-rw-r--r--vim/.vimrc5
1 files changed, 3 insertions, 2 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index a581bce..2104a5b 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -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
+