vimrc: repeat last edit with a number

This commit is contained in:
surtur 2022-10-30 03:58:49 +01:00
parent b7633afb64
commit 34c73fe86f
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI

@ -1101,6 +1101,11 @@ nnoremap <silent> <Leader>ss
match Todo /\s\+$/ match Todo /\s\+$/
" repeat last edit with a number
nnoremap . :<c-u>execute "norm! " . repeat(".", v:count1)<cr>
" settings
set softtabstop=4 set softtabstop=4
set tabstop=4 set tabstop=4
set shiftwidth=4 set shiftwidth=4