aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/grappele.vim
blob: a86c02a96dbe6817c6e77959d1c7aa639c3dd01a (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')
	nmap G <Plug>Grappele
endif

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