vim - Tips and_tricks
- 762 views
vim is the "improved" version of the popular "vi" editor in UNIX/Linux environments. ...
vim is the "improved" version of the popular "vi" editor in UNIX/Linux environments.
With this powerful editor, do you know how to:
delete lines between two different search strings, repetitively?
replace multiple spaces with a single space OR trim all the leading or trailing spaces?
convert to upper/lower case, title/sentence case, to toggle case?
edit many files with multiple windows or tabs, and execute the same command on all at the same time?
delete blank lines or replace multiple blanks lines with one line?
search and replace with back referencing, and regular expressions?
identify palindromes, repeating words?
format lines (center-, left-, right-align) like you do in MS Word, but only lines that meet certain conditions?
go back to previous version as of N versions/seconds/minutes/hours ago even after saving with :w?
In this three-hour class, you will learn how to use vim effectively with shortcuts, markers, regular expressions, substitutions, grouping and back referencing, mapping, non-volatile buffers, recalling the nth delete, recording and replaying with macros, batching, and customizations. Concepts will be explained with demos. You will come away knowing how to simplify mundane editing tasks and become more productive.
- Total Views
- Views on SlideShare
- Embed Views