diff --git a/.vimrc b/.vimrc index 1de8bf3..a68b020 100644 --- a/.vimrc +++ b/.vimrc @@ -100,7 +100,7 @@ let g:ConqueTerm_SendVisKey = 'ss' "nnoremap gp gT nmap gt :NERDTreeToggle nmap gT :TlistToggle -nnoremap gx :Kwbd +"nnoremap gx :Kwbd nnoremap gc :bdelete nnoremap gK :bdelete! nnoremap gn :bn @@ -136,6 +136,7 @@ set statusline+=%r "read only flag set statusline+=%y "filetype set statusline+=\ %m "modified flag set statusline+=%= "left/right separator +set statusline+=%{fugitive#statusline()}\ \ set statusline+=%c, "cursor column set statusline+=%l/%L "cursor line/total lines set statusline+=\ %P "percent through file @@ -159,7 +160,7 @@ let g:CommandTMaxDepth = 7 " This is a quick way to edit a persistent scratch buffer for me... command ScratchOpen :e scp://barak@barakmich.com//home/barak/notes/scratch " Sudo-make-me-a-sandwich write -command Wdammit :w !sudo tee % +command Wdammit :w !sudo tee > /dev/null % " Doesn't quite work right but can be a real savior if needed function! s:DiffWithSaved() @@ -348,3 +349,11 @@ autocmd BufWritePre * :call AutoTrimWhitespace() nnoremap @=(foldlevel('.')?'za':'l') vnoremap zf inoremap jj + +" default Tag list. Will be changed in near future so +" that these are defined by config lines in each .org +" file itself, but now these are where you can change things: +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)}' +