Saturday, September 24, 2016

Re: mapping :h to ;

On Saturday, 24 September 2016 11:40:01 UTC+2, in...@odyschrift.nl wrote:
> I am a novice in gVim. I often need the help function. <shift>:h<space>. I understand I can map this combination of 4 keystrokes to a single key.
> Is ; a good choice?
>
> The website <http://vimcasts.org/blog/2013/02/habit-breaking-habit-making/ attracted my attention, thanks to a recent post in this maillist. I understand ; is useful to repeat a character search with t,T,f,F for my period as novice.
>
> I think the best decision is to use ; for the time being, but according to the article j and k are also could alternatives. What about h and l?
>
> Has someone an advice for me?
>
> Alle

Thank for your advises. To resume: the function keys F2 till F12 (on my keyboard) are available as 'shortcuts'. It is not advisable to use keys which have already a function in the normal mode of Vim, because then I will loose possible functionality. Perhaps uppercase Q.

For my special question I can change the function of <F1>, because I want to visit the helpfile over particular subjects, mostly, and not open it generally.

When the time is there for more than 11 'shortcuts', I can think about which functionality I will offer for my 'shortcuts'. I understand there are many strategies to move the cursor. I will develop my own strategy and will pick keys dedicated to the alternative strategies. They will be not useful for me.

In the meantime, I will follow discussions over motion strategies in this mailinglist.

Again, thanks for the reactions on my novice-question.

Alle

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: