Dotfiles V.1.2.0
This commit is contained in:
25
.config/wezterm/plugins/opencode.lua
Normal file
25
.config/wezterm/plugins/opencode.lua
Normal file
@@ -0,0 +1,25 @@
|
||||
local wezterm = require("wezterm")
|
||||
local actions = wezterm.action
|
||||
|
||||
local module = {}
|
||||
|
||||
module.keys = {
|
||||
{
|
||||
key = "o",
|
||||
mods = "LEADER",
|
||||
action = actions.SplitPane({
|
||||
direction = "Right",
|
||||
command = {
|
||||
args = {
|
||||
"/bin/zsh",
|
||||
"-l",
|
||||
"-c",
|
||||
"/Users/jirayu/.opencode/bin/opencode",
|
||||
},
|
||||
},
|
||||
size = { Percent = 50 },
|
||||
}),
|
||||
},
|
||||
}
|
||||
|
||||
return module
|
||||
Reference in New Issue
Block a user