More Vim Tips from Codeninja
Hey all, Codeninja here. Just thought I’d make a quick post with a couple more quick vim tips for all vimers out there.
- You can use P to paste something before the current location, or after with p.
- use ^v to insert control characters in your text
- highlight a word and press # to search backwords for it
- use ^n to insert or look up keywords (vim style code completion!)
- If you run make from within vim, you can automatically jump to lines with errors
- use D to delete from the current position until the end of the line
- use df<character> to delete everything until the next occurrence of <character>
- If you want to edit a specific function, do the following: in the source directory, run ctags (e.g. ctags *.cpp for a c++ project), then run vim -t function_name
Well, that’s it for this episode of “Vim Rawks” until next time, Ninja Vanish
About this entry
You’re currently reading “More Vim Tips from Codeninja”, an entry on alt the podcast
- Published:
- 10.13.07 / 11pm
- Category:
- Extras
- Tags:

Comments are closed
Comments are currently closed on this entry.