Closed cmygray closed 1 year ago
I'll look into the split_pane issue and try to get a fix in for that soon :)
For the second line, you need to use cli split-pane
. exec
is just a wrapper around the wezterm
executable, and split-pane
is namespaced under the cli
subcommand. So this should work until I have the issue fixed:
nnoremap <C-w>V :lua require('wezterm').exec({ 'cli', 'split-pane', '--right', '--cwd', 'CURRENT_DIR'})<CR>
Exact. Thanks 🙂
I'd like to pass vim current dir to function like this:
But both two functions doesn't allow. (I think
exec
doesn't work passingsplit_pane
) What do you think about it?