Monday, April 18, 2011

jump to percent of file in vim

here is a little known tip, that can be useful when rummaging through gigabytes of logs: if you want to jump to a percentage position within a file, just type out the number followed by the percent sign.

For example, if you'd like to jump half way down into a file, you would type the number 5, followed by the number 0, followed by the % sign - thats it.

No comments:

Post a Comment