VIM has all features of a modern programmer's editor - macro language, syntax highlighting, customizable user interface, easy integration with various IDEs plus a set of features which makes VIM so attractive to its users: crash recovery, automatic commands, session management. I started this tutorial for one simple reason - I like regular expressions. Nothing compares to the satisfaction from a well-crafted regexp which does exactly what you wanted it to do :-).
Install this script and VIM will be able to properly display ANSI escape sequences for color.
Installing
vim AnsiEsc.vba.gz
:so %
:q
Using:
:AnsiEsc
Generate a .vimrc file by checking and unchecking boxes to enable features.
An easy to use graphical builder for .vimrc files. Drag and drop the options you want and it generates the configuration options for you. Copy and paste into your ~/.vimrc file.
This is a configuration file maintained by the Python project which optimizes (g)vim for writing Python code. You don't have to replace your existing .vimrc with it; in fact, it has conditionals that only fire if vim detects that you're editing Python code so it shouldn't mess with anything else you work on. Here's how I use it:
0) Copy this file as ~/.vim/vimrc.python
1) Add the following line to ~/.vimrc:
source /home//.vim/vimrc.python
Uncomment automatic indentation at the end of the file, otherwise this file won't do much for you. I also uncommented syntax highlighting.
How to install vim from the FreeBSD ports collection without it installing most of X along with it.
cd /usr/ports/editors/vim
make WITHOUT_X11=yes install clean
How to prettify a block of JSON in vim so that it's easier to read. You need to have Python installed for it to work.