diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-08-10 01:33:49 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-08-10 01:33:49 +1200 |
commit | ba8ceb1d7ef14d82292636e018881a019ce5f474 (patch) | |
tree | 83f5841213950b0ca784c9d9c5f010f8b6e8a249 | |
parent | Merge branch 'release/v1.51.0' (diff) | |
parent | Bump VERSION (diff) | |
download | dotfiles-ba8ceb1d7ef14d82292636e018881a019ce5f474.tar.gz dotfiles-ba8ceb1d7ef14d82292636e018881a019ce5f474.zip |
Merge branch 'release/v1.52.0'v1.52.0
* release/v1.52.0:
Bump VERSION
Update vertical_region.vim with hotfix
Spin out vertical_region.vim into submodule
Use autoloading for vertical_region.vim
Add vertical_region.vim plugin
-rw-r--r-- | .gitmodules | 3 | ||||
-rw-r--r-- | VERSION | 4 | ||||
m--------- | vim/bundle/vertical_region | 0 | ||||
-rw-r--r-- | vim/vimrc | 10 |
4 files changed, 15 insertions, 2 deletions
diff --git a/.gitmodules b/.gitmodules index 38a03a11..9f9f3f62 100644 --- a/.gitmodules +++ b/.gitmodules @@ -50,6 +50,9 @@ [submodule "vim/bundle/uncap_ex"] path = vim/bundle/uncap_ex url = https://sanctum.geek.nz/code/vim-uncap-ex.git +[submodule "vim/bundle/vertical_region"] + path = vim/bundle/vertical_region + url = https://sanctum.geek.nz/code/vim-vertical-region.git [submodule "vim/bundle/vimrc_reload_filetype"] path = vim/bundle/vimrc_reload_filetype url = https://sanctum.geek.nz/code/vim-vimrc-reload-filetype.git @@ -1,2 +1,2 @@ -tejr dotfiles v1.51.0 -Wed Aug 8 12:58:23 UTC 2018 +tejr dotfiles v1.52.0 +Thu Aug 9 13:33:49 UTC 2018 diff --git a/vim/bundle/vertical_region b/vim/bundle/vertical_region new file mode 160000 +Subproject f7989e2bdd4ed6630cc7318296a6a25f594f1f7 @@ -318,6 +318,16 @@ nnoremap <Bslash>. :<C-U>lmake!<CR> nnoremap <Bslash><lt> :<C-U>'[,']<lt><CR> nnoremap <Bslash>> :<C-U>'[,']><CR> +" \{ and \} move to lines with non-space chars before current column +nmap <Bslash>{ <Plug>(VerticalRegionUpNormal) +nmap <Bslash>} <Plug>(VerticalRegionDownNormal) +omap <Bslash>{ <Plug>(VerticalRegionUpOperator) +omap <Bslash>} <Plug>(VerticalRegionDownOperator) +if exists(':xmap') + xmap <Bslash>{ <Plug>(VerticalRegionUpVisual) + xmap <Bslash>} <Plug>(VerticalRegionDownVisual) +endif + " \/ types :vimgrep for me ready to enter a search pattern nnoremap <Bslash>/ :<C-U>vimgrep /\c/ **<S-Left><S-Left><Right> " \? types :helpgrep for me ready to enter a search pattern |