Differences between version 4 and previous revision of VimHowto.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 4 | Last edited on Tuesday, May 13, 2003 3:14:55 pm | by SamJansen | Revert |
Older page: | version 3 | Last edited on Thursday, February 13, 2003 1:07:34 pm | by SamJansen | Revert |
@@ -72,7 +72,8 @@
There are many, many ways to be more productive in Vim. This is just a short and very basic introduction. Listed here are a few commands that may come in handy.
* Look at the help for the 's', or 'substitute' command. This command works similar to 'sed', except it can just work on your selection/range/motion.
-* :<number> goes to line no. <number>, :$ is the end of file.
+* :<number> goes to line no. <number>, :$ is the end of file. Alternatively, gg is the start of the file and G is the end of the file.
+* To read read from stdin invoke Vim like so: 'vim -'. This is very useful to pipe stuff into Vim for later editing
.
* Best of all are the scripts and useful tips at [http://vim.sf.net].
* SeeAlso ViNotes