Merge branch 'master' of github.com:cyplo/dotfiles

This commit is contained in:
Cyryl Płotnicki-Chudyk 2015-09-28 20:59:50 +02:00
commit a481afcf8b

8
.vimrc
View file

@ -3,6 +3,10 @@ set nocompatible
set noswapfile
set undofile
set undodir=$HOME/.vim/undo
" buffers can be switched despite having changes
set hidden
" file settings
set encoding=utf-8
@ -10,6 +14,10 @@ set encoding=utf-8
let mapleader = ","
nmap <leader>p :set paste!<CR>
nmap <leader>h :set hlsearch!<CR>
" navigate buffers by ctrl-b
nmap <C-b> :bprevious<CR>
nnoremap ; :
" no cheating !