Thank you.
I appreciate your advice. I'm just starting to learn how to use vim.
Since I spend most part of my day editing test (and most of that time
programming), I realised that I really need a text editor/IDE that I
could use for anything. Right now, I use Eclipse at work (Java) and
vim when I need another editor (instead of using wordpad or things
like that). I'm also developing a project in C/C++ (although a little
part of it is written in x86 assembly and NVIDIA's CUDA). I tried
Eclipse for C/C++ but it doesn't work like it does for Java.
Looking for a substitute I read a lot about vim and emacs. Almost
everybody in the forums stated that the one they use is by far the
best, so I had to decide it by myself. Both are very extensible and
extended so it was hard to find a feature in one that you cannot get
in the other one.
I think the approach of vim of having a normal mode in which you can
run complex commands by just typing a key (instead of having to type
Auxiliary keys all the time) is a great idea.
That's why I finally choose Vim.
I'm aware that the keys weren't chosen at random, but maybe the
distribution is not the better. The most used keys should be the ones
that are closer to the fingers when they are in the home row. I still
don't know what keys I'm going to use more and I shouldn't change
basic configurations before I know it, because then I'd probably get
bad habits.
But when I know better how to use Vim I will have better chances of
knowing that I don't use some keys never and I got them very close
while I use others a lot and they are "far away" from my fingers.
Some examples:
I don't think I'm going to use i, c, R, a and A: I'll probably just
use i and A (maybe I'm wrong).
I'm sure that I want } closer to me than ç and I have them in the same
key, but by pressing <Alt Gr> too, I get a { (if I don't press <Alt
Gr>, I get a ç, which is useless in Vim).
I just wanted to know how to make some changes, but it's true that I
shouldn't make too much of them until I get used to the defaults.
I'm curious too about how to change the functions between two keys.
For example, change the j for the k, although it hasn't much sense.
Maybe it's not possible.

Thank you


2010/3/2 John Beckett <[email protected]>:
> Jorge Timón wrote:
>> Thank you very much. index.txt is what I needed, althought it
>> seems to be bigger than I first thought.
>> So I can just map "on top" of this default settings, being
>> careful of what mode I'm mapping to.
>> I guess I'll just map keys in normal mode anyway.
>> if I want to map, for example, u to k and k to l, what should
>> be the order? Can I do that?
>> In this case, I've hide the "Undo" function, since the u key
>> will perform the "Up" function (I don't know if it's correct
>> to call them functions, but I think you understand me).
>> Is there a way to know if you've hide any key after mapping?
>> Have the keys in index an equivalent Ex command?
>
> At this page:
> http://vim.wikia.com/wiki/Vim_documentation
>
> is a "Keyboard cheat sheet and tutorial" link to:
> http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html
>
> which is an excellent summary of the meaning of the normal-mode
> keys. There is also ':help normal-index' which is on index.txt
> mentioned above.
>
> I understand you have some issues with your keyboard, but I will
> give some frank advice: It is a total mistake to hope to improve
> on the default meanings of the normal-mode keys. You will not
> come up with an improvement, and will only hinder learning how
> to properly use Vim.
>
> John
>
> --
> 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 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

Reply via email to