Skip to content

Commit 3312774

Browse files
committed
Try g mappings for :Dispatch
While I'm loathe to enter the loaded g namespace, it does pair really well with ' and g'.
1 parent 5d0d63e commit 3312774

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

plugin/dispatch.vim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ call s:map('n', 'm<CR>', '<SID>:.Make<CR>')
5959
call s:map('n', 'm<Space>', '<SID>:.Make<Space>')
6060
call s:map('n', 'm!', '<SID>:.Make!')
6161
call s:map('n', 'm?', ':<C-U>echo ":Dispatch" &makeprg<CR>')
62+
call s:map('n', 'g<CR>', '<SID>:.Dispatch<CR>')
63+
call s:map('n', 'g<Space>', '<SID>:.Dispatch<Space>')
64+
call s:map('n', 'g!', '<SID>:.Dispatch!')
6265
call s:map('n', '`<CR>', '<SID>:.Dispatch<CR>')
6366
call s:map('n', '`<Space>', '<SID>:.Dispatch<Space>')
6467
call s:map('n', '`!', '<SID>:.Dispatch!')

0 commit comments

Comments
 (0)