Compare commits
11 Commits
488b5b0887
...
1276b6b877
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1276b6b877 | ||
|
|
89df1b9089 | ||
|
|
363fab82e3 | ||
|
|
de6780f87b | ||
|
|
616b3d8dcb | ||
|
|
0662954103 | ||
|
|
216d364d0b | ||
|
|
6b1e0710f3 | ||
|
|
f0448356e8 | ||
|
|
bb24154747 | ||
|
|
35bcc04cb9 |
46
.wezterm.lua
Normal file
46
.wezterm.lua
Normal file
@@ -0,0 +1,46 @@
|
||||
--
|
||||
local wezterm = require 'wezterm'
|
||||
|
||||
local act = wezterm.action
|
||||
local config = wezterm.config_builder()
|
||||
|
||||
config.check_for_updates = false
|
||||
config.color_scheme = 'Tango (terminal.sexy)'
|
||||
config.font = wezterm.font_with_fallback({'Cousine', 'Noto Color Emoji', 'Noto Sans CJK JP'})
|
||||
config.font_size = 18.0
|
||||
config.hide_mouse_cursor_when_typing = false
|
||||
config.initial_cols = 132
|
||||
config.initial_rows = 43
|
||||
config.line_height = 1.0
|
||||
config.mouse_bindings = {
|
||||
{
|
||||
event = {Up = {streak = 1, button = 'Left'}},
|
||||
mods = 'NONE',
|
||||
action = act.CompleteSelection 'ClipboardAndPrimarySelection',
|
||||
},
|
||||
{
|
||||
event = {Down = {streak = 1, button = 'Middle'}},
|
||||
mods = 'NONE',
|
||||
action = act.Nop,
|
||||
},
|
||||
{
|
||||
event = {Up = {streak = 1, button = 'Middle'}},
|
||||
mods = 'NONE',
|
||||
action = act.OpenLinkAtMouseCursor,
|
||||
}
|
||||
}
|
||||
config.window_padding = {
|
||||
bottom = 0,
|
||||
left = 0,
|
||||
right = 0,
|
||||
top = 0,
|
||||
}
|
||||
|
||||
wezterm.on('format-tab-title', function(tab, tabs, panes, config, hover, max_width)
|
||||
return 'Tab ' .. tab.tab_id
|
||||
end)
|
||||
wezterm.on('format-window-title', function(tab, pane, tabes, panes, config)
|
||||
return 'WezTerm ' .. wezterm.version
|
||||
end)
|
||||
|
||||
return config
|
||||
Reference in New Issue
Block a user