Skip to content

Instantly share code, notes, and snippets.

View pedro-hs's full-sized 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 June 6, 2021 03:51
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