Skip to content

Commit

Permalink
Merge branch 'master' of git://github.com/azeey/vimfiles
Browse files Browse the repository at this point in the history
Conflicts:
	vimrc
  • Loading branch information
azeey committed Sep 24, 2011
2 parents 88b1abf + cafb0a8 commit fc549cb
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 4 deletions.
12 changes: 12 additions & 0 deletions .gitmodules
Expand Up @@ -58,3 +58,15 @@
[submodule "bundle/textobj-rubyblock"]
path = bundle/textobj-rubyblock
url = https://github.com/nelstrom/vim-textobj-rubyblock.git
[submodule "bundle/gundo"]
path = bundle/gundo
url = git://github.com/vim-scripts/Gundo.git
[submodule "bundle/tabular"]
path = bundle/tabular
url = https://github.com/godlygeek/tabular.git
[submodule "bundle/vimrepress"]
path = bundle/vimrepress
url = https://github.com/connermcd/VimRepress.git
[submodule "bundle/markdown"]
path = bundle/markdown
url = https://github.com/plasticboy/vim-markdown.git
1 change: 1 addition & 0 deletions bundle/gundo
Submodule gundo added at 1c4b49
1 change: 1 addition & 0 deletions bundle/markdown
Submodule markdown added at f3f96f
1 change: 1 addition & 0 deletions bundle/tabular
Submodule tabular added at b7b4d8
1 change: 1 addition & 0 deletions bundle/vimrepress
Submodule vimrepress added at 22c61f
30 changes: 26 additions & 4 deletions vimrc
Expand Up @@ -361,7 +361,7 @@ nmap <silent> ,n :set invhls<CR>:set hls?<CR>
" put the vim directives for my file editing settings in
nmap <silent> ,vi
\ ovim:set ts=3 sts=3 sw=3:<CR>vim600:fdm=marker fdl=1 fdc=0:<ESC>
\ ovim:set ts=4 sts=4 sw=4:<CR>vim600:fdm=marker fdl=1 fdc=0:<ESC>
" Show all available VIM servers
nmap <silent> ,ss :echo serverlist()<CR>
Expand Down Expand Up @@ -683,7 +683,7 @@ set updatetime=500
"autocmd FileType python setlocal omnifunc=pysmell#Complete

"autocmd BufNewFile,BufRead *.mxml,*.as :nmap <C-B> :!bash ~/bin/fcshcmp.sh %:p
autocmd BufNewFile,BufRead *.mxml,*.as :nmap <C-B> :!~/bin/fcshcmp.sh %:p run
"autocmd BufNewFile,BufRead *.mxml,*.as :nmap <C-B> :!~/bin/fcshcmp.sh %:p run


"Manpageviewer extensions
Expand All @@ -697,8 +697,8 @@ autocmd FileType python setlocal omnifunc=pysmell#Complete
autocmd FileType python set sw=4 sts=4 ts=4
"autocmd FileType python set sw=2 sts=2 ts=2
autocmd FileType ruby set sw=2 sts=2 ts=2
autocmd FileType cpp set sw=3 sts=3 ts=3
autocmd FileType c set sw=3 sts=3 ts=3
autocmd FileType cpp set sw=4 sts=4 ts=4
autocmd FileType c set sw=4 sts=4 ts=4

"ConqueTerm
let g:ConqueTerm_TERM='xterm'
Expand Down Expand Up @@ -742,6 +742,11 @@ endfunction
nmap ,h :call SwitchSourceHeader()<CR>
map <silent> <F12> :!ctags -R --c++-kinds=+p --c-kinds=+p --fields=+iaS --extra=+q .<CR>
function! s:Ctag(dir)
echomsg "!ctags -R --c++-kinds=+p --c-kinds=+p --fields=+iaS --extra=+q " . a:dir
exec "!ctags -R --c++-kinds=+p --c-kinds=+p --fields=+iaS --extra=+q " . a:dir
endfunction
command! -nargs=1 -complete=dir Ctag call s:Ctag('<args>')

inoremap jj <Esc>
cnoremap <C-K> <Up>
Expand All @@ -753,6 +758,7 @@ nmap caw; dawct;
let g:syntastic_disabled_filetypes = ['c', 'cpp']
set csto=1
set nocst

" Make supertab not colide with endwise
let g:SuperTabCrMapping = 0
Expand All @@ -761,3 +767,19 @@ let g:SvnVimDiffStyle=""
let ropevim_vim_completion=1
let ropevim_extended_complete=1
"let g:syntastic_auto_loc_list=1

if version >= 703
"Gundo mapping
nnoremap <F4> :GundoToggle<CR>
set undofile
set undodir=/tmp/
end

"Convert unix epoch time to datetime. Removes the last 3 digits assuming that they are milliseconds
nnoremap <Leader>e :echo system("date +%c -u -d @" . <C-r><C-w><del><del><del>)<CR>
nnoremap <Leader>ec :echo system("date +%c -d @" . <C-r><C-w>)<CR>

" Blog
let VIMPRESS = [{'username':'azeey', 'blog_url': 'http://addisu.taddese.com/blog/'}]
Expand Down

0 comments on commit fc549cb

Please sign in to comment.