after terminal split editing a file using vim in tmux goes weird.

26 views
Skip to first unread message

Vinayaka Guntanakkala

unread,
Aug 16, 2021, 4:33:13 AM8/16/21
to tmux-users

Hi everyone,

Am using tmux 2.1. whenever I do split of terminal (iterm2) tmux running on parent window continues to flicker status bar and in this condition editing of file using vim starts behaving weird and scrolling around a file(using h/j/k/l) just gives digits instead of moving to next line/word. 
 
The same issue is seen if I connect Mac book to external monitor (in this case i need not to split the terminal to repro the issue).

any suggestions to solve would really help me.

Example:
$ vi screen-keys.conf
1. #By Nicholas Marriott. Public Domain
2. #
"screen-keys.conf"102L, 1805C
1,1
2
3
4
5
6
7
8
9
10,1
...

tried to solve this by adding 'shopt -s checkwinsize' to .tmux.conf but after reloading this conf it errors as

unknown command shopt


Thanks,
Vinayaka G



Nicholas Marriott

unread,
Aug 16, 2021, 5:32:42 AM8/16/21
to Vinayaka Guntanakkala, tmux-users
tmux 2.1 was released more than 5 years ago and is no longer supported.



--
You received this message because you are subscribed to the Google Groups "tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tmux-users+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/tmux-users/0dbbad5e-0498-41bf-8bec-b5fe7ccefec2n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages