Kaali Global
| Blog|Hands on| Login| Register|
 
This is a sample GVIM, VIM profile that has small and sleek fonts.
 set nocompatible
source $VIMRUNTIME/vimrc_example.vim
source $VIMRUNTIME/mswin.vim
behave mswin

set guifont=Courier:h9:cANSI
set lines=45
set columns=130
set nu
set ic


set diffexpr=MyDiff()
function MyDiff()
let opt = ''
if &diffopt =~ 'icase' | let opt = opt . '-i ' | endif
if &diffopt =~ 'iwhite' | let opt = opt . '-b ' | endif
silent execute '!C:\Vim\vim61\diff -a ' . opt . v:fname_in . ' '
. v:fname_new . ' > ' . v:fname_out
endfunction



Hands on...
Author: Arvind Sharma, last update: 11th Sep 2009
Print this page
| Blog |Hands on | Site map |
© 2005 - 2010 Kaali. All rights reserved.