treewide: reformat
This commit is contained in:
parent
bfddcef2fd
commit
b54497c7ea
5 changed files with 57 additions and 37 deletions
|
@ -1,22 +1,22 @@
|
|||
local wezterm = require 'wezterm'
|
||||
local wezterm = require("wezterm")
|
||||
|
||||
local cfg = {
|
||||
color_scheme = 'Default Dark (base16)',
|
||||
enable_tab_bar = false,
|
||||
font = wezterm.font('IosevkaTerm Nerd Font'),
|
||||
window_decorations = 'TITLE | RESIZE',
|
||||
font_size = 10.5,
|
||||
native_macos_fullscreen_mode = true,
|
||||
hide_mouse_cursor_when_typing = false,
|
||||
keys = {
|
||||
{ key = "Enter", mods = "CTRL", action = wezterm.action { SendString = "\x1b[13;5u" } },
|
||||
{ key = "Enter", mods = "SHIFT", action = wezterm.action { SendString = "\x1b[13;2u" } },
|
||||
},
|
||||
color_scheme = "Default Dark (base16)",
|
||||
enable_tab_bar = false,
|
||||
font = wezterm.font("IosevkaTerm Nerd Font"),
|
||||
window_decorations = "TITLE | RESIZE",
|
||||
font_size = 10.5,
|
||||
native_macos_fullscreen_mode = true,
|
||||
hide_mouse_cursor_when_typing = false,
|
||||
keys = {
|
||||
{ key = "Enter", mods = "CTRL", action = wezterm.action({ SendString = "\x1b[13;5u" }) },
|
||||
{ key = "Enter", mods = "SHIFT", action = wezterm.action({ SendString = "\x1b[13;2u" }) },
|
||||
},
|
||||
}
|
||||
|
||||
if string.find(wezterm.target_triple, "darwin") then
|
||||
cfg.font_size = 14.0
|
||||
cfg.window_decorations = 'RESIZE'
|
||||
cfg.font_size = 14.0
|
||||
cfg.window_decorations = "RESIZE"
|
||||
end
|
||||
|
||||
return cfg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue