Skip to content

Instantly share code, notes, and snippets.

@RodrigoCMoraes
Forked from wdsrocha/.vimrc
Last active September 1, 2021 18:55
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save RodrigoCMoraes/89854d6561fd4b96f2937ed977b13dab to your computer and use it in GitHub Desktop.
Save RodrigoCMoraes/89854d6561fd4b96f2937ed977b13dab to your computer and use it in GitHub Desktop.
Minimal .vimrc
" remap escape key to jk
imap jk <Esc>
" when possible cursor is in center of screen
nnoremap j jzz
nnoremap k kzz
nnoremap `` ``zz
" general settings
set rnu et ts=4 sw=4 sts=4 ai cindent nowrap noswapfile cursorline splitbelow splitright
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment