This forum has been archived. All content is frozen. Please use KDE Discuss instead.

vim in Konsole is initially displayed not on full window

Tags: None
(comma "," separated)
rsupremo
Registered Member
Posts
51
Karma
0
OS
when I run vim in Konsole it does not fill the full size of the window, rather only part (see img). When I resize the Konsole window it fills the full window and the same when I switch Konsole tab. When I have vim opened from Midnight Commander upon exiting it also changes MC graphics surface to only portion of the window.

When opening MC normally it's ok. Seems that vim messes the graphics up.


I have Kubuntu 12.04

Here is output of
Code: Select all
dpkg -i | grep vim


ii vim 2:7.3.429-2ubuntu2.1 Vi IMproved - enhanced vi editor
ii vim-common 2:7.3.429-2ubuntu2.1 Vi IMproved - Common files
ii vim-gnome 2:7.3.429-2ubuntu2.1 Vi IMproved - enhanced vi editor - with GNOME2 GUI
ii vim-gui-common 2:7.3.429-2ubuntu2.1 Vi IMproved - Common GUI files
ii vim-runtime 2:7.3.429-2ubuntu2.1 Vi IMproved - Runtime files
ii vim-tiny 2:7.3.429-2ubuntu2.1 Vi IMproved - enhanced vi editor - compact version


Image

Last edited by rsupremo on Wed Jan 29, 2014 6:15 pm, edited 1 time in total.


openSUSE 13.2, KDE 4.14.2
Arch Linux, KDE 4.14.7
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Is only Vim affected by this, or is Midnight Commander also affected? (Prior to any usage of Vim that is)


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
rsupremo
Registered Member
Posts
51
Karma
0
OS
Nope. When opening MC its ok. When starting vim from MC then MC acts strangely . Except changing the screen size also for example Ctrl + o - showing console without closing MC app - produces screen mess with combination of graphics of terminal promp and blue parts of MC (which should not be seen at all after ctrl + o ).


openSUSE 13.2, KDE 4.14.2
Arch Linux, KDE 4.14.7
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
If you open Vim by itself, does it behave incorrectly? (Trying to determine if it is a Vim <-> MC <-> Konsole interaction issue, or just a pure Vim <-> Konsole interaction issue)


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
rsupremo
Registered Member
Posts
51
Karma
0
OS
Sorry if my initial post was not clear.

it is Konsole <-> Vim issue. That MC issue was meant as an additionaly information. The cause is definitely vim.

Solution found: It was columns & lines setting in .vimrc I forgot about. I removed it and now its fullscreen and after closing when run from MC things are ok.
Thanks for effort.


openSUSE 13.2, KDE 4.14.2
Arch Linux, KDE 4.14.7


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, Sogou [Bot]