You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let &t_8f="\<Esc>[38;2;%lu;%lu;%lum"let &t_8b="\<Esc>[48;2;%lu;%lu;%lum"settermguicolors
will do the trick.
Resize Panes on Keyboard
You may just use mouse though
This assumes that you've hit ctrl + b and : to get to the command prompt
:resize-pane -D (Resizes the current pane down)
:resize-pane -U (Resizes the current pane upward)
:resize-pane -L (Resizes the current pane left)
:resize-pane -R (Resizes the current pane right)
:resize-pane -D 10 (Resizes the current pane down by 10 cells)
:resize-pane -U 10 (Resizes the current pane upward by 10 cells)
:resize-pane -L 10 (Resizes the current pane left by 10 cells)
:resize-pane -R 10 (Resizes the current pane right by 10 cells)
Border Chaos
If I split the panes vertically, the first column of the right pane is overwritten by the border.
It turns out to be the old problem with MinTTY. As you can see on the top-middle of the screenshot, the border is displayed in full width (2 chars), with introduced the chaos.
To solve it, inspired by mintty/mintty#615, all you need to do is Options → Text → Locale: C (Or any language with sane character width). And the broken vim airline is solved too!
The text was updated successfully, but these errors were encountered:
View Post on Blog
Cheat Sheet
Image source is in the image
Enable 256 color vim
From https://superuser.com/a/1459904
First, outside tmux, you need:
export TERM=xterm-256color
in
.tmux.conf
:And don't forget to source config manually:
tmux source-file ~/.tmux.conf
All above make sure tmux have full 256 colors support.
And in your
vimrc
, add:Enable True Color for vim
From tmux/tmux#1246 and https://github.com/lifepillar/vim-solarized8#troubleshooting
Basically,
will do the trick.
Resize Panes on Keyboard
This assumes that you've hit ctrl + b and : to get to the command prompt
Border Chaos
If I split the panes vertically, the first column of the right pane is overwritten by the border.
It turns out to be the old problem with MinTTY. As you can see on the top-middle of the screenshot, the border is displayed in full width (2 chars), with introduced the chaos.
To solve it, inspired by mintty/mintty#615, all you need to do is Options → Text → Locale: C (Or any language with sane character width). And the broken vim airline is solved too!
The text was updated successfully, but these errors were encountered: