fix ftdetect and change out orgmode

This commit is contained in:
Barak Michener 2014-05-31 17:42:59 -04:00
parent be9c8dc329
commit 1334851ba2
5 changed files with 16 additions and 19 deletions

View file

@ -1 +0,0 @@
../../bundle/ultisnips/after/plugin/UltiSnips_after.vim

View file

@ -29,14 +29,14 @@ augroup END
au! BufNewFile,BufRead *.pde setf arduino
augroup org
" leave these as is:
au! BufRead,BufWrite,BufWritePost,BufNewFile *.org
au BufRead,BufNewFile *.org call org#SetOrgFileType()
au BufRead *.org :PreLoadTags
au BufWrite *.org :PreWriteTags
au BufWritePost *.org :PostWriteTags
augroup END
"augroup org
"" leave these as is:
"au! BufRead,BufWrite,BufWritePost,BufNewFile *.org
"au BufRead,BufNewFile *.org call org#SetOrgFileType()
"au BufRead *.org :PreLoadTags
"au BufWrite *.org :PreWriteTags
"au BufWritePost *.org :PostWriteTags
"augroup END
au BufNewFile,BufRead motd.public,/tmp/motd.public.r.* setf motd

View file

@ -1 +0,0 @@
../bundle/ultisnips/ftdetect/UltiSnips.vim

View file

@ -1 +0,0 @@
../bundle/ultisnips/ftdetect/snippets.vim

16
.vimrc
View file

@ -67,8 +67,8 @@ set t_Sb=ESC[4%dm
" ** FILETYPE SETTINGS **
filetype off
let g:ft_ignore_pat = '.org'
filetype plugin indent on
"let g:ft_ignore_pat = '.org'
"filetype plugin indent on
" If you prefer the Omni-Completion tip window to close when a selection is
" made, these lines close it on movement in insert mode or when leaving
" insert mode
@ -132,10 +132,10 @@ autocmd FileType python set tags+=$HOME/.vim/tags/python.ctags
"au! BufRead,BufWrite,BufWritePost,BufNewFile *.org
"au BufEnter *.org call org#SetOrgFileType()
au! BufRead,BufWrite,BufWritePost,BufNewFile *.org
au BufEnter *.org call org#SetOrgFileType()
command! OrgCapture :call org#CaptureBuffer()
command! OrgCaptureFile :call org#OpenCaptureFile()
"au! BufRead,BufWrite,BufWritePost,BufNewFile *.org
"au BufEnter *.org call org#SetOrgFileType()
"command! OrgCapture :call org#CaptureBuffer()
"command! OrgCaptureFile :call org#OpenCaptureFile()
" Cull trailing whitespace for all files.
autocmd BufWritePre * :call AutoTrimWhitespace()
@ -244,8 +244,8 @@ let g:CommandTMaxDepth = 7
" let g:org_todo_setup='TODO | DONE'
" while g:org_tag_setup is itself a string
"let g:org_tag_setup='{@home(h) @work(w) @tennisclub(t)} \n {easy(e) hard(d)} \n {computer(c) phone(p)}'
au! BufRead,BufWrite,BufWritePost,BufNewFile *.org
au BufEnter *.org call org#SetOrgFileType()
"au! BufRead,BufWrite,BufWritePost,BufNewFile *.org
"au BufEnter *.org call org#SetOrgFileType()
" * Airline
set noshowmode