vi-vim options

You can change vi-vim options using the set command. To see current options just execute this:

:set

To see all available options:

:set all

To set a value for an specific option, for example ruler:

:set ruler

Or file encoding:

:set fileencoding=utf-8

This is how it looks if you set ruler (display some info about the file and cursor position at the bottom) and number (display line numbers on the left side):

vi-vim-options

To set the default value for some options edit ~/.vimrc:

set ruler
set number

You might also like

Changing rEFInd options
If you use rEFInd to boot multiple operating systems in a Mac you may want to change it's options. For...

Install OpenCV in Ubuntu 10.10
If you want to install OpenCV 2.1 you can just use apt-get to do the work: sudo apt-get install libcv-dev...

Install OpenCV in Ubuntu 10.10
If you want to install OpenCV 2.1 you can just use apt-get to do the work: sudo apt-get install libcv-dev...

Install OpenCV in Ubuntu 10.10
If you want to install OpenCV 2.1 you can just use apt-get to do the work: sudo apt-get install libcv-dev...

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.