[VIM] Change keybindings, remove weird chars, add vim-devicons and goyo

This commit is contained in:
Tobias Manske 2021-04-05 01:48:48 +02:00
parent 72de71850a
commit c46d64cb70
Signed by: tobias
GPG Key ID: D5914DC71F2F9352
3 changed files with 7 additions and 6 deletions

View File

@ -45,6 +45,8 @@ nmap <silent> <C-P> <Plug>yankstack_substitute_older_paste
inoremap <C-space> <C-N>
imap <C-@> <C-Space>
cmap w!! w !sudo tee > /dev/null %
" Toggle Case
nmap <C-c> g~iw

View File

@ -41,8 +41,6 @@ let g:NERDTrimTrailingWhitespace = 1
" NerdTree
let NERDTreeMinimalUI = 1
let g:NERDTreeDirArrowExpandable = '🗀'
let g:NERDTreeDirArrowCollapsible = '🗁'
let g:NERDTreeHighlightFolders = 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>"
" Use `[g` and `]g` to navigate diagnostics
nmap <silent> [g <Plug>(coc-diagnostic-prev)
nmap <silent> ]g <Plug>(coc-diagnostic-next)
nmap <silent> gp <Plug>(coc-diagnostic-prev)
nmap <silent> gn <Plug>(coc-diagnostic-next)
" Remap keys for gotos
nmap <silent> gd <Plug>(coc-definition)

View File

@ -14,8 +14,6 @@ Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
" Highlight and fix trailing whitespace
Plug 'ntpeters/vim-better-whitespace'
" Additional motion with visual highlighting
Plug 'easymotion/vim-easymotion'
" Yank History Cycling on meta-[shift]-p
Plug 'maxbrunsfeld/vim-yankstack'
" Auto indent
@ -41,6 +39,9 @@ Plug 'jiangmiao/auto-pairs'
Plug 'scrooloose/nerdtree'
Plug 'jistr/vim-nerdtree-tabs'
Plug 'Xuyuanp/nerdtree-git-plugin'
Plug 'ryanoasis/vim-devicons'
Plug 'junegunn/goyo.vim'
" Snippets
" Plug 'SirVer/ultisnips'