Vim
From FreeBSDwiki
(Difference between revisions)
(→VIMRC Extras) |
|||
Line 9: | Line 9: | ||
The example has most options but here are some more that you can insert on the end of your ~/.vimrc file | The example has most options but here are some more that you can insert on the end of your ~/.vimrc file | ||
− | set tabstop=4 " numbers of spaces of tab character | + | set tabstop=4 " numbers of spaces of tab character |
− | set shiftwidth=4 " numbers of spaces to (auto)indent | + | set shiftwidth=4 " numbers of spaces to (auto)indent |
− | set number " show line numbers | + | set number " show line numbers |
[[Category:Ports and Packages]] | [[Category:Ports and Packages]] |
Revision as of 22:53, 31 October 2006
Vim is a very powerful text editor. It is an extended version of Vi and means VI iMproved. It supports many features such as syntax highlighting or folding, can keep backups of files, and many others ...
Note that vim is not part of FreeBSD, you will have to install it before running it. Once installed, you are advised to copy the file "/usr/local/share/vim/vim63/vimrc_example.vim" into your home directory and rename it ".vimrc".
See also vi, ee (commonly aliased under FreeBSD as "edit"), joe, nano, pico, vim or emacs.
VIMRC Extras
The example has most options but here are some more that you can insert on the end of your ~/.vimrc file
set tabstop=4 " numbers of spaces of tab character set shiftwidth=4 " numbers of spaces to (auto)indent set number " show line numbers