file cabinet
30 Jan 2005, 04:01 PM
what is yours?
"options
set ai
set backspace=2
set backup
set backupdir=$HOME/.vim/backup
set directory=$HOME/.vim/tmp
set expandtab
set filetype=on
set foldenable
set hid
set history=1000
set hlsearch
set nocompatible
set noerrorbells
set nu!
set ruler
set shiftwidth=4
set softtabstop=4
set tabstop=4
set whichwrap=<,>,h,l
set wildmenu
set fileformat=unix
"ui
colo darkblue
syntax on
"map
map <F2> :let @/=''<CR>:echo 'search cleared'<CR>
map <F3> :res +10<CR>:echo '+10'<CR>
map <F4> :res -10<CR>:echo '-10'<CR>
"autoindent on/off
map <F5> :set ai!<CR>:set ai?<CR>
"execute file
map <F6> :execute '!' . expand('%:p')<CR>
"cd to current/root directory of open file
map <F7> :execute 'cd ' . expand('%:h')<CR>:pwd<CR>
" next/prev buffers, will break vsplits mapping.
map <C-W>h :bp<CR>
map <C-W>l :bn<CR>
"taglist
let Tlist_Ctags_Cmd='/usr/bin/ctags'
au BufNewFile,BufRead *.geni :set ft=php
"options
set ai
set backspace=2
set backup
set backupdir=$HOME/.vim/backup
set directory=$HOME/.vim/tmp
set expandtab
set filetype=on
set foldenable
set hid
set history=1000
set hlsearch
set nocompatible
set noerrorbells
set nu!
set ruler
set shiftwidth=4
set softtabstop=4
set tabstop=4
set whichwrap=<,>,h,l
set wildmenu
set fileformat=unix
"ui
colo darkblue
syntax on
"map
map <F2> :let @/=''<CR>:echo 'search cleared'<CR>
map <F3> :res +10<CR>:echo '+10'<CR>
map <F4> :res -10<CR>:echo '-10'<CR>
"autoindent on/off
map <F5> :set ai!<CR>:set ai?<CR>
"execute file
map <F6> :execute '!' . expand('%:p')<CR>
"cd to current/root directory of open file
map <F7> :execute 'cd ' . expand('%:h')<CR>:pwd<CR>
" next/prev buffers, will break vsplits mapping.
map <C-W>h :bp<CR>
map <C-W>l :bn<CR>
"taglist
let Tlist_Ctags_Cmd='/usr/bin/ctags'
au BufNewFile,BufRead *.geni :set ft=php