Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tmux support #18

Open
krampstudio opened this issue Nov 16, 2015 · 2 comments
Open

Tmux support #18

krampstudio opened this issue Nov 16, 2015 · 2 comments

Comments

@krampstudio
Copy link
Collaborator

It appears some mappings, like <s-left> doesn't work inside a tmux pane.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@usebaz
Copy link

usebaz commented Sep 4, 2017

Add in your ~/.vim/local.vim next condition:

if &term =~ '^screen'
  " tmux will send xterm-style keys when its xterm-keys option is on
  execute "set <xUp>=\e[1;*A"
  execute "set <xDown>=\e[1;*B"
  execute "set <xRight>=\e[1;*C"
  execute "set <xLeft>=\e[1;*D"
endif

It`s works for me.

Also work if set TERM to xterm-256color(default I have screen-256color)

@krampstudio
Copy link
Collaborator Author

@usebaz looks great. I'll try to integrate the config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants