6 ms·
This looks nice but I am looking for advanced tutorial. For instance, I just randomly found that pressing N% in normal mode will take you to the Nth percentage
by ketanmaheshwari 4y ago
This looks nice but I am looking for advanced tutorial. For instance, I just randomly found that pressing N% in normal mode will take you to the Nth percentage line of a file. That you can run a macro on multiple files with :argdo normal@mw command. Where can I find such advanced stuff?
- 0xf00ff00f 4y agoI learned a lot from playing at https://vimgolf.com https://vimgolf.com and looking at other people's solutions.
- Scarbutt 4y agoIn the vim built-in manual
- sophacles 4y agoYes the vim documentation is damn good. Many plugin authors continue the tradition well too! The help text is hyperlinked - If you are over a link (displayed in some non-white color by default, there's a couple types: blue and yellow are common) and press CTRL-] it will jump to the docs for that item. CTRL-T will return to the previous location (where you jumped from). This help text uses the ctags support underneath, so many other things hook into it too - useful set of keys to know overall :D.
- cassepipe 4y agoAlso nice is :N that takes you the Nth line. Somehow it is more natural for me than the NG as I am so used to opening the command prompt and then start thinking about what I am bout to do. Also remember search is generally the quickest way to move to another line, and at the right spot!
- thomastjeffery 4y agoIn the reference documentation :h index https://vimhelp.org/index.txt.html#index.txt https://vimhelp.org/index.txt.html#index.txt
- mbwgh 4y agoThe vim-adventures game introduces a surprising number of advanced concepts I would say. I'm currently on level 12 which is about text objects, for instance.
- bes__ 4y agoCheck out 'Practical Vim' by Drew Neil, it's great.
- alwillis 4y agoDrew Neil’s website [1] is great and so are his books, particularly Practical Vim. [1]: http://vimcasts.org/ http://vimcasts.org/
- alwillis 4y agoVimways [1] is technically excellent and very well-written. [1]: https://vimways.org https://vimways.org
- monkin 4y agoThe best thing you can do is reading this: https://vimhelp.org/usr_toc.txt.html https://vimhelp.org/usr_toc.txt.html :)