[VIM] Change keybindings, remove weird chars, add vim-devicons and goyo
This commit is contained in:
parent
72de71850a
commit
c46d64cb70
@ -45,6 +45,8 @@ nmap <silent> <C-P> <Plug>yankstack_substitute_older_paste
|
|||||||
inoremap <C-space> <C-N>
|
inoremap <C-space> <C-N>
|
||||||
imap <C-@> <C-Space>
|
imap <C-@> <C-Space>
|
||||||
|
|
||||||
|
cmap w!! w !sudo tee > /dev/null %
|
||||||
|
|
||||||
" Toggle Case
|
" Toggle Case
|
||||||
nmap <C-c> g~iw
|
nmap <C-c> g~iw
|
||||||
|
|
||||||
|
@ -41,8 +41,6 @@ let g:NERDTrimTrailingWhitespace = 1
|
|||||||
|
|
||||||
" NerdTree
|
" NerdTree
|
||||||
let NERDTreeMinimalUI = 1
|
let NERDTreeMinimalUI = 1
|
||||||
let g:NERDTreeDirArrowExpandable = '🗀'
|
|
||||||
let g:NERDTreeDirArrowCollapsible = '🗁'
|
|
||||||
let g:NERDTreeHighlightFolders = 1
|
let g:NERDTreeHighlightFolders = 1
|
||||||
let g:NERDTreeHighlightFoldersFullName = 1
|
let g:NERDTreeHighlightFoldersFullName = 1
|
||||||
|
|
||||||
@ -126,8 +124,8 @@ inoremap <expr> <cr> pumvisible() ? "\<C-y>" : "\<C-g>u\<CR>"
|
|||||||
" inoremap <expr> <cr> complete_info()["selected"] != "-1" ? "\<C-y>" : "\<C-g>u\<CR>"
|
" inoremap <expr> <cr> complete_info()["selected"] != "-1" ? "\<C-y>" : "\<C-g>u\<CR>"
|
||||||
|
|
||||||
" Use `[g` and `]g` to navigate diagnostics
|
" Use `[g` and `]g` to navigate diagnostics
|
||||||
nmap <silent> [g <Plug>(coc-diagnostic-prev)
|
nmap <silent> gp <Plug>(coc-diagnostic-prev)
|
||||||
nmap <silent> ]g <Plug>(coc-diagnostic-next)
|
nmap <silent> gn <Plug>(coc-diagnostic-next)
|
||||||
|
|
||||||
" Remap keys for gotos
|
" Remap keys for gotos
|
||||||
nmap <silent> gd <Plug>(coc-definition)
|
nmap <silent> gd <Plug>(coc-definition)
|
||||||
|
@ -14,8 +14,6 @@ Plug 'vim-airline/vim-airline'
|
|||||||
Plug 'vim-airline/vim-airline-themes'
|
Plug 'vim-airline/vim-airline-themes'
|
||||||
" Highlight and fix trailing whitespace
|
" Highlight and fix trailing whitespace
|
||||||
Plug 'ntpeters/vim-better-whitespace'
|
Plug 'ntpeters/vim-better-whitespace'
|
||||||
" Additional motion with visual highlighting
|
|
||||||
Plug 'easymotion/vim-easymotion'
|
|
||||||
" Yank History Cycling on meta-[shift]-p
|
" Yank History Cycling on meta-[shift]-p
|
||||||
Plug 'maxbrunsfeld/vim-yankstack'
|
Plug 'maxbrunsfeld/vim-yankstack'
|
||||||
" Auto indent
|
" Auto indent
|
||||||
@ -41,6 +39,9 @@ Plug 'jiangmiao/auto-pairs'
|
|||||||
Plug 'scrooloose/nerdtree'
|
Plug 'scrooloose/nerdtree'
|
||||||
Plug 'jistr/vim-nerdtree-tabs'
|
Plug 'jistr/vim-nerdtree-tabs'
|
||||||
Plug 'Xuyuanp/nerdtree-git-plugin'
|
Plug 'Xuyuanp/nerdtree-git-plugin'
|
||||||
|
Plug 'ryanoasis/vim-devicons'
|
||||||
|
|
||||||
|
Plug 'junegunn/goyo.vim'
|
||||||
|
|
||||||
" Snippets
|
" Snippets
|
||||||
" Plug 'SirVer/ultisnips'
|
" Plug 'SirVer/ultisnips'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user