fix vimrc
This commit is contained in:
parent
5baa9515af
commit
9e4a4a3c22
2 changed files with 19 additions and 13 deletions
|
|
@ -29,14 +29,15 @@ augroup END
|
||||||
|
|
||||||
au! BufNewFile,BufRead *.pde setf arduino
|
au! BufNewFile,BufRead *.pde setf arduino
|
||||||
|
|
||||||
"augroup org
|
augroup org
|
||||||
"" leave these as is:
|
" leave these as is:
|
||||||
"au! BufRead,BufWrite,BufWritePost,BufNewFile *.org
|
au! BufRead,BufWrite,BufWritePost,BufNewFile *.org
|
||||||
"au BufRead,BufNewFile *.org call org#SetOrgFileType()
|
au BufRead,BufNewFile *.org call org#SetOrgFileType()
|
||||||
"au BufRead *.org :PreLoadTags
|
au BufRead,BufNewFile *.org :GitGutterDisable
|
||||||
"au BufWrite *.org :PreWriteTags
|
au BufRead *.org :PreLoadTags
|
||||||
"au BufWritePost *.org :PostWriteTags
|
au BufWrite *.org :PreWriteTags
|
||||||
"augroup END
|
au BufWritePost *.org :PostWriteTags
|
||||||
|
augroup END
|
||||||
|
|
||||||
au BufNewFile,BufRead motd.public,/tmp/motd.public.r.* setf motd
|
au BufNewFile,BufRead motd.public,/tmp/motd.public.r.* setf motd
|
||||||
|
|
||||||
|
|
|
||||||
15
.vimrc
15
.vimrc
|
|
@ -24,6 +24,7 @@ set expandtab
|
||||||
" I like comma instead of slash, but that probably comes from playing
|
" I like comma instead of slash, but that probably comes from playing
|
||||||
" Nethack and Angband
|
" Nethack and Angband
|
||||||
let mapleader = ","
|
let mapleader = ","
|
||||||
|
let maplocalleader = "\\"
|
||||||
|
|
||||||
" Set 'smart' things in Vim
|
" Set 'smart' things in Vim
|
||||||
" Search case insensitive, unless it contains Uppercase letters
|
" Search case insensitive, unless it contains Uppercase letters
|
||||||
|
|
@ -78,10 +79,14 @@ autocmd InsertLeave * if pumvisible() == 0|pclose|endif
|
||||||
set rtp+=~/.vim/bundle/Vundle.vim
|
set rtp+=~/.vim/bundle/Vundle.vim
|
||||||
call vundle#begin()
|
call vundle#begin()
|
||||||
|
|
||||||
|
Plugin 'gmarik/Vundle.vim'
|
||||||
|
Plugin 'conque_2.3'
|
||||||
|
Plugin 'eclim'
|
||||||
Plugin 'vim-scripts/DrawIt'
|
Plugin 'vim-scripts/DrawIt'
|
||||||
|
Plugin 'tpope/vim-speeddating'
|
||||||
Plugin 'vim-scripts/EasyGrep'
|
Plugin 'vim-scripts/EasyGrep'
|
||||||
Plugin 'chrisbra/NrrwRgn'
|
Plugin 'chrisbra/NrrwRgn'
|
||||||
Plugin 'jceb/vim-orgmode'
|
Plugin 'hsitz/VimOrganizer'
|
||||||
Plugin 'mileszs/ack.vim'
|
Plugin 'mileszs/ack.vim'
|
||||||
Plugin 'mattn/calendar-vim'
|
Plugin 'mattn/calendar-vim'
|
||||||
Plugin 'vim-scripts/fish-syntax'
|
Plugin 'vim-scripts/fish-syntax'
|
||||||
|
|
@ -129,13 +134,13 @@ autocmd FileType python set tags+=$HOME/.vim/tags/python.ctags
|
||||||
"autocmd FileType python call SuperTabSetCompletionType("<C-X><C-O>")
|
"autocmd FileType python call SuperTabSetCompletionType("<C-X><C-O>")
|
||||||
|
|
||||||
" Set filetype for VimOrganizer
|
" Set filetype for VimOrganizer
|
||||||
"au! BufRead,BufWrite,BufWritePost,BufNewFile *.org
|
au! BufRead,BufWrite,BufWritePost,BufNewFile *.org
|
||||||
"au BufEnter *.org call org#SetOrgFileType()
|
au BufEnter *.org call org#SetOrgFileType()
|
||||||
|
|
||||||
"au! BufRead,BufWrite,BufWritePost,BufNewFile *.org
|
"au! BufRead,BufWrite,BufWritePost,BufNewFile *.org
|
||||||
"au BufEnter *.org call org#SetOrgFileType()
|
"au BufEnter *.org call org#SetOrgFileType()
|
||||||
"command! OrgCapture :call org#CaptureBuffer()
|
command! OrgCapture :call org#CaptureBuffer()
|
||||||
"command! OrgCaptureFile :call org#OpenCaptureFile()
|
command! OrgCaptureFile :call org#OpenCaptureFile()
|
||||||
|
|
||||||
" Cull trailing whitespace for all files.
|
" Cull trailing whitespace for all files.
|
||||||
autocmd BufWritePre * :call AutoTrimWhitespace()
|
autocmd BufWritePre * :call AutoTrimWhitespace()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue