Home Liberties Xubuntu Mirrors Shop Links Contact

Xubuntu {dot}Files

.Xdefaults | .dir_colors | .kshrc | .screenrc | .tcshrc | .vimrc | .zshrc | Close open file

.vimrc


" $/home/hex1a4/.vimrc, v3.29, 26.11.2008$

if filereadable("/etc/vim/vimrc")
	source /etc/vim/vimrc
endif

set nocompatible
set backspace=indent,eol,start
if has("vms")
	set nobackup
else
	set backup
endif
set nocursorcolumn
set cursorline
set ffs=unix,mac,dos
set viminfo+=! " ensure it can save viminfo
set isk+=_,$,@,%,#,-,?,%,& " none of these should be word dividers, so make them not be
set lz " do not redraw while running macros (much faster) (LazyRedraw)
set history=50
set shortmess=at
set ruler
set rulerformat=%15(%c%V\ %p%%%)
set showcmd
set showmode
set showtabline=1
set startofline
set incsearch
set background=dark
set smartindent
set cindent
set noerrorbells
set nowrap
set showmatch
set tabstop=5
set softtabstop=5
set shiftwidth=5
set expandtab
set nosmarttab
" set mouse=a " use mouse everywhere - turns out I don't like this
set ignorecase
set smartcase
set gcr=a:blinkon0
set selectmode=mouse
set mousehide
set ttyfast
set ttybuiltin
set nolist
set printheader=%<%F%h%=%N
" filetail(buff#)[+][RO][GZ][help][Preview] [fileformat]:[filetype]:[charset]   [line,col]  [% of doc]
set statusline=%t(%1.3n)%m%r%{VarExists('b:gzflag','\ [GZ]')}%h%w\ %([%{&ff}]%)%(:%y%)%(:[%{&fenc}]%)\ %=[%1.7l,%1.7c]\ \ [%p%%]
" set statusline=%r%h%w\ %([%{&ff}]%)%(:%y%)%(:[%{&fenc}]%)\ BUFF[%1.20n]%=%1.7l,%1.7c\ \ [%p%%]
set laststatus=2 " always show the status line
set guipty " allegedly improves terminal emulation
set hidden
set wildmenu
set wildmode=list:longest
set pdev=DefaultPrinter

" highlight embedded code
let perl_extended_vars=1
let php_sql_query=1
let php_htmlInString=1
let php_folding=1
let php_parent_error_close=1
let html_use_css=1

let g:calendar_monday=1

if has("autocmd")
	autocmd FileType text setlocal textwidth=79
	filetype on
	filetype plugin on " load filetype plugins
	filetype indent on
	filetype plugin indent on
	autocmd BufEnter * :syntax sync fromstart " ensure every file does syntax highlighting (full)

	" jump to last position when reopening a file
     autocmd BufReadPost *
      \ if line("'\"") > 0 && line("'\"") <= line("$") |
      \   exe "normal g`\"" |
      \ endif

     autocmd FileType text setlocal textwidth=78
else
     set autoindent
endif

if &t_Co>2 || has("gui_running")
     syntax on
     set hlsearch
endif

if has("gui_running")
	cab Q :quit!
else
	cab Q q
endif
cab W w

function VarExists(var, val)
	if exists(a:var) | return a:val | else | return '' | endif
endfunction
     

.gvimrc

" $/home/hex1a4/.gvimrc, v1.11.2, 12.04.2008$

set ch=2
set cmdheight=2
set backspace=2 " make backspace work normal
" set verbose=1
set lines=36
set columns=90
set mouse=a
set mousehide
" set nu
colorscheme  default
set background=light
set toolbar="icons,tooltips"
set toolbariconsize=tiny
if has("autocmd")
	autocmd GUIEnter * winpos 170 20
endif
if has('gui_gtk2')
     set guifont=DejaVu\ Sans\ Mono\ 10
endif

     

del.icio.us tag it digg it sphinn facebook technorati

Boycott Trend Micro

$xubuntu dotfiles, v0.6.10, 22.08.2009$