From aed80c1babd76dba49dc5a0e68209981544deabb Mon Sep 17 00:00:00 2001 From: Michael Campagnaro Date: Mon, 20 Apr 2020 12:41:58 -0400 Subject: [PATCH] Change vim search & replace mapping --- vim/colors/campo-dark-blue.vim | 2 +- vim/spell/en.utf-8.add | 28 ++++++++++++++++++++++++++++ vim/spell/en.utf-8.add.spl | Bin 2625 -> 2801 bytes vimrc | 12 +++++++++--- 4 files changed, 38 insertions(+), 4 deletions(-) diff --git a/vim/colors/campo-dark-blue.vim b/vim/colors/campo-dark-blue.vim index bc6b58f..28d6d9d 100644 --- a/vim/colors/campo-dark-blue.vim +++ b/vim/colors/campo-dark-blue.vim @@ -19,7 +19,7 @@ if has('termguicolors') let s:green = "88b888" let s:red = "ef2929" - let s:text = "e9e9e9" + let s:text = "f1f1f1" let s:foreground = s:text let s:background = "08363c" diff --git a/vim/spell/en.utf-8.add b/vim/spell/en.utf-8.add index fb011f9..6157e65 100644 --- a/vim/spell/en.utf-8.add +++ b/vim/spell/en.utf-8.add @@ -233,3 +233,31 @@ souvlaki relatability zen todo +hotloader +MSAA +FBO +multisampled +blit +multisample +UVs +msaa +uv +FXAA +async +mouseover +checkbox +supersampling +u16 +premultiplying +mip +mips +mem +u32 +proc +hardcode +hotloading +win32 +ui +weapon +fov +exe diff --git a/vim/spell/en.utf-8.add.spl b/vim/spell/en.utf-8.add.spl index 8a3863477c61fc19917b87f62bf27c3a393bcae8..0321912dab2f97e9daff3b41b73940ce37ea33bc 100644 GIT binary patch literal 2801 zcmYjTJ&znk5bf^S+e6OC5ORVJjU{9Udxu$}%Z!EZtOG0?TM!`8JJY)}w=>h@nc1&P z?7%vS7@c-cDm3?dpxyLac=Tjn_i@@an*{fH3=6J zo#|Y6Fi7ysbtRhwn`wa>O{BWI$zbX6!m_r}sr{0)eqNm*b!5Y;XH9`(N36eO~r&u-GA;1>C z8tl{n!#wS!Mdhh;MBSXfUZ;A@_eqG;>xK9bFb5&=rDR=Fer|X1j7Kg9N$RBZ^S({S z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*;~LqU zaqpb-9jPB8QQ#J-nk4w-@g(2fd9B~2-0D7b=C}dqjqsi5k?g;R^+I&fQEJgHaFL-+WAU9;_f?N;PT1YCUK_k zis<`TR$-?=|=zn diff --git a/vimrc b/vimrc index 54de329..4859780 100644 --- a/vimrc +++ b/vimrc @@ -961,7 +961,13 @@ nnoremap p (&buftype is# "quickfix" ? "\|:copen" : "p") function! GlobalReplaceIt(confirm_replacement) if exists(':Ggrep') call inputsave() - let l:term = input('Enter search term: ') + + if a:confirm_replacement + let l:term = input('Enter search term (w/ confirmation): ') + else + let l:term = input('Enter search term (no confirmation): ') + endif + call inputrestore() if empty(l:term) return @@ -986,8 +992,8 @@ function! GlobalReplaceIt(confirm_replacement) echo "Unable to search since you're not in a git repo" endif endfunction -map gg :call GlobalReplaceIt(0) -map gr :call GlobalReplaceIt(1) +map r :call GlobalReplaceIt(0) +map rr :call GlobalReplaceIt(1) """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""