Weird tmux vim through ssh -
first ssh server called thor
, set bash prompt, before start tmux looks following
[1.9.3@lizhe] ~ → somecommand
after start tmux, turns this
[1.9.3@lizhe] ~ → somecommand
more space before somecommand
, after typing command hit enter, looks this
[1.9.3@lizhe] ~ → somecommand [1.9.3@lizhe] ~ → somecommand
another big problem vim, it's totally unusable, check following screen record, don't konw how describe it.
i use j
k
move, current line not like, , lines not visiable.
it seems term
variable set wrong.
according man page tmux found here
the term environment variable must set 'screen' programs running inside tmux. new windows automatically have 'term=screen' added environment, care must taken not reset in shell start-up files.
make sure term set screen
or screen-256color
(you can check typing echo $term
). if not check init files such .profile
, .bashrc
, make sure not on write term
variable.
Comments
Post a Comment