From 654b18d9cd8d74614afed412cadf2e9be1d06266 Mon Sep 17 00:00:00 2001 From: mg Date: Mon, 27 Mar 2023 14:20:01 +0200 Subject: [PATCH] vim: backticks --- .vimrc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.vimrc b/.vimrc index c9e2584..484050f 100644 --- a/.vimrc +++ b/.vimrc @@ -24,8 +24,6 @@ Plugin 'ctrlpvim/ctrlp.vim' Plugin 'itspriddle/vim-shellcheck' " git integration G: Plugin 'tpope/vim-fugitive' -" vim-surround -Plugin 'tpope/vim-surround' " statusline Plugin 'itchyny/lightline.vim' " ausrichten von text @@ -160,6 +158,11 @@ let g:startify_lists = [ " Trigger a highlight in the appropriate direction only when pressing these keys: let g:qs_highlight_on_keys = ['f', 'F', 't', 'T'] +" wrap words with `` +" https://stackoverflow.com/questions/24555192/command-for-putting-backticks-around-the-current-word +nnoremap ciw``"`` +xnoremap c``"`` + " ### Keybindings " deaktiviere Ex-Mode keybinding nnoremap Q