pavement

Vim

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
 
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
''Vim'' is a very powerfull text editor. It is an extanded version of [[Vi]] and means ''VI iMprouved''. It supports many features such as syntax highlighting or folding, can keep backup of our files, and many others ...
+
''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. One installed, Your are adviced to copy the file "/usr/local/share/vim/vim63/vimrc_example.vim" into your home directory and rename it ".vimrc".
+
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
 +
 
 +
===VIMRC Colors===
 +
If you use a dark terminal window use
 +
set background=dark
 +
 
 +
[[Category:Ports and Packages]]

Latest revision as of 07: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
Personal tools