From c1d0847d936f04eb77b67c64c2a55ae789dc9933 Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Thu, 18 Jul 2024 15:44:18 -0500 Subject: vimrc: keybindings --- vimrc | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/vimrc b/vimrc index decc4ff..23193e9 100644 --- a/vimrc +++ b/vimrc @@ -25,7 +25,8 @@ colorscheme quiet set t_Co=256 set tgc hi Normal guifg=black guibg=#FEFFFA -""hi Keyword ctermfg=black cterm=bold +"hi String guifg=blue +"hi Comment guifg=gray cterm=italic hi SpellBad term=reverse term=underline guibg=#FEFFFA hi SpellCap term=reverse term=underline guibg=#FEFFFA hi SpellRare term=reverse term=underline guibg=#FEFFFA @@ -178,7 +179,9 @@ noremap cr :LspRename noremap m :make noremap k :LspDiagCurrent noremap K :LspHover -nnoremap l :ls:b +" Allow mapping tab +set wildcharm= +nmap b :b nnoremap = :LspFormat "" Tab completion inoremap pumvisible() ? "\" : "\" @@ -209,3 +212,10 @@ augroup VIMRC autocmd BufLeave *{_test}\@ [ +let @b = 'di(a[]P%2X' + +"" Change [ -> ( +let @k = 'di["_c%()P' -- cgit v1.2.3