From 8ee10985939ee4640c72e6ac0dda54069284b3e3 Mon Sep 17 00:00:00 2001 From: Felix Nehrke Date: Sun, 25 Sep 2022 02:24:07 +0200 Subject: [PATCH] =?UTF-8?q?Add=20alternativ=20keymapping=20in=20vim=20by?= =?UTF-8?q?=20typing=20"=C3=A4"=20for=20CTRL+]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vimrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.vimrc b/.vimrc index c13b7c7..a045d05 100644 --- a/.vimrc +++ b/.vimrc @@ -123,6 +123,15 @@ highlight CusrsorLine ctermbg=green colorscheme gruvbox8 +" ease CTRL-] since it's very hard to type on german keyboards +" However I can't just remap the command to the matching position since this +" is not a valid input for most unix-terminals. Therefore I just drop the +" CTRL-prefix and use the letter where the bracket would be on us keyboards. +" See: https://stackoverflow.com/a/16748339/4316528 +nnoremap ä +" just don't work right now and that seems like a convenient keybinding +nnoremap ö + " General utilities nnoremap cd :cd %:p:h nnoremap gg :Goyo