On Monday 02 February 2009 1:18 pm, Garrett Whelan wrote:
> I would like to create an interactive vim tutorial using vim script to
> intro    duce the main concepts(modes, regular expresssions, etc.). I read
> somewhere that vim comes with a tutorial, but I can't find anything. Typing
> 
> :help tutorial
> 
> Brings me to a MySQL tutorial.
> 
> My questions are 1) Is there a built in vim tutorial and 2) is there
> anythin    g similar to what I'm describing out here?

1) yes

could it be easier to find?  well, with

    :helpgrep tutorial

and

nnoremap <silent> <Leader>t :call HelpgrepScrollers()<CR>

and

function! HelpgrepScrollers()
    silent! nmap <F6> :silent cnext<CR>
    silent! nmap <S-F6> :silent cprev<CR>
endfunction
    
and about 12 <F6>s i was finally brought to usr_01.txt,
"Using the Vim tutor", from which i see that had my original
help request been for 'tutor', i might have learned about
'vimtutor' a lot sooner

Tim's way is lots quicker

sc

 


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to