fix ftdetect and change out orgmode
This commit is contained in:
parent
be9c8dc329
commit
1334851ba2
5 changed files with 16 additions and 19 deletions
|
|
@ -1 +0,0 @@
|
||||||
../../bundle/ultisnips/after/plugin/UltiSnips_after.vim
|
|
||||||
|
|
@ -29,14 +29,14 @@ 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 *.org :PreLoadTags
|
||||||
au BufWrite *.org :PreWriteTags
|
"au BufWrite *.org :PreWriteTags
|
||||||
au BufWritePost *.org :PostWriteTags
|
"au BufWritePost *.org :PostWriteTags
|
||||||
augroup END
|
"augroup END
|
||||||
|
|
||||||
au BufNewFile,BufRead motd.public,/tmp/motd.public.r.* setf motd
|
au BufNewFile,BufRead motd.public,/tmp/motd.public.r.* setf motd
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
../bundle/ultisnips/ftdetect/UltiSnips.vim
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
../bundle/ultisnips/ftdetect/snippets.vim
|
|
||||||
16
.vimrc
16
.vimrc
|
|
@ -67,8 +67,8 @@ set t_Sb=ESC[4%dm
|
||||||
" ** FILETYPE SETTINGS **
|
" ** FILETYPE SETTINGS **
|
||||||
filetype off
|
filetype off
|
||||||
|
|
||||||
let g:ft_ignore_pat = '.org'
|
"let g:ft_ignore_pat = '.org'
|
||||||
filetype plugin indent on
|
"filetype plugin indent on
|
||||||
" If you prefer the Omni-Completion tip window to close when a selection is
|
" 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
|
" made, these lines close it on movement in insert mode or when leaving
|
||||||
" insert mode
|
" insert mode
|
||||||
|
|
@ -132,10 +132,10 @@ autocmd FileType python set tags+=$HOME/.vim/tags/python.ctags
|
||||||
"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()
|
||||||
|
|
@ -244,8 +244,8 @@ let g:CommandTMaxDepth = 7
|
||||||
" let g:org_todo_setup='TODO | DONE'
|
" let g:org_todo_setup='TODO | DONE'
|
||||||
" while g:org_tag_setup is itself a string
|
" 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)}'
|
"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! BufRead,BufWrite,BufWritePost,BufNewFile *.org
|
||||||
au BufEnter *.org call org#SetOrgFileType()
|
"au BufEnter *.org call org#SetOrgFileType()
|
||||||
|
|
||||||
" * Airline
|
" * Airline
|
||||||
set noshowmode
|
set noshowmode
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue