Open3

Weztermの設定

MasatMasat

https://wezfurlong.org/wezterm/
Weztermがかなり思い通りの動作をするため最低限の設定をして常用してみる。luaで設定ファイルを書けるためいじりがいがありそうだ。
乱視のためフォントは大きめ。

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',
    },
  },
}
MasatMasat
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 },
      },
    },
  },
}
MasatMasat

少し修正

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 },
      },
    },
  },
}