diff --git a/vim/plugin/shame.vim b/vim/plugin/shame.vim index 3760e27..c9eb6b6 100644 --- a/vim/plugin/shame.vim +++ b/vim/plugin/shame.vim @@ -503,9 +503,11 @@ nnoremap ! :! " --- Telescope --- nnoremap f :Telescope find_files +nnoremap b :Telescope buffers nnoremap ld :Telescope lsp_definitions nnoremap lr :Telescope lsp_references nnoremap ll :Telescope lsp_ +nnoremap C :Telescope colorscheme " --- F5 --- nnoremap :nnoremap :CR> @@ -633,23 +635,23 @@ digraph ss 223 command! HLProgress syntax match Comment /\_.*\ze\n.*\%#/ -vnoremap g :call GrepOperator(visualmode()) -nnoremap g :set operatorfunc=GrepOperatorg@ -function! s:GrepOperator(type) - let reg1 = @@ - if a:type==# 'v' - execute "normal! `y" - elseif a:type==# 'char' - execute "normal! `[y`]" - else - return - end - echom "vimgrep! /\\M".escape(@@, "\\")."/ *" - silent! execute "vimgrep /\\M".escape(@@, "\\")."/j *" - let @@ = reg1 - copen - set nowrap -endfunction +" vnoremap g :call GrepOperator(visualmode()) +" nnoremap g :set operatorfunc=GrepOperatorg@ +" function! s:GrepOperator(type) +" let reg1 = @@ +" if a:type==# 'v' +" execute "normal! `y" +" elseif a:type==# 'char' +" execute "normal! `[y`]" +" else +" return +" end +" echom "vimgrep! /\\M".escape(@@, "\\")."/ *" +" silent! execute "vimgrep /\\M".escape(@@, "\\")."/j *" +" let @@ = reg1 +" copen +" set nowrap +" endfunction " Window Height stuff command! EqualH call Equal()