LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-16-2015, 01:39 PM   #1
akseli0x61
LQ Newbie
 
Registered: Aug 2014
Distribution: Arch
Posts: 19

Rep: Reputation: Disabled
Vim scrolling down when opening new pane in tmux


When I have a vim buffer open and i open a new pane vertically in tmux, vim scrolls down few lines.
I didn't really find anything from google and i have no idea on how to debug this..
It's not a big problem but it's annoying, so i'd be glad if somebody has a solution
The terminal i'm using is urxvt if that makes any difference

Last edited by akseli0x61; 04-16-2015 at 01:40 PM. Reason: typo
 
Old 04-17-2015, 06:28 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,420
Blog Entries: 28

Rep: Reputation: 6167Reputation: 6167Reputation: 6167Reputation: 6167Reputation: 6167Reputation: 6167Reputation: 6167Reputation: 6167Reputation: 6167Reputation: 6167Reputation: 6167
I have no idea, but I do have a suggestion. Test it in a couple of other terminals, whatever you have lying around on that box, to see if it happens under them. That will indicate whether the issue lies with the particular terminal or with tmux.

Afterthought: Does the cursor change position in the vim file or does the display itself shift while the cursor remains on the same line?

I doubt it's relevant, but it couldn't hurt to know what distro/version you are running.

Last edited by frankbell; 04-17-2015 at 06:37 PM.
 
Old 04-19-2015, 09:53 AM   #3
akseli0x61
LQ Newbie
 
Registered: Aug 2014
Distribution: Arch
Posts: 19

Original Poster
Rep: Reputation: Disabled
Tried with terminator too and same problem. Vi also does the same. Nano doesn't though..
 
Old 04-19-2015, 08:18 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,420
Blog Entries: 28

Rep: Reputation: 6167Reputation: 6167Reputation: 6167Reputation: 6167Reputation: 6167Reputation: 6167Reputation: 6167Reputation: 6167Reputation: 6167Reputation: 6167Reputation: 6167
I messed about with it a bit the other night. The vim display did not seem to shift, but I would hardly call what I did "testing." I'll try to look at it again tomorrow.
 
  


Reply

Tags
tmux, vim


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vim NERDTree | Auto fresh the directory pane? the_gripmaster Linux - Software 0 09-15-2014 12:44 PM
vim-tmux-putty mapleking3 Linux - Newbie 6 10-22-2013 02:21 AM
[SOLVED] Vim: Scrolling without moving the cursor. stf92 Linux - Newbie 3 04-03-2011 04:15 PM
scrolling in terminal using vim, less, and more deuberger Linux - Software 2 09-30-2010 10:16 AM
Man pages with vim keybindings, and touch pad scrolling j.todd Linux - Desktop 1 10-20-2008 06:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration