diff options
author | typebrook <typebrook@gmail.com> | 2019-10-18 11:34:36 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2019-10-18 11:34:36 +0800 |
commit | ce85a716d697bcf8e82452bdb050d7e9fe37692d (patch) | |
tree | 0c227363aa70d27dcd685e57fa94b410d44f7121 | |
parent | f5bf62f8239de8f56988ed8a46da281b7f9febcf (diff) |
update
-rw-r--r-- | vimrc | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -31,8 +31,13 @@ nnoremap <leader>S :echo join(reverse(map(synstack(line('.'), col('.')), 'synIDa | |||
31 | " Operator pending | 31 | " Operator pending |
32 | onoremap p i( | 32 | onoremap p i( |
33 | onoremap ap a( | 33 | onoremap ap a( |
34 | onoremap np :<c-u>normal! f(vi(<cr> | 34 | " next parenthesis |
35 | onoremap b /return<CR> | 35 | onoremap fp :<c-u>normal! f(vi(<cr> |
36 | onoremap b i{ | ||
37 | onoremap fb :<c-u>normal! f{vi{<cr> | ||
38 | onoremap ab a{ | ||
39 | " block | ||
40 | onoremap B /return<CR> | ||
36 | 41 | ||
37 | " S&R | 42 | " S&R |
38 | nnoremap <leader>; :%s:::g<Left><Left><Left> | 43 | nnoremap <leader>; :%s:::g<Left><Left><Left> |