dotfiles/.vimrc

17 lines
340 B
VimL

set number
set tabstop=4
syntax on
noremap <Up> <Nop>
noremap <Down> <Nop>
noremap <Left> <Nop>
noremap <Right> <Nop>
noremap <silent><S-j> :tabprevious<cr>
noremap <silent><S-k> :tabnext<cr>
noremap <silent><S-n> :tabnew<cr>
noremap <silent><S-w> :tabclose<cr>
vmap <C-y> :!xclip -f -sel clip<CR>
map <C-p> :-1r !xclip -o -sel clip<CR>