aboutsummaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2023-09-06 23:28:10 +0800
committerGuangxiong Lin <[email protected]>2023-09-06 23:28:10 +0800
commit7f953885f8c56e9dc4cb8a3701f89f200ff8dfb4 (patch)
tree3bfd98f7944563a70dc42bc52df6cf2916658440 /.vimrc
parent224311af0e2f9239984537a6a06b66240f2b2621 (diff)
downloaddotfiles-7f953885f8c56e9dc4cb8a3701f89f200ff8dfb4.tar.gz
dotfiles-7f953885f8c56e9dc4cb8a3701f89f200ff8dfb4.tar.bz2
dotfiles-7f953885f8c56e9dc4cb8a3701f89f200ff8dfb4.zip
Avoid scanning tags when completing
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/.vimrc b/.vimrc
index ed60ad7..ef35e03 100644
--- a/.vimrc
+++ b/.vimrc
@@ -59,6 +59,7 @@ if !has('nvim')
set completeopt+=popup
set completepopup=align:menu,border:off,highlight:WildMenu
endif
+set complete=.,w,b,u,i " Don't use tags as there may be lots of tags
set shortmess+=c
set belloff+=ctrlg
@@ -141,7 +142,7 @@ nnoremap <leader>cd :cd %:p:h<CR> :pwd<CR>
nnoremap <c-g><c-g> <Esc>
cnoremap <C-G> <C-C>
-highlight Pmenu ctermbg=grey
+" highlight Pmenu ctermbg=grey
packadd! onedark.vim
silent colorscheme onedark