vimrc: Add shortcut to unindent with Shift-Tab

This commit is contained in:
Lexi / Zoe 2024-03-06 18:41:04 +01:00
parent 4cf3083fd8
commit 30e3ab0742
Signed by: binaryDiv
GPG Key ID: F8D4956E224DA232
1 changed files with 3 additions and 0 deletions

3
.vimrc
View File

@ -139,6 +139,9 @@ inoremap <A-j> <C-o>j
inoremap <A-k> <C-o>k
inoremap <A-l> <C-o>l
" Unindent with Shift-Tab
inoremap <S-Tab> <C-o><<
" Copy and to X clipboard (Ctrl-C in visual mode and Ctrl-V in insert mode)
vmap <C-C> "+y
imap <C-V> <C-\><C-O>"+P