From 0621f194a0438b7d03205ab27b55c2b938efcfbf Mon Sep 17 00:00:00 2001 From: boput Date: Mon, 16 Nov 2015 10:34:30 -0800 Subject: [PATCH] Update my_configs.vim --- my_configs.vim | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/my_configs.vim b/my_configs.vim index 8b137891..f9686b55 100644 --- a/my_configs.vim +++ b/my_configs.vim @@ -1 +1,29 @@ +" No Uganda message on startup" +set shortmess=I +" Mode shown in the statusline all the time" +set noshowmode + +"If we want backups, then put them under vim_runitime" +set backupdir=~\.vim_runtime\backupdir +" Block can move outside of bounds" +set virtualedit=block + +" Turn spelling on by default, toggle with " +if has("spell") + set spell + " toggle spelling with F4 key + map :set spell!:echo "Spell Check: " . strpart("OffOn", 3 * &spell, 3) + " they were using white on white + highlight PmenuSel ctermfg=black ctermbg=lightgray + " limit it to just the top 10 items + set sps=best,10 +endif + +set guifont=Source\ Code\ Pro:h11 + +nmap rb :call DeleteTrailingWS() + +" Filtering through vimgrep results using regular expressions (amix on github) +map cc :botright cope +map co ggVGy:tabnew:set syntax=qfpgg