Vim
From FreeBSDwiki
(Difference between revisions)
(→VIMRC Extras) |
|||
Line 12: | Line 12: | ||
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 | ||
+ | |||
+ | ===VIMRC Colors=== | ||
+ | If you use a dark terminal window use | ||
+ | set background=dark | ||
[[Category:Ports and Packages]] | [[Category:Ports and Packages]] |
Latest revision as of 06:46, 1 November 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.
[edit] 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
[edit] VIMRC Colors
If you use a dark terminal window use
set background=dark