diff options
author | Teddy Wing | 2020-09-29 01:03:04 +0200 |
---|---|---|
committer | Teddy Wing | 2020-09-29 01:17:26 +0200 |
commit | 51f66aee90c4362a37b0c203939686283499dae3 (patch) | |
tree | c53239157bf410751eeefae1cd9cc5cca2c95f13 | |
parent | e07089624f0f8b8ba3f024bbf3c0c1a735522d06 (diff) | |
download | vim-grappele-51f66aee90c4362a37b0c203939686283499dae3.tar.bz2 |
autoload/grappele.vim: Remove old commented code
Clean up the file by removing old code that's no longer necessary.
-rw-r--r-- | autoload/grappele.vim | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/autoload/grappele.vim b/autoload/grappele.vim index 1b1a71a..84766be 100644 --- a/autoload/grappele.vim +++ b/autoload/grappele.vim @@ -1,57 +1,21 @@ function! grappele#Grappele(line, ...) - " let l:current_buffer = 0 - " let l:column_position = 0 - " let l:column_offset = 0 - " - " let l:mode = get(a:, 1, '') - " let l:visualmode = get(a:, 2, '') - " - " normal! m' - " - " if l:mode ==# 'v' - " execute 'normal! ' . l:visualmode - " elseif l:mode ==# 'o' - " normal! V - " endif - " - " if a:line ==# 0 - " " Go to the end of the buffer - " $ - " else - " let s:line = a:line - " - " call setpos('.', [ - " \ l:current_buffer, - " \ a:line, - " \ l:column_position, - " \ l:column_offset - " \ ]) - " endif - let l:line = '' if a:line !=# 0 let s:line = a:line endif - echom s:line . 'G' return 'G' endfunction function! grappele#Recall(mode) if exists('s:line') - " call grappele#Grappele(s:line, a:mode, visualmode()) - let l:line = s:line - " if a:mode ==# 'o' - " let l:line += 1 - " return ':normal! V' . l:line . "G\<cr>" if a:mode ==# 'v' let l:line = visualmode() . l:line endif - " echom 'Recall: ' . l:line execute 'normal! ' . l:line . 'G' endif endfunction |