Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- inoremap <expr> ) strpart(getline('.'), col('.')-1, 1) == ")" ? "\<Right>" : ")"
- inoremap <expr> ] strpart(getline('.'), col('.')-1, 1) == "]" ? "\<Right>" : "]"
- inoremap <expr> } strpart(getline('.'), col('.')-1, 1) == "}" ? "\<Right>" : "}"
- inoremap " ""<left>
- inoremap ' ''<left>
- inoremap ( ()<left>
- inoremap [ []<left>
- inoremap { {}<left>
- inoremap {<CR> {<CR>}<ESC>O<TAB>
- inoremap {;<CR> {<CR>};<ESC>O<TAB>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement