Thanks for this config. Using Tmux is a little bit easier. Because, for example, for resizing the splits, as long as the leader key is active, you can press arrow keys as many times as you want. But in this configure, you have to activate leader key for each action again and again.
I use Tmux for sessions, will this persist the sessions in background? I don't see the way to do it unless Wezterm handles sessions too. If so please let me know the setup process or guide me to the doc/material is use to config.
Thank you for watching my video. I am using oh-my-zsh, and prompt is my own fork of a theme called dragosmara - you can check it out in my github: github.com/dragonlobster/dragosmara.zsh-theme. The color theme is catppuccin. Though I wish to move away from oh-my-zsh in the near future as it is kind of slow.
I set my leader to ctrl a (since this is what I used in tmux), and set switching between panes to ctr hjkl. This works fine, but now it seems like my neovim keymaps that start with control do not work within wezterm. For example, I use control j and k to cycle through my telescope results and that doesnt seem to work anymore. Any ideas as to why this could be happening? Thanks!
Thanks for watching. In my opinion, if you are using wezterm, you do not need tmux. Just use the wezterm configuration file as a base and you should be good to go!
Watch the full video to get my configuration file below!
raw.githubusercontent.com/dragonlobster/wezterm-config/main/wezterm.lua
Just what I was looking for, thanks!
thanks. your config greatly helped with mine.
wezterm is just so freaking awesome man
Thanks for this config. Using Tmux is a little bit easier. Because, for example, for resizing the splits, as long as the leader key is active, you can press arrow keys as many times as you want. But in this configure, you have to activate leader key for each action again and again.
i see what you mean, i think that wezterm may be able to emulate this behavior with the right configuration although i'm not 100% sure.
@@acklackl You are correct. You can use 'key_tables' to achieve this. You can activate a key_table with a leader + key,... do actions on key press (say move panes) and end with the escape key, so you don't have to press leader each time.
i.e:
{ key = "a", mods = "LEADER", action = wezterm.action.ActivateKeyTable({ name = "activate_pane", timeout_milliseconds = 1000 }), },
...
config.key_tables = {
resize_pane = {
{ key = "LeftArrow", action = wezterm.action.AdjustPaneSize({ "Left", 1 }) },
{ key = "h", action = wezterm.action.AdjustPaneSize({ "Left", 1 }) },
{ key = "RightArrow", action = wezterm.action.AdjustPaneSize({ "Right", 1 }) },
{ key = "l", action = wezterm.action.AdjustPaneSize({ "Right", 1 }) },
{ key = "UpArrow", action = wezterm.action.AdjustPaneSize({ "Up", 1 }) },
{ key = "k", action = wezterm.action.AdjustPaneSize({ "Up", 1 }) },
{ key = "DownArrow", action = wezterm.action.AdjustPaneSize({ "Down", 1 }) },
{ key = "j", action = wezterm.action.AdjustPaneSize({ "Down", 1 }) },
-- Cancel the mode by pressing escape
{ key = "Escape", action = "PopKeyTable" },
},
...
You can also achieve it in wezterm.
Cool stuff. 🔥 Keep up the good work. Thx.
Thank you for watching
@@acklackl A video on customising tabs would be cool as well :)
That's fantastic! Now let's implement the sessions :D
Thanks a lot, man! Great content!
thanks for sharing. Very useful. I have updated my config
Thanks for watching, happy it could help!
thanks man was trying to do something similar just find the wezterm docs hard to parse
skill issue i know
I use Tmux for sessions, will this persist the sessions in background? I don't see the way to do it unless Wezterm handles sessions too. If so please let me know the setup process or guide me to the doc/material is use to config.
Great I was just looking for this 👍👍👍👍🎉🎉🎉🎉
Can you also share your zsh prompt config
Thanks for watching my video, feel free to use/modify my zsh prompt here: github.com/dragonlobster/dragosmara.zsh-theme
Great video! Thanks
alt + q is killing my wrist but I like this.
Great video! It gave me some ideas for changes to my WezTerm config. Do you use Neovim? If so, could you make a video of your config?
Thanks for watching and your suggestion, I will work on a Neovim video.
check out helix
what is the name of your shell theme? Like from oh my zsh or posh or power10k or what name? Thx :) looks very nice with the uptime and other stuff
Thank you for watching my video. I am using oh-my-zsh, and prompt is my own fork of a theme called dragosmara - you can check it out in my github: github.com/dragonlobster/dragosmara.zsh-theme. The color theme is catppuccin.
Though I wish to move away from oh-my-zsh in the near future as it is kind of slow.
@@acklackl check out fish
@@acklackl try using starship instead, its very fast and sleak and a perfect match for wezterm imo
I set my leader to ctrl a (since this is what I used in tmux), and set switching between panes to ctr hjkl. This works fine, but now it seems like my neovim keymaps that start with control do not work within wezterm. For example, I use control j and k to cycle through my telescope results and that doesnt seem to work anymore. Any ideas as to why this could be happening? Thanks!
In your config.keys, did you make sure MODS is set to LEADER? otherwise, the wezterm shortcuts may interfere with the neovim shortcuts
Also share your tmux config
Vouch he should do it
Cool but still can't beat vim + tmux + vim-tmux-navigator
My wezterm + ed is a killer compared to all these *vim stuff you mention
Robinson Cynthia Lopez Frank Smith Michael
Hey @acklackl I am using tmxu with wezterm but keys are not working with alt+q, also it would be great if you create neovim videos.
Thanks for watching. In my opinion, if you are using wezterm, you do not need tmux. Just use the wezterm configuration file as a base and you should be good to go!
check out helix