Skip to content

Instantly share code, notes, and snippets.

@userddssilva
Forked from RodrigoCMoraes/.vimrc
Created September 1, 2021 18:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save userddssilva/2246dd128be6273c1ae06ed7d50c7039 to your computer and use it in GitHub Desktop.
Save userddssilva/2246dd128be6273c1ae06ed7d50c7039 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