vim: ctrl+s

This commit is contained in:
Michael Grote 2021-08-19 11:16:21 +02:00
parent 444377048b
commit 3fc16dbb39
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,6 @@
# deaktiviert Flow-Control
# https://unix.stackexchange.com/questions/332791/how-to-permanently-disable-ctrl-s-in-terminal
stty -ixon
# rg, gibt nur Dateipfade aus, sucht nur nach Dateinamen
function rgf {
rg --files -g "*$1*"

2
.vimrc
View file

@ -69,6 +69,8 @@ set mouse=a " Enable mouse drag on window splits
set clipboard=unnamedplus " https://unix.stackexchange.com/questions/12535/how-to-copy-text-from-vim-to-an-external-program
" Keybindings
" Ctrl+S zum speichern
nmap <C-s> :w<CR>
" leader-key
:let mapleader = ","