X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=.vimrc;h=a4e0298645932246cd14632a8a2c3613076cad57;hb=49905abcdb92513b1204c40c1c598c25fb314a49;hp=d962c8ee8213d4f9fcad13da420a39688c43c185;hpb=e2b0394e13fde967ccb9726b8979aa1273c072be;p=profile.git diff --git a/.vimrc b/.vimrc index d962c8e..a4e0298 100644 --- a/.vimrc +++ b/.vimrc @@ -254,7 +254,7 @@ if &diff endif " Status bar matches the colour. -highlight StatusLine guifg=white guibg=blue ctermbg=white ctermfg=blue +highlight StatusLine guifg=white guibg=darkblue ctermbg=white ctermfg=darkblue " Numbers in blue. highlight LineNr term=underline cterm=bold guifg=blue ctermfg=blue @@ -316,9 +316,9 @@ endfun " the Qx sequence quickly enough. Vim 6 allows us to forget the Ex mapping. map Q -" Swap hex/decimal statusline with Qx +" Swap hex/decimal statusline with Qx. map Qx :call Cycle_HexStatusLine(): -" Change statusline verbosity with Qv +" Change statusline verbosity with Qv. map Qv :call Cycle_VerboseStatusLine(): " Cycle list styles with Ql. map Ql :call Cycle_List(): @@ -328,6 +328,9 @@ map Qt :Tlist map Qf :se foldenable!: " Toggle quickfix window with Qq. map Qq :call Cycle_Quickfix(): +" Rerun filetype detection with Qs. The s is for syntax, as this will be +" updated as a side-effect. +map Qs :filetype detect: endif