> Hello dear vim users,

Welcome

> - To me it feels like the [Esc] key would be very unreachable (for a
> key which has to be pressed very often). How do other vim user cope with
> this?

Various folks use solutions that work for them. On my laptops, I 
often find that I hit <F1> accidentally when stabbing for <esc>, 
so I just remap them:

   :inoremap <f1> <esc>
   :nnoremap <f1> <esc>
   ... (for other mapping modes)

This allows me to mash in the upper left corner of my keyboard 
with less need for accuracy.

Alternatively, some folks use control+[  which sends vim the same 
character as the <esc>.  I use this occasionally depending on the 
keyboard.

Lastly, some folks remap an existing vim functionality such as 
the comma or semi-colon to serve as <esc>  However I happen to 
regularly use both of those keys, so that has never appealed to me.

> - I would like to use vim to write C++. I need gdb and I find it very
> usefull to have gdb integrated into the editor. I find several plugins
> for gdb ... are they all good or should I stick to specific one?

Can't help you much here.  When I've needed to do debugging, I 
usually use "screen" and just flip between the two sessions.

> - When I press {, I like the } to be inserted with it. When I press }
> int front of a {, I would like to jump over the } (look at eclipse
> behavior for an example. Is this possible?

The first one can be done with

   :inoremap { {}<left>

The second one, I'm not sure I 100% understand (not using 
Eclipse), but it sounds like you just want

   :inoremap } }<left>





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

Reply via email to