diff --git a/.vimrc b/.vimrc index 5d36646..b92aa48 100644 --- a/.vimrc +++ b/.vimrc @@ -45,6 +45,8 @@ noremap :call comfortable_motion#flick(-20) " Aliases command Header FIGlet -f Gothic +cmap W w !sudo tee > /dev/null % +nnoremap :NERDTreeToggle " Colorscheme set background=dark @@ -74,10 +76,17 @@ set wrap set mouse=a set softtabstop=4 noexpandtab -set laststatus=2 -set noshowmode +set whichwrap+=<,>,h,l + +" let &t_SI = "\[6 q" +" let &t_SR = "\[4 q" +let &t_EI = "\[2 q" + set clipboard=unnamedplus +nnoremap d "_d +vnoremap d "_d + set hlsearch set encoding=utf-8