Open3
Weztermの設定
乱視のためフォントは大きめ。
local wezterm = require 'wezterm'
local act = wezterm.action
return {
font_size = 18.0,
font = wezterm.font('HackGen Console NFJ'),
color_scheme = "Solarized Dark Higher Contrast",
mouse_bindings = {
{
event = { Down = { streak = 1, button = 'Right' } },
mods = 'NONE',
action = act.PasteFrom 'Clipboard',
},
},
}
local wezterm = require 'wezterm'
local act = wezterm.action
return {
font = wezterm.font('HackGen Console NFJ'),
font_size = 20.0,
-- font = wezterm.font('JetBrainsMono Nerd Font Mono'),
color_scheme = "Solarized Dark Higher Contrast",
mouse_bindings = {
{
event = { Down = { streak = 1, button = 'Right' } },
mods = 'NONE',
action = act.PasteFrom 'Clipboard',
},
},
keys = {
-- This will create a new split and run the `top` program inside it
{
key = 'F1',
mods = 'NONE',
action = act.SplitPane {
direction = 'Right',
-- command = { args = { 'top' } },
size = { Percent = 50 },
},
},
{
key = 'F2',
mods = 'NONE',
action = act.SplitPane {
direction = 'Down',
-- command = { args = { 'top' } },
size = { Percent = 50 },
},
},
},
}
少し修正
local wezterm = require 'wezterm'
local act = wezterm.action
local pane =wezterm.pane
return {
font = wezterm.font('HackGen Console NF'),
font_size = 18.0,
-- font = wezterm.font('JetBrainsMono Nerd Font Mono'),
color_scheme = "Solarized Dark Higher Contrast",
mouse_bindings = {
-- 選択したテキストをコピー
{
event = { Up = { streak = 1, button = 'Left' } },
mods = 'NONE',
action = act.CopyTo 'ClipboardAndPrimarySelection',
},
-- 右クリックでペースト
{
event = { Down = { streak = 1, button = 'Right' } },
mods = 'NONE',
action = act.PasteFrom 'Clipboard',
},
},
keys = {
-- This will create a new split and run the `top` program inside it
{
key = 'F1',
mods = 'NONE',
action = act.SplitPane {
direction = 'Right',
-- command = { args = { 'top' } },
size = { Percent = 50 },
},
},
{
key = 'F2',
mods = 'NONE',
action = act.SplitPane {
direction = 'Down',
-- command = { args = { 'top' } },
size = { Percent = 50 },
},
},
},
}