Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
pedro-hs

Pedro Santos Arruda pedro-hs

:octocat:
pedro-hs
View GitHub Profile
@pedro-hs
pedro-hs / auto_close_pair.vim
Last active Jun 6, 2021
auto close pair brackets in vim/neovim
View auto_close_pair.vim
" Auto close
inoremap { {}<left>
inoremap ( ()<left>
inoremap [ []<left>
inoremap " ""<left>
inoremap ' ''<left>
inoremap ` ``<left>
inoremap < <><left>
" Auto close with enter