diff options
Diffstat (limited to 'user/nvim/init.vim')
-rw-r--r-- | user/nvim/init.vim | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/user/nvim/init.vim b/user/nvim/init.vim deleted file mode 100644 index 0b2438d5..00000000 --- a/user/nvim/init.vim +++ /dev/null @@ -1,25 +0,0 @@ -set autoindent - -set background=light -set shiftwidth=2 -set tabstop=2 -set noexpandtab -set relativenumber -set smartcase - -" use <tab> for trigger completion and navigate to the next complete item -function! s:check_back_space() abort - let col = col('.') - 1 - return !col || getline('.')[col - 1] =~ '\s' -endfunction - -inoremap <silent><expr> <Tab> - \ pumvisible() ? "\<C-n>" : - \ <SID>check_back_space() ? "\<Tab>" : - \ coc#refresh() - -inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>" -inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>" - -" use <c-space> to trigger completion -inoremap <silent><expr> <c-space> coc#refresh() |