small fixes
git-svn-id: http://photonzero.com/dotfiles/trunk@114 23f722f6-122a-0410-8cef-c75bd312dd78
This commit is contained in:
parent
02ad0c26b7
commit
8c1d4265bd
1 changed files with 11 additions and 2 deletions
13
.vimrc
13
.vimrc
|
|
@ -100,7 +100,7 @@ let g:ConqueTerm_SendVisKey = '<Leader>ss'
|
||||||
"nnoremap gp gT
|
"nnoremap gp gT
|
||||||
nmap gt :NERDTreeToggle<CR>
|
nmap gt :NERDTreeToggle<CR>
|
||||||
nmap gT :TlistToggle<CR>
|
nmap gT :TlistToggle<CR>
|
||||||
nnoremap gx :Kwbd<CR>
|
"nnoremap gx :Kwbd<CR>
|
||||||
nnoremap gc :bdelete<CR>
|
nnoremap gc :bdelete<CR>
|
||||||
nnoremap gK :bdelete!<CR>
|
nnoremap gK :bdelete!<CR>
|
||||||
nnoremap gn :bn<CR>
|
nnoremap gn :bn<CR>
|
||||||
|
|
@ -136,6 +136,7 @@ set statusline+=%r "read only flag
|
||||||
set statusline+=%y "filetype
|
set statusline+=%y "filetype
|
||||||
set statusline+=\ %m "modified flag
|
set statusline+=\ %m "modified flag
|
||||||
set statusline+=%= "left/right separator
|
set statusline+=%= "left/right separator
|
||||||
|
set statusline+=%{fugitive#statusline()}\ \
|
||||||
set statusline+=%c, "cursor column
|
set statusline+=%c, "cursor column
|
||||||
set statusline+=%l/%L "cursor line/total lines
|
set statusline+=%l/%L "cursor line/total lines
|
||||||
set statusline+=\ %P "percent through file
|
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...
|
" This is a quick way to edit a persistent scratch buffer for me...
|
||||||
command ScratchOpen :e scp://barak@barakmich.com//home/barak/notes/scratch
|
command ScratchOpen :e scp://barak@barakmich.com//home/barak/notes/scratch
|
||||||
" Sudo-make-me-a-sandwich write
|
" 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
|
" Doesn't quite work right but can be a real savior if needed
|
||||||
function! s:DiffWithSaved()
|
function! s:DiffWithSaved()
|
||||||
|
|
@ -348,3 +349,11 @@ autocmd BufWritePre * :call AutoTrimWhitespace()
|
||||||
nnoremap <silent> <Space> @=(foldlevel('.')?'za':'l')<CR>
|
nnoremap <silent> <Space> @=(foldlevel('.')?'za':'l')<CR>
|
||||||
vnoremap <Space> zf
|
vnoremap <Space> zf
|
||||||
inoremap jj <Esc>
|
inoremap jj <Esc>
|
||||||
|
|
||||||
|
" 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)}'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue