aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/grappele.vim
blob: f02e46cdedfdace366f18b7fe76fe075259b8dd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
if exists('g:loaded_grappele')
	finish
endif
let g:loaded_grappele = 1


nnoremap <silent> <Plug>Grappele :<c-u>call grappele#Grappele(v:count)<cr>
nnoremap <silent> <Plug>GrappeleRecall :<c-u>call grappele#Recall()<cr>

if !hasmapto('<Plug>Grappele') || !maparg('G', 'n')
	nnoremap <silent> G :<c-u>call grappele#Grappele(v:count)<cr>
endif

if !hasmapto('<Plug>GrappeleRecall') || !maparg('gG', 'n')
	nmap gG <Plug>GrappeleRecall
endif