From: Samir Benmendil Date: Fri, 13 Jan 2023 23:56:51 +0000 (+0000) Subject: vim: introduce characterize and replace easy align mapping X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/e59fcb1a4493732ac1ef54c1bfd8314327b96d64?ds=inline vim: introduce characterize and replace easy align mapping The EasyAlign operator mapping was overriding the built in `ga` which shows the char under the cursor. Changed it to a instead. --- diff --git a/vim/vimrc b/vim/vimrc index 8c75c58..19208e5 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -49,6 +49,7 @@ Plug 'sjl/gundo.vim' Plug 'thinca/vim-qfreplace' Plug 'tomtom/tcomment_vim' Plug 'tpope/vim-abolish' +Plug 'tpope/vim-characterize' Plug 'tpope/vim-endwise' Plug 'tpope/vim-eunuch' Plug 'tpope/vim-fugitive' @@ -836,8 +837,9 @@ let g:ycm_language_server = " vim-easy-align {{{2 " start interactive EasyAlign in visual mode -vmap (EasyAlign) -nmap ga (EasyAlign) +vmap :echohl WarningMsg \| echo "EasyAlign mapped to a now" \| echohl None +vmap a (EasyAlign) +nmap a (EasyAlign) " vim-gtest {{{2 let g:gtest#highlight_failing_tests = 0