commit ca8e5bc6e207e165f74549c5f120636cc9dddc32
parent 741a76c092aabc552d78374af74f1f575a904916
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Thu, 12 Mar 2020 18:25:57 +0100
vim: plugin settings
Former-commit-id: af2276485d82a81ea5785d9b27b694be215ece73
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/vim/vimrc b/vim/vimrc
@@ -324,6 +324,8 @@ xmap ga <Plug>(LiveEasyAlign)
" Start interactive EasyAlign for a motion/text object (e.g. gaip)
nmap ga <Plug>(LiveEasyAlign)
+
+nnoremap <leader>ga :normal! ga<CR>
" }}}
" Peekaboo {{{
let g:peekaboo_compact=1
@@ -364,7 +366,7 @@ let g:sandwich#recipes += [
\ {'buns': ['( ', ' )'], 'nesting': 1, 'match_syntax': 1, 'kind': ['add', 'replace'], 'action': ['add'], 'input': [')']},
\ {'buns': ['{\s*', '\s*}'], 'nesting': 1, 'regex': 1, 'match_syntax': 1, 'kind': ['delete', 'replace', 'textobj'], 'action': ['delete'], 'input': ['}', 'B']},
\ {'buns': ['\[\s*', '\s*\]'], 'nesting': 1, 'regex': 1, 'match_syntax': 1, 'kind': ['delete', 'replace', 'textobj'], 'action': ['delete'], 'input': [']']},
- \ {'buns': ['(\s*', '\s*)'], 'nesting': 1, 'regex': 1, 'match_syntax': 1, 'kind': ['delete', 'replace', 'textobj'], 'action': ['delete'], 'input': [')', 'b']},
+ \ {'buns': ['(\s*', '\s*)'], 'nesting': 1, 'regex': 1, 'match_syntax': 1, 'kind': ['delete', 'replace', 'textobj'], 'action': ['delete'], 'input': [')', 'b']}
\ ]
" }}}
" Ada {{{