A Blog about technology, linux, peer2peer, cool new downloads and software development.
Showing posts with label vim. Show all posts
Showing posts with label vim. Show all posts

Saturday, February 9, 2008

.vimrc

set nocompatible " must be the first line
filetype on
filetype indent on
filetype plugin on
set laststatus=2


set statusline=%<%f\%h%m%r%=%-20.(line=%l\ \ col=%c%V\ \ totlin=%L%)\ \ \%h%m%r%=%-40(bytval=0x%B,%n%Y%)\%P
syntax on
colorscheme murphy
set number
set tabstop=4
set shiftwidth=4
set ignorecase
set autoindent
set hlsearch
set diffopt+=iwhite
set ruler
set cul

vim tabs tutorial

open multiple files in tabs $vim -p file1, file2, ... file10
switch between tabs :tabn / :tabp
add another tab :tabe filename
The full documentation of the tabs system can be accessed with :help tabs

borland colorscheme for vim

Download the borland.vim file and follow the instructions to install from : http://www.vim.org/scripts/script.php?script_id=92
Screenshot :

.vimrc

syntax on
colorscheme murphy
set number
set tabstop=4
set shiftwidth=4
set ignorecase
set autoindent
set hlsearch
set diffopt+=iwhite
set ruler