dotfiles/.vimrc
Ask

17 lines
266 B
VimL

{fd9ea6ae6cd04d147046a117a8f91a4c0258be0f true 266 .vimrc 0xc001e14f50}

set relativenumber
set ruler
set laststatus=2
filetype plugin indent on
if has("syntax")
syntax on
endif
map <C-n> :set invnumber<CR>
nnoremap <leader>f gg=G
nnoremap J :m .+1<CR>==
vnoremap J :m '>+1<CR>gv=gv
nnoremap K :m .-2<CR>==
vnoremap K :m '<-2<CR>gv=gv