dotfiles/.vimrc
2024-12-13 14:20:08 +01:00

18 lines
405 B
VimL

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