On 2018-11-21, Vedant Roy wrote:
> I have the following .tmux.conf:
> 
> # remap prefix from 'C-b' to 'C-a'
> unbind C-b
> set-option -g prefix C-a
> bind-key C-a send-prefix
> 
> # split panes using | and \
> 
> bind \ split-window -h
> bind - split-window -v
> unbind '"'
> unbind %
> 
> # switch panes using Alt-arrow without prefix
> bind -n M-Left select-pane -L
> bind -n M-Right select-pane -R
> bind -n M-Up select-pane -U
> bind -n M-Down select-pane -D
> 
> # Enable mouse mode (tmux 2.1 and above)
> set -g mouse on
> 
> 
> #256 Color Support?
> set -g default-terminal "tmux-256color"
> 
> I use this configuration so tmux will support italics, bold, underline, and
> strikethrough. However, when I launch vim in tmux I get the following error:
> 
> screenshot_of_vim_in_tmux

You appear to be missing the package that includes the terminfo
definition of tmux-256color.  On Ubuntu, that would be ncurses-term.
I don't know what it is on Red Hat systems; it may be just ncurses.

In the future, it would be better to copy the error message from the
screen and paste it into your email rather than using a screen shot.

Regards,
Gary

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui