diff options
author | typebrook <typebrook@gmail.com> | 2019-06-16 21:38:55 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2019-06-16 21:38:55 +0800 |
commit | 8d3c1cdf7eb39926ee31676b1b6ab7346aa52ae1 (patch) | |
tree | 34ec66076dc712de90ffda7bb3d07c93be08e72a | |
parent | 76f2c6d95c4f74b2a5649ec237d5f9d4ff36b4af (diff) |
update
-rw-r--r-- | vimrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -31,7 +31,11 @@ nnoremap <silent> <leader>s | |||
31 | \ endif<CR> | 31 | \ endif<CR> |
32 | nnoremap <leader>S :echo join(reverse(map(synstack(line('.'), col('.')), 'synIDattr(v:val,"name")')),' ')<CR> | 32 | nnoremap <leader>S :echo join(reverse(map(synstack(line('.'), col('.')), 'synIDattr(v:val,"name")')),' ')<CR> |
33 | 33 | ||
34 | " Operator pending | ||
34 | onoremap p i( | 35 | onoremap p i( |
36 | onoremap ap a( | ||
37 | onoremap np :<c-u>normal! f(vi(<cr> | ||
38 | onoremap b /return<CR> | ||
35 | 39 | ||
36 | " new | 40 | " new |
37 | nnoremap H 0 | 41 | nnoremap H 0 |