6 Comments

  1. You can use `CTRL-O` and `CTRL-I` to jump to previous/next position jumped by `g` or `gg` or `G` or similar commands.

    You can use `g;` and `g,`can jump to the previous/next changed places.

  2. Set the character encoding for a file in vim:

    set fileencodings=utf-8,latin1

    It can contain a list of encodings. Vim will try the encodings from left to right till it find a workign one.

Leave a Reply

Your email address will not be published. Required fields are marked *