Commit 3db593a4 authored by Murukesh Mohanan's avatar Murukesh Mohanan

Stuff from lab

parent 90035c00
[submodule "bundle/diffchar.vim"] [submodule "bundle/diffchar.vim"]
path = bundle/diffchar.vim path = bundle/diffchar.vim
url = https://github.com/vim-scripts/diffchar.vim url = https://github.com/vim-scripts/diffchar.vim
ignore = all
[submodule "bundle/eregex.vim"] [submodule "bundle/eregex.vim"]
path = bundle/eregex.vim path = bundle/eregex.vim
url = https://github.com/othree/eregex.vim.git url = https://github.com/othree/eregex.vim.git
ignore = all
[submodule "bundle/nerdtree"] [submodule "bundle/nerdtree"]
path = bundle/nerdtree path = bundle/nerdtree
url = https://github.com/scrooloose/nerdtree.git url = https://github.com/scrooloose/nerdtree.git
ignore = all
[submodule "bundle/supertab"] [submodule "bundle/supertab"]
path = bundle/supertab path = bundle/supertab
url = git@github.com:ervandew/supertab.git url = git@github.com:ervandew/supertab.git
ignore = all
[submodule "bundle/syntastic"] [submodule "bundle/syntastic"]
path = bundle/syntastic path = bundle/syntastic
url = https://github.com/scrooloose/syntastic.git url = https://github.com/scrooloose/syntastic.git
ignore = all
[submodule "bundle/vim2hs"] [submodule "bundle/vim2hs"]
path = bundle/vim2hs path = bundle/vim2hs
url = https://github.com/dag/vim2hs url = https://github.com/dag/vim2hs
ignore = all
[submodule "bundle/vim-surround"] [submodule "bundle/vim-surround"]
path = bundle/vim-surround path = bundle/vim-surround
url = https://github.com/tpope/vim-surround.git url = https://github.com/tpope/vim-surround.git
ignore = all
[submodule "bundle/LaTeX-Box"]
path = bundle/LaTeX-Box
url = https://github.com/LaTeX-Box-Team/LaTeX-Box.git
ignore = all
Subproject commit 086b025a6cf337d5881f935720ba7465d1f3a286
" AutoAlign: ftplugin support for bib
" Author: Charles E. Campbell, Jr.
" Date: Aug 16, 2007
" Version: 13
" ---------------------------------------------------------------------
let b:loaded_autoalign_bib= "v13"
"call Decho("loaded ftplugin/bib/AutoAlign!")
let b:undo_ftplugin= "v13"
" overloading '=' to keep things lined up {{{1
ino <silent> = =<c-r>=AutoAlign(1)<cr>
let b:autoalign_reqdpat1= '^\(\s*\h\w*\(\[\d\+]\)\{0,}\(->\|\.\)\=\)\+\s*[-+*/^|%]\=='
let b:autoalign_notpat1 = '^[^=]\+$'
let b:autoalign_trigger1= '='
if !exists("g:mapleader")
let b:autoalign_cmd1 = 'norm \t=$'
else
let b:autoalign_cmd1 = "norm ".g:mapleader."t=$"
endif
" AutoAlign: ftplugin support for C
" Author: Charles E. Campbell, Jr.
" Date: Aug 16, 2007
" Version: 13
" ---------------------------------------------------------------------
let b:loaded_autoalign_c = "v13"
let b:undo_ftplugin = "v13"
" overloading '=' to keep things lined up {{{1
ino <silent> = =<c-r>=AutoAlign(1)<cr>
let b:autoalign_reqdpat1 = '^\(\s*\*\{0,}\h\w*\%(\[\%(\d\+\|\h\w*\)]\)\{0,}\%(->\|\.\)\=\)\+\s*[-+*/^|%]\=='
let b:autoalign_notpat1 = '^[^=]\+$'
let b:autoalign_trigger1 = '='
if !exists("g:mapleader")
let b:autoalign_cmd1 = 'undojoin|norm \t=$'
else
let b:autoalign_cmd1 = "norm ".g:mapleader."t=$"
endif
" AutoAlign: ftplugin support for C++
" Author: Charles E. Campbell, Jr.
" Date: Aug 16, 2007
" Version: 13
" ---------------------------------------------------------------------
let b:loaded_autoalign_cpp= "v13"
let b:undo_ftplugin= "v13"
" overloading '=' to keep things lined up {{{1
ino <silent> = =<c-r>=AutoAlign(1)<cr>
let b:autoalign_reqdpat1 = '^\(\s*\h\w*\(\[\d\+]\)\{0,}\(->\|\.\)\=\)\+\s*[-+*/^|%]\=='
let b:autoalign_notpat1 = '^[^=]\+$'
let b:autoalign_trigger1 = '='
if !exists("g:mapleader")
let b:autoalign_cmd1 = 'norm \t=$'
else
let b:autoalign_cmd1 = "norm ".g:mapleader."t=$"
endif
" overloading '<<' to keep things lined up {{{1
"ino <silent> < <<c-o>:silent call AutoAlign(-2)<cr>
ino <silent> < <<c-r>=AutoAlign(-2)<cr>
let b:autoalign_reqdpat2 = '<<'
let b:autoalign_notpat2 = '^\%(\%(<<\)\@!.\)*$'
let b:autoalign_trigger2 = '<'
if !exists("g:mapleader")
let b:autoalign_cmd2 = 'norm \a<$'
else
let b:autoalign_cmd2 = "norm ".g:mapleader."a<$"
endif
" overloading '>>' to keep things lined up {{{1
"ino <silent> > ><c-o>:silent call AutoAlign(-3)<cr>
ino <silent> > ><c-r>=AutoAlign(-3)<cr>
let b:autoalign_reqdpat3 = '>>'
let b:autoalign_notpat3 = '^\%(\%(>>\)\@!.\)*$'
let b:autoalign_trigger3 = '>'
if !exists("g:mapleader")
let b:autoalign_cmd3 = 'norm \a<$'
else
let b:autoalign_cmd3 = "norm ".g:mapleader."a<$"
endif
" AutoAlign: ftplugin support for HTML
" Author: Charles E. Campbell, Jr.
" Date: Aug 16, 2007
" Version: 13
" ---------------------------------------------------------------------
let b:loaded_autoalign_html= "v13"
let b:undo_ftplugin= "v13"
" overloading '>' to keep things lined up {{{1
ino <silent> > ><c-r>=AutoAlign(-1)<cr>
let b:autoalign_reqdpat1 = '</[tT][rR]>$'
let b:autoalign_notpat1 = '\%(</[tT][rR]>\)\@!.\{5}$'
let b:autoalign_suspend1 = '\c</\=table>'
let b:autoalign_trigger1 = '>'
if !exists("g:mapleader")
let b:autoalign_cmd1 = 'norm \Htd$'
else
let b:autoalign_cmd1 = "norm ".g:mapleader."\Htd$"
endif
" AutoAlign: ftplugin support for Maple
" Author: Charles E. Campbell, Jr.
" Date: Aug 16, 2007
" Version: 14
" ---------------------------------------------------------------------
let b:loaded_autoalign_maple = "v14"
let b:undo_ftplugin= "v13b"
" overloading '=' to keep things lined up {{{1
ino <silent> = =<c-r>=AutoAlign(1)<cr>
let b:autoalign_reqdpat1 = ':='
let b:autoalign_notpat1 = '^\%(\%(:=\)\@!.\)*$'
let b:autoalign_trigger1 = '='
let b:autoalign_cmd1 = "'a,.Align :="
" AutoAlign: ftplugin support for MatLab
" Author: Charles E. Campbell, Jr.
" Date: Aug 16, 2007
" Version: 13
" ---------------------------------------------------------------------
let b:loaded_autoalign_matlab = "v13"
let b:undo_ftplugin= "v13"
" overloading '=' to keep things lined up {{{1
ino <silent> = =<c-r>=AutoAlign(1)<cr>
let b:autoalign_reqdpat1 = '\%(^.*=\)\&\%(^\s*\%(\%(if\>\|elseif\>\|function\>\|while\>\|for\>\)\@!.\)*$\)'
let b:autoalign_notpat1 = '^[^=]\+$'
let b:autoalign_trigger1 = '='
if !exists("g:mapleader")
let b:autoalign_cmd1 = 'norm \t=$'
else
let b:autoalign_cmd1 = "norm ".g:mapleader."t=$"
endif
" AutoAlign: ftplugin support for LaTeX
" Author: Charles E. Campbell, Jr.
" Date: Aug 16, 2007
" Version: 13
" ---------------------------------------------------------------------
let b:loaded_autoalign_tex = "v13"
let b:undo_ftplugin= "v13"
" overloading '\' to keep things lined up {{{1
"ino <silent> \\ \\<c-o>:silent call AutoAlign(1)<cr>
ino <silent> \\ \\<c-r>=AutoAlign(1)<cr>
let b:autoalign_reqdpat1 = '^\([^&]*&\)\+[^&]*\\\{2}'
let b:autoalign_notpat1 = '^.*\(\\\\\)\@<!$\&^.'
let b:autoalign_trigger1 = '\\'
if !exists("g:mapleader")
let b:autoalign_cmd1 = 'norm \tt$'
else
let b:autoalign_cmd1 = "norm ".g:mapleader."tt$"
endif
" AutoAlign: ftplugin support for vim
" Author: Charles E. Campbell, Jr.
" Date: Aug 16, 2007
" Version: 13
" ---------------------------------------------------------------------
let b:loaded_autoalign_vim = "v13"
let b:undo_ftplugin= "v13"
" overloading '=' to keep things lined up {{{1
"ino <silent> = =<c-o>:silent call AutoAlign(1)<cr>
ino <silent> = =<c-r>=AutoAlign(1)<cr>
let b:autoalign_reqdpat1 = '^\s*let\>.*='
let b:autoalign_notpat1 = '^[^=]\+$'
let b:autoalign_trigger1 = '='
if !exists("g:mapleader")
let b:autoalign_cmd1 = 'norm \t=$'
else
let b:autoalign_cmd1 = "norm ".g:mapleader."t=$"
endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment