From 3fc16dbb3965ffca24e68eb4a6a517f8e5aa7aa5 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 19 Aug 2021 11:16:21 +0200 Subject: [PATCH] vim: ctrl+s --- .bash_functions | 3 +++ .vimrc | 2 ++ 2 files changed, 5 insertions(+) diff --git a/.bash_functions b/.bash_functions index 84c5775..8ef3e63 100644 --- a/.bash_functions +++ b/.bash_functions @@ -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*" diff --git a/.vimrc b/.vimrc index 6a4906b..8e2366f 100644 --- a/.vimrc +++ b/.vimrc @@ -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 :w " leader-key :let mapleader = ","