change wezterm config syntax
This commit is contained in:
parent
da9847ec9d
commit
b9d9af9505
1 changed files with 4 additions and 3 deletions
|
@ -1,13 +1,14 @@
|
||||||
local wezterm = require("wezterm")
|
local wezterm = require("wezterm")
|
||||||
|
local act = wezterm.action
|
||||||
|
|
||||||
local M = {}
|
local M = {}
|
||||||
|
|
||||||
M.keys = {
|
M.keys = {
|
||||||
{ key = "C", mods = "CTRL|SHIFT", action = wezterm.action { CopyTo = "ClipboardAndPrimarySelection" } },
|
{ key = "C", mods = "CTRL|SHIFT", action = act.CopyTo "ClipboardAndPrimarySelection" },
|
||||||
-- paste from the clipboard
|
-- paste from the clipboard
|
||||||
{ key = "V", mods = "CTRL|SHIFT", action = wezterm.action { PasteFrom = "Clipboard" } },
|
{ key = "V", mods = "CTRL|SHIFT", action = act.PasteFrom "Clipboard" },
|
||||||
-- paste from the primary selection
|
-- paste from the primary selection
|
||||||
{ key = "V", mods = "CTRL|SHIFT", action = wezterm.action { PasteFrom = "PrimarySelection" } },
|
{ key = "V", mods = "CTRL|SHIFT", action = act.PasteFrom "PrimarySelection" },
|
||||||
-- change font size
|
-- change font size
|
||||||
{ key = "-", mods = "CTRL", action = "DecreaseFontSize" },
|
{ key = "-", mods = "CTRL", action = "DecreaseFontSize" },
|
||||||
{ key = "+", mods = "CTRL", action = "IncreaseFontSize" },
|
{ key = "+", mods = "CTRL", action = "IncreaseFontSize" },
|
||||||
|
|
Loading…
Reference in a new issue