From 285f7ecb290f8d3324b32e142d5ab8ebc8ef7cdf Mon Sep 17 00:00:00 2001 From: Oliver Davies <oliver@oliverdavies.uk> Date: Wed, 12 May 2021 11:40:42 +0100 Subject: [PATCH] tmux: Allow clearing the screen --- tag-tmux/tmux.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tag-tmux/tmux.conf b/tag-tmux/tmux.conf index 8f9d9dfc..c834d428 100644 --- a/tag-tmux/tmux.conf +++ b/tag-tmux/tmux.conf @@ -72,3 +72,7 @@ bind-key -T copy-mode-vi 'C-j' select-pane -D bind-key -T copy-mode-vi 'C-k' select-pane -U bind-key -T copy-mode-vi 'C-l' select-pane -R bind-key -T copy-mode-vi 'C-\' select-pane -l + +# Allow clearing screen with ctrl-l by using <prefix> C-l +bind C-l send-keys 'C-l' +bind C-k send-keys 'C-k'