From 34c73fe86fd062592fc3260dc8bccc659ef7c24a Mon Sep 17 00:00:00 2001 From: surtur Date: Sun, 30 Oct 2022 03:58:49 +0100 Subject: [PATCH] vimrc: repeat last edit with a number --- .vim/vimrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.vim/vimrc b/.vim/vimrc index 0b5656b..af8b5cd 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -1101,6 +1101,11 @@ nnoremap ss match Todo /\s\+$/ +" repeat last edit with a number +nnoremap . :execute "norm! " . repeat(".", v:count1) + + +" settings set softtabstop=4 set tabstop=4 set shiftwidth=4