maybe wezterm
parent
0a7f70ba74
commit
b2f4e57538
@ -0,0 +1 @@
|
||||
print("You are in lua")
|
@ -0,0 +1,15 @@
|
||||
from typing import Sequence, Tuple
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
def parse_files(text: str) -> Sequence[Tuple[Path, Path]]:
|
||||
files = []
|
||||
lines = [s for s in text.splitlines() if s]
|
||||
for line in lines:
|
||||
parts = line.split(">", 2)
|
||||
if len(parts) == 1:
|
||||
pair = (Path(parts[0].strip()), Path(parts[0].strip()))
|
||||
else:
|
||||
pair = (Path(parts[0].strip()), Path(parts[1].strip()))
|
||||
files.append(pair)
|
||||
return files
|
@ -0,0 +1,47 @@
|
||||
local wezterm = require 'wezterm'
|
||||
|
||||
local config = wezterm.config_builder()
|
||||
|
||||
-- JellyBeans is not recognized
|
||||
-- config.color_scheme = 'JellyBeans'
|
||||
config.adjust_window_size_when_changing_font_size = false
|
||||
|
||||
-- Set the default starting directory when opening the terminal
|
||||
-- config.default_cwd
|
||||
|
||||
-- The scroll bar is disabled by default but sometimes when you have really
|
||||
-- long output I like it.
|
||||
config.enable_scroll_bar = true
|
||||
|
||||
-- whether or not the tab bar is shown
|
||||
config.enable_tab_bar = true
|
||||
|
||||
-- hide the tab bar in windows that have only one tab
|
||||
config.hide_tab_bar_if_only_one_tab = true
|
||||
|
||||
config.font_size = 14
|
||||
|
||||
config.launch_menu = {
|
||||
{
|
||||
args = { 'lazydocker' },
|
||||
}
|
||||
}
|
||||
|
||||
config.keys = {
|
||||
{
|
||||
key = 'Enter',
|
||||
mods = 'CMD',
|
||||
action = wezterm.action.ToggleFullScreen,
|
||||
},
|
||||
}
|
||||
|
||||
config.native_macos_fullscreen_mode = true
|
||||
|
||||
config.scrollback_lines = 10000
|
||||
|
||||
config.tab_bar_at_bottom = true
|
||||
|
||||
-- config.initial_cols = 90
|
||||
-- config.initial_rows = 24
|
||||
|
||||
return config
|
Loading…
Reference in New Issue