"mappings for working with html
map \o f<df
map \O T>dF<
map \i F<df>
"mappings for breaking lines
map <F7> o<Esc>k
map <F8> i<CR><Esc>
"mappings for yanking and selecting characterwise
nmap Y ^v$hy
nmap <M-y> v$hy
nmap <M-v> ^v$<BS>
"mappings for long lines
nmap gA g$i
nmap ga gA
map <F4> :exe "norm cw" . strpart(expand("%:p:h:s?.*\\??"),0,15)<CR>
map ' `
source $VIMRUNTIME/mswin.vim
colorscheme desert
syn on
set noautoindent
set nosmartindent
set number
set autochdir
set linebreak
set breakat-=/
set breakat-=:
set breakat-=.
set breakat-=_
set ruler
set guifont=Terminal:h8
set guioptions=mrbgLtTc "console dialogs, menu bar, right, buttom, gray, left
when split, tearoff, toolbar
set whichwrap+=<,>,h,l
set scrolloff=3
set confirm
set wildmenu
set history=200
set report=0
set nohlsearch
set statusline=%<%F\ %m%r%y%=\ Col:\ %c,\ Line:\ %l/%L\ (%P)
set fillchars=vert:\
set incsearch
set shortmess=tI
set display=lastline
set list
set listchars=tab:\|\
set showmatch
set matchtime=4
set ignorecase
set smartcase
set nojoinspaces
set backspace=indent,eol,start
set laststatus=2
set nostartofline
set directory=c:/_swap,c:/tmp,c:/temp,.
set backupdir=c:/_backup,c:/tmp,c:/temp,.
set grepprg=/WINDOWS/COMMAND/grep.exe\ -n
au BufNewFile,BufRead *.html :set ft=xhtml
filetype plugin indent on
let g:xml_use_xhtml = 1
let g:xml_use_html = 1
autocmd GUIEnter * simalt ~x "Maximize on open
"commentify settings
let g:EnhCommuntifyTraditionalMode = 'No'
let g:EnhifyUseAltKeys = 'Yes'
let g:EnhifyUseSyntax = 'Yes'
let g:EnhifyFirstLineMode = 'Yes'
"Grep settings
let g:Grep_OpenQuickfixWindow = 1
let g:Grep_Default_Filelist = '*.html'
"minibufexplorer settings
map <Leader>b :TMiniBufExplorer<cr>
let g:miniBufExplMapWindowNavVim = 1
let g:miniBufExplUseSingleClick = 1
let g:miniBufExplVSplit = 1
let g:miniBufExplVSplit = 18
let g:miniBufExplorerMoreThanOne = 5
"showmarks settings (don't show unless told to)
let g:showmarks_enable=0
CategoryVimRc