aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-01-04 14:56:39 +1300
committerTom Ryder <tom@sanctum.geek.nz>2019-01-04 14:56:39 +1300
commitf64dd87e23709a5fc622dcd6e40812ce03c831ae (patch)
treed26be14e9a91268ede9d1975ae710c2b47b4ad4b /vim/vimrc
parentMerge branch 'hotfix/v4.6.1' (diff)
parentBump VERSION (diff)
downloaddotfiles-f64dd87e23709a5fc622dcd6e40812ce03c831ae.tar.gz
dotfiles-f64dd87e23709a5fc622dcd6e40812ce03c831ae.zip
Merge branch 'release/v4.7.0'v4.7.0
* release/v4.7.0: Bump VERSION Add experimental delimit_operator.vim plugin
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 724a32e7..bf30df7d 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -421,5 +421,13 @@ nnoremap <Leader>: ^"zyg_:<C-R>z<CR>
" \! executes line with 'shell'
nnoremap <Leader>! ^"zyg_:!<C-R>z<CR>
+" Testing out delimit_operator.vim, in development
+" Use q for a prefix key, followed by the wrapping quote
+for s:char in ["'", '"', '`', '[', '<', '(', '{', '*']
+ execute 'nmap q'.s:char.' <Plug>(DelimitOperator)'.s:char
+ execute 'xmap q'.s:char.' <Plug>(DelimitOperator)'.s:char
+endfor
+unlet s:char
+
" Source any .vim files from ~/.vim/config
runtime! config/*.vim