Skip to content

Commit

Permalink
revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
David Chen committed Jul 9, 2020
1 parent 3af00f1 commit eb01829
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,8 @@ noremap <silent> gu gk
noremap <silent> ge gj
" U/E keys for 5 times u/e (faster navigation)
" noremap <silent> U 5k
" noremap <silent> E 5j
noremap <silent> U <nop>
noremap <silent> E <nop>
noremap <silent> U 5k
noremap <silent> E 5j
" N key: go to the start of the line
noremap <silent> N 0
Expand Down Expand Up @@ -398,6 +396,7 @@ call plug#begin('~/.config/nvim/plugged')
" Pretty Dress
Plug 'bling/vim-bufferline'
Plug 'theniceboy/vim-deus'

"Plug 'arzg/vim-colors-xcode'

" Status line
Expand Down Expand Up @@ -548,7 +547,9 @@ Plug 'lambdalisue/suda.vim' " do stuff like :sudowrite
" Plug 'kana/vim-textobj-user'
" Plug 'roxma/nvim-yarp'


call plug#end()
set re=0

" experimental
set lazyredraw
Expand Down Expand Up @@ -701,20 +702,13 @@ nnoremap <leader>tu :CocCommand todolist.download<CR>:CocCommand todolist.upload
" coc-tasks
noremap <silent> <leader>ts :CocList tasks<CR>
" coc-snippets
" Use <C-l> for trigger snippet expand.
imap <C-l> <Plug>(coc-snippets-expand)
" Use <C-j> for select text for visual placeholder of snippet.
vmap <C-e> <Plug>(coc-snippets-select)
" Use <C-j> for jump to next placeholder, it's default of coc.nvim
let g:coc_snippet_next = '<c-e>'

" Use <C-k> for jump to previous placeholder, it's default of coc.nvim
let g:coc_snippet_prev = '<c-n>'

" Use <C-j> for both expand and jump (make expand higher priority.)
imap <C-e> <Plug>(coc-snippets-expand-jump)
let g:snips_author = 'David'

nmap <silent> <LEADER>- <Plug>(coc-diagnostic-prev)
nmap <silent> <LEADER>= <Plug>(coc-diagnostic-next)
Expand Down

0 comments on commit eb01829

Please sign in to comment.