aboutsummaryrefslogtreecommitdiffstats
path: root/autoload/grappele.vim
blob: c0835c9dce636ae7ff28b77c5647ccce9a43bdee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
function! grappele#Grappele(line)
	if a:line !=# 0
		let s:line = a:line
	endif

	return 'G'
endfunction

function! grappele#Recall()
	if exists('s:line')
		return s:line . 'G'
	endif

	return ''
endfunction

function! grappele#ORecall()
	if exists('s:line')
		return ':normal! V' . s:line . "G\<cr>"
	endif

	return "\<C-c>"
endfunction