Update init.vim
This commit is contained in:
parent
4361d75455
commit
c2f7659849
12
init.vim
12
init.vim
@ -29,7 +29,6 @@ Plug 'junegunn/fzf.vim'
|
||||
Plug 'honza/vim-snippets'
|
||||
Plug 'vim-airline/vim-airline'
|
||||
Plug 'vim-airline/vim-airline-themes'
|
||||
Plug 'cocopon/iceberg.vim'
|
||||
Plug 'kevinhwang91/nvim-bqf'
|
||||
Plug 'morhetz/gruvbox'
|
||||
Plug 'tpope/vim-fugitive'
|
||||
@ -37,18 +36,17 @@ Plug 'ynkdir/vim-diff'
|
||||
call plug#end()
|
||||
|
||||
"Color scheme
|
||||
colorscheme iceberg
|
||||
"colorscheme gruvbox
|
||||
"let g:gruvbox_contrast_light = 'hard'
|
||||
"colorscheme iceberg
|
||||
"set background=light
|
||||
colorscheme gruvbox
|
||||
let g:gruvbox_contrast_light = 'hard'
|
||||
|
||||
set background=light
|
||||
|
||||
|
||||
"Open NERDTree
|
||||
:nnoremap <silent> <expr> <F2> g:NERDTree.IsOpen() ? "\:NERDTreeClose<CR>" : bufexists(expand('%')) ? "\:NERDTreeFind<CR>" : "\:NERDTree<CR>"
|
||||
|
||||
"Coc.nvim
|
||||
inoremap <silent><expr> <cr> pumvisible() ? coc#_select_confirm() : "\<C-g>u\<cr>"
|
||||
inoremap <silent><expr> <TAB>
|
||||
\ coc#pum#visible() ? coc#_select_confirm() :
|
||||
\ coc#expandableOrJumpable() ? "\<C-r>=coc#rpc#request('doKeymap', ['snippets-expand-jump',''])\<CR>" :
|
||||
@ -61,8 +59,6 @@ function! CheckBackSpace() abort
|
||||
endfunction
|
||||
|
||||
let g:coc_snippet_next = '<tab>'
|
||||
let g:coc_snippet_next = '<tab>'
|
||||
nnoremap <leader>e :CocCommand snippets.editSnippets<CR>
|
||||
|
||||
" Comments
|
||||
let mapleader = ","
|
||||
|
Loading…
Reference in New Issue
Block a user