On Sun, Dec 23, 2012 at 10:09 PM, stosss <stosss@gmail.com> wrote:
>> function! Incr()
>>   let a = line('.') - line("'<")
>>   let c = virtcol("'<")
>>   if a > 0
>>     execute 'normal! '.c.'|'.a."\<C-a>"
>>   endif
>>   normal `<
>> endfunction
>> vnoremap <C-a> :call Incr()<CR>
I figured out how to use this. The next step will be understanding how
it is doing it.
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
Wednesday, December 26, 2012
Subscribe to:
Post Comments (Atom)
 
No comments:
Post a Comment