Some minor fixes in the vimrc file

This commit is contained in:
Talia 2017-10-05 19:00:48 +02:00
parent 39a0932b95
commit f875ca63b4

6
vimrc
View file

@ -106,7 +106,7 @@ endif
" "
" The matchit plugin makes the % command work better, but it is not backwards " The matchit plugin makes the % command work better, but it is not backwards
" compatible. " compatible.
"packadd matchit "packadd
" CUSTOM STUFF " CUSTOM STUFF
@ -122,11 +122,11 @@ set t_Co=256
" Remapping some things " Remapping some things
vmap <C-f> :fold<CR> vmap <C-f> :fold<CR>
" nmap <C-b> :bprevious<CR> " nmap <C-b> :bprevious<CR>
nnoremap <space> : noremap <space> :
nnoremap <C-s> :w<enter> nnoremap <C-s> :w<enter>
nnoremap <C-x> :bdelete<enter> nnoremap <C-x> :bdelete<enter>
nnoremap <C-n> :bnext<enter> nnoremap <C-n> :bnext<enter>
nnoremap <C-n> :bprevious<enter> nnoremap <C-p> :bprevious<enter>
" Retab mappings " Retab mappings
nnoremap <S-tab> :retab!<enter> nnoremap <S-tab> :retab!<enter>
nnoremap <S-tab><S-tab> :setl expandtab!<enter> :set expandtab?<enter> nnoremap <S-tab><S-tab> :setl expandtab!<enter> :set expandtab?<enter>