From 2f555739f708bc6965fa69175c4a21b54792eadc Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Fri, 29 Feb 2008 15:55:35 +0000 Subject: [PATCH] Rerun filetype detection with Qs. git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@101 6be0d1a5-5cfe-0310-89b6-964be062b18b --- .vimrc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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 -- 2.20.1