Advertisement
Guest User

Untitled

a guest
May 26th, 2019
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. inoremap <expr> ) strpart(getline('.'), col('.')-1, 1) == ")" ? "\<Right>" : ")"
  2. inoremap <expr> ] strpart(getline('.'), col('.')-1, 1) == "]" ? "\<Right>" : "]"
  3. inoremap <expr> } strpart(getline('.'), col('.')-1, 1) == "}" ? "\<Right>" : "}"
  4. inoremap " ""<left>
  5. inoremap ' ''<left>
  6. inoremap ( ()<left>
  7. inoremap [ []<left>
  8. inoremap { {}<left>
  9. inoremap {<CR> {<CR>}<ESC>O<TAB>
  10. inoremap {;<CR> {<CR>};<ESC>O<TAB>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement