2009/6/1 Nathan Huesken <[email protected]> > > Hello dear vim users, > > I am completly new to vim, and I have a few questions: > > - 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?
I exchanged esc key and caps-lock key using xmodmap.
*File to xmodmap:*
remove Lock = Caps_Lock
keysym Escape = Caps_Lock
keysym Caps_Lock = Escape
add Lock = Caps_Lock
- 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?
>
In attach a script that I'm working to integrated vim with gdb. It's not
complete yet, any sugestion send me a e-mail.
How to use:
:source gdbdebugger.vim
:GdbVim <Path-to-executable-file>
Now you are on gdb-mod.
b - Create a new breakpoint on line under cursor
r - Run
n - Next
s - Step
p - Print value of variable under cursor (using word)
P - Print value of variable under cursor (using WORD)
c - Continue
q - quit gdb.
<ESC> - go out of gdb-mode.
> - 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?
For this you already have a good answers.
>
>
> Thanks!
> Nathan
>
> >
>
--
----------------------------------------------
Roberto Miura Honji
LAS - Laboratório de Administração e Segurança de Sistemas
Engenharia de Computação - 2006
Instituto de Computação - UNICAMP
email: [email protected] (principal)
email: [email protected]
msn: [email protected]
-------------------------------------------
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---
gdbdebugger.vim
Description: Binary data
