dotfiles/.vimrc

19 lines
405 B
VimL
Raw Normal View History

2024-12-13 14:20:08 +01:00
set relativenumber
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>
autocmd BufNewFile *.html 0r ~/.vimTemplates/skel.html