Unix Technical Forum

Can't paste text into Konsole running Vim

This is a discussion on Can't paste text into Konsole running Vim within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi, I have two Konsole sessions open in KDE, one running a MySQL monitor session, the other one with ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 04:36 AM
Niki Kovacs
 
Posts: n/a
Default Can't paste text into Konsole running Vim

Hi,

I have two Konsole sessions open in KDE, one running a MySQL monitor
session, the other one with a text I'm writing using vim (not the
graphical GVim!).

Usually, in other graphical terminals (Terminal, xterm, eterm, aterm,
rxvt, ...) I just select ( = highlight) text with the mouse, and then to
paste it into my text, either I click on both mouse buttons, or I press
[Shift] + [Insert]. But this doesn't work here, because the command
seems to get interpreted by vim, rather than Konsole. Which leaves me
clueless.

Any suggestions?

Niki
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 04:36 AM
B.Yanchitsky@gmail.com
 
Posts: n/a
Default Re: Can't paste text into Konsole running Vim

On Sep 24, 5:09 pm, Niki Kovacs <mic...@mouse.com> wrote:
> Hi,
>
> I have two Konsole sessions open in KDE, one running a MySQL monitor
> session, the other one with a text I'm writing using vim (not the
> graphical GVim!).
>
> Usually, in other graphical terminals (Terminal, xterm, eterm, aterm,
> rxvt, ...) I just select ( = highlight) text with the mouse, and then to
> paste it into my text, either I click on both mouse buttons, or I press
> [Shift] + [Insert]. But this doesn't work here, because the command
> seems to get interpreted by vim, rather than Konsole. Which leaves me
> clueless.
>
> Any suggestions?
>
> Niki


vim supplies linux community with quite strange mouse, that blocks X
mouse
to disable mouse
set mouse=
but another problem that often pasted text gets some weird aggressive
indentation

---
Bogdan

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-21-2008, 04:36 AM
James Michael Fultz
 
Posts: n/a
Default Re: Can't paste text into Konsole running Vim

* B.Yanchitsky@gmail.com <B.Yanchitsky@gmail.com>:
[ ... ]
> vim supplies linux community with quite strange mouse, that blocks X
> mouse
> to disable mouse
> set mouse=
> but another problem that often pasted text gets some weird aggressive
> indentation


set noautoindent

or

set noai

--
James Michael Fultz <xyzzy@sent.as.invalid>
Remove this part when replying ^^^^^^^^
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-21-2008, 04:36 AM
James Michael Fultz
 
Posts: n/a
Default Re: Can't paste text into Konsole running Vim

* Niki Kovacs <mickey@mouse.com>:
[ ... ]
> Usually, in other graphical terminals (Terminal, xterm, eterm, aterm,
> rxvt, ...) I just select ( = highlight) text with the mouse, and then to
> paste it into my text, either I click on both mouse buttons, or I press
> [Shift] + [Insert]. But this doesn't work here, because the command
> seems to get interpreted by vim, rather than Konsole. Which leaves me
> clueless.


Hold down the shift key while performing X text selection operations
using the mouse or disable Vim's own mouse support altogether using
'set mouse=' as someone else has also posted.

--
James Michael Fultz <xyzzy@sent.as.invalid>
Remove this part when replying ^^^^^^^^
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-21-2008, 04:36 AM
Jerry Peters
 
Posts: n/a
Default Re: Can't paste text into Konsole running Vim

James Michael Fultz <xyzzy@sent.as.invalid> wrote:
> * B.Yanchitsky@gmail.com <B.Yanchitsky@gmail.com>:
> [ ... ]
>> vim supplies linux community with quite strange mouse, that blocks X
>> mouse
>> to disable mouse
>> set mouse=
>> but another problem that often pasted text gets some weird aggressive
>> indentation

>
> set noautoindent
>
> or
>
> set noai
>

I use "set paste".
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-21-2008, 04:36 AM
Niki Kovacs
 
Posts: n/a
Default Re: Can't paste text into Konsole running Vim

B.Yanchitsky@gmail.com a écrit :
> vim supplies linux community with quite strange mouse, that blocks X
> mouse
> to disable mouse
> set mouse=


Hey! That works! Thanks!

> but another problem that often pasted text gets some weird aggressive
> indentation


:set noautoindent

Cheers,

Niki
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-21-2008, 04:36 AM
B.Yanchitsky@gmail.com
 
Posts: n/a
Default Re: Can't paste text into Konsole running Vim

On Sep 24, 11:15 pm, Jerry Peters <je...@example.invalid> wrote:
> I use "set paste".


thanks, this works.
Don't know why, but
set noai
does not cure for my case.
The problem only for text lines containing space character as first.

--
Bogdan

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:26 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com