From 6b98838f7e713c77a8bcd1f8085716b6bfa5818f Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Fri, 30 May 2025 15:02:32 +0200 Subject: [PATCH] vim:keys: Remove unneeded mappings These were commented out already for longer. For `(` I have delimitMate and the `` mapping conflicts with the one from coc.nvim (which includes the `u`) --- .config/vim/vimrc.d/40-keys.vim | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.config/vim/vimrc.d/40-keys.vim b/.config/vim/vimrc.d/40-keys.vim index b4de915..bd8490b 100644 --- a/.config/vim/vimrc.d/40-keys.vim +++ b/.config/vim/vimrc.d/40-keys.vim @@ -227,13 +227,9 @@ inoremap col('.') == match(getline('.'), '\S') + 1 ? \ repeat('U', match(getline('.'), '\S') + 0) : \ repeat('U', col('.') - 1 - match(getline('.'), '\S'))) inoremap repeat('U', col('$') - col('.')) -" Make insert-mode texts repeatable by `.` with the closing parentheses at the -" right position -inoremap ( ()U " break undo sequence with every space and newline, making insert mode changes " revertible in smaller chunks inoremap u -inoremap u " Open the manpage in the WORD under cursor nnoremap gm :Man