Skip to content

Instantly share code, notes, and snippets.

@ifelsee
Created April 20, 2021 16:33
Show Gist options
  • Select an option

  • Save ifelsee/e96b6c5e1691d808ed3bb9d2c2e79af3 to your computer and use it in GitHub Desktop.

Select an option

Save ifelsee/e96b6c5e1691d808ed3bb9d2c2e79af3 to your computer and use it in GitHub Desktop.
ifelsee .vimrc file
syntax on
:set number
nnoremap <S-Up> :m-2<CR>
nnoremap <S-Down> :m+<CR>
inoremap <S-Up> <Esc>:m-2<CR>
inoremap <S-Down> <Esc>:m+<CR>
set foldmethod=indent
set foldlevel=1
set foldclose=all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment