-----Message d'origine-----
De: Asis Hallab
Envoyé: 13/05/2013, 10:05
A: vim_use@googlegroups.com
Objet: Re: Need a vim "hard mode" tutorial.
Dear Vimers,
2013/5/13 DwigtArmyOfChampions <dwightarmyofchampions@hotmail.com>:
> If you're not going to search, then are you pretty much always supposed to use Ctrl-u and Ctrl-d to navigate through your code, and then when you spot a line that needs changed, type :(line number)?
I have been facing the very same problem. For me Vim is about doing
the job of text editing efficiently. So getting to the place you want
to edit should be fast and easy. In spite of all the different
available movement commands I frequently find myself thinking, that in
a particular situation I might had gotten to the place I want to edit
faster using the mouse. After all searching or jumping to a a line
number easily require four to five key strokes.
> Because that's pretty much the only way I've been able to move around. What if you're in visual mode and you therefore can't use the : to run a command to get to the line number you want the visual block to end on?
You can use G<line_number> to get to the line you spotted. This works
in visual mode, too.
:h G
I would very much like to read about expert Vim users most used
movement commands and get more efficient in getting to the point I
want to edit.
Cheers!
--
--
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/groups/opt_out.
---------------------------------
I was asking myself the very same question a while ago and here is one of the links I found:
http://stackoverflow.com/questions/1218390/what-is-your-most-productive-shortcut-with-vim?rq=1
the top voted answer in this link is very great at make you feel the power of Vim. It's very detailed and gives some good tricks.
After that I bought Drew Neil's book "Practical Vim: edit text at the speed of thought". If you like books this one is realy great. Otherwise look for screencasts of vim on internet, they give usefull advices.
I hope it will be usefull to you.
Regards
Damien
--
--
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/groups/opt_out.
Monday, May 13, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment