From aa37daf57c9be3ed162fe146fe470aeaa07d64df Mon Sep 17 00:00:00 2001 From: zymon Date: Wed, 28 Aug 2024 00:07:55 +0200 Subject: [PATCH] wezterm keys paste --- config/wezterm/wezterm.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config/wezterm/wezterm.lua b/config/wezterm/wezterm.lua index f38868e..2601758 100644 --- a/config/wezterm/wezterm.lua +++ b/config/wezterm/wezterm.lua @@ -1,4 +1,5 @@ local wezterm = require 'wezterm' +local act = wezterm.action return { font = wezterm.font 'ZedMono Nerd Font', @@ -11,7 +12,10 @@ return { -- the current cell background color, rather than replace it selection_bg = 'rgba(50% 50% 50% 50%)', }, - + keys = { + { key = 'v', mods = 'ALT', action = act.PasteFrom 'Clipboard' }, + { key = 'v', mods = 'ALT', action = act.PasteFrom 'PrimarySelection' }, + }, window_background_opacity = 0.7, text_background_opacity = 0.3, color_scheme = 'Tokyo Night',