[kate] [Bug 401400] kate vi mode does not synchronize content from clipboard

2023-12-18 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=401400

Christoph Cullmann  changed:

   What|Removed |Added

 Resolution|--- |WORKSFORME
 CC||cullm...@kde.org
 Status|REPORTED|RESOLVED

--- Comment #15 from Christoph Cullmann  ---
I think the original bug was solved, if I don't misread the comments below.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 401400] kate vi mode does not synchronize content from clipboard

2022-03-11 Thread Andreas
https://bugs.kde.org/show_bug.cgi?id=401400

--- Comment #14 from Andreas  ---
Sorry, my previous comment applies to another bug!

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 401400] kate vi mode does not synchronize content from clipboard

2022-03-11 Thread Andreas
https://bugs.kde.org/show_bug.cgi?id=401400

Andreas  changed:

   What|Removed |Added

 CC||hoheneg...@web.de

--- Comment #13 from Andreas  ---
In fact "as" also behaves differently in kate and vim. Perhaps more with
the "" modification.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 401400] kate vi mode does not synchronize content from clipboard

2021-11-01 Thread Prajna Sariputra
https://bugs.kde.org/show_bug.cgi?id=401400

--- Comment #12 from Prajna Sariputra  ---
Actually, I just realised that there is a key mapping option specifically for
the Vi input mode, so simply substituting p with "+p works. Assuming that
doesn't break anything else (at least compared to Vim with `set
clipboard=unnamedplus`), I guess this bug can be closed then?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 401400] kate vi mode does not synchronize content from clipboard

2021-11-01 Thread Prajna Sariputra
https://bugs.kde.org/show_bug.cgi?id=401400

Prajna Sariputra  changed:

   What|Removed |Added

 CC||putr...@gmail.com

--- Comment #11 from Prajna Sariputra  ---
> now say you copied some text to the clipboard in any other app, you have the 
> two options:
>  - paste that text in kate via Ctrl+V or in vi-mode using "+p
>  - put/paste the text you yanked previously via the p command

So, since that appears to be the intended behaviour, would adding the option to
make the p command use the system clipboard (or more generally have the
internal/default clipboard be synced to the system one) be considered? Vim does
support it via the `set clipboard=unnamedplus` command (not the +clipboard
feature since that only enables system clipboard access).

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 401400] kate vi mode does not synchronize content from clipboard

2020-11-09 Thread Justin Zobel
https://bugs.kde.org/show_bug.cgi?id=401400

Justin Zobel  changed:

   What|Removed |Added

 CC||justin.zo...@gmail.com
  Component|kwrite  |Vi Input Mode

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 401400] kate vi mode does not synchronize content from clipboard

2019-05-23 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=401400

--- Comment #10 from Ahmad Samir  ---
Technically what kate does is:
- if you yank text in vi-mode, you can put/paste in in kate via p command
- that same text is copied to the clipboard so you can paste it anywhere (in
kate or in any other app) via Ctrl+V, this behaviour is specific to kate
- now say you copied some text to the clipboard in any other app, you have the
two options:
 - paste that text in kate via Ctrl+V or in vi-mode using "+p
 - put/paste the text you yanked previously via the p command

I think you should have a look at:
https://vimhelp.org/change.txt.html#copy-move

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 401400] kate vi mode does not synchronize content from clipboard

2019-05-15 Thread Ritesh Raj Sarraf
https://bugs.kde.org/show_bug.cgi?id=401400

--- Comment #9 from Ritesh Raj Sarraf  ---
Created attachment 120084
  --> https://bugs.kde.org/attachment.cgi?id=120084=edit
kate clipboard

No need to confirm for any one. It does look like kate has its own clipboard
for `vi-mode`

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 401400] kate vi mode does not synchronize content from clipboard

2019-05-15 Thread Ritesh Raj Sarraf
https://bugs.kde.org/show_bug.cgi?id=401400

--- Comment #8 from Ritesh Raj Sarraf  ---
(In reply to Ahmad Samir from comment #7)
> In vi-mode, kate behaves like this, IIUC:
> - if you copy text via Ctrl+C or yanking (which is specific to vi-mode), you
> can paste the text with Ctrl+V (in and out of kate) or a plain command p
> - if you copy text from outside kate, you can paste it in kate via Ctrl+v,
> but if you want to paste it via the vi-mode commands you'd have to use "+p
> 

Can you please elaborate a little about using "+p ?
If that is a special case and works, that still is a good thing.

> So, if there's a bug here, I'd say that kate shouldn't copy the text to the
> clipboard if the user yanks the text in vi-mode, that would match the
> behaviour in vim. But I am by no means an expert when it comes to vim or the
> vi-mode in kate, so...


I agree. But that is something for you or the other developers to confirm. Even
in vim, there's the +clipboard feature wherein when you yank something in vim,
it gets copied to the clipboard.

Now, like you said, it could very well be that kwrite/kate is internally having
its own clipboard when run in 'vi mode'. And it copies the buffer to that
clipboard when something is yanked in kate's 'vi mode'. Doesn't feel like that
is what the kate devs must have done, but there is the possibility. And if that
is the case, it'd be nice to have this bug report turned into a Feature Request
to have an option to sync 'vi-mode' copy buffers to the Klipper clipboard.
Essentially, implement the equivalent of vim's +clipboard feature.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 401400] kate vi mode does not synchronize content from clipboard

2019-05-14 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=401400

--- Comment #7 from Ahmad Samir  ---
In vi-mode, kate behaves like this, IIUC:
- if you copy text via Ctrl+C or yanking (which is specific to vi-mode), you
can paste the text with Ctrl+V (in and out of kate) or a plain command p
- if you copy text from outside kate, you can paste it in kate via Ctrl+v, but
if you want to paste it via the vi-mode commands you'd have to use "+p

So, if there's a bug here, I'd say that kate shouldn't copy the text to the
clipboard if the user yanks the text in vi-mode, that would match the behaviour
in vim. But I am by no means an expert when it comes to vim or the vi-mode in
kate, so...

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 401400] kate vi mode does not synchronize content from clipboard

2019-03-26 Thread Ritesh Raj Sarraf
https://bugs.kde.org/show_bug.cgi?id=401400

--- Comment #6 from Ritesh Raj Sarraf  ---
In this video, I have tried to explain the bug.
https://www.youtube.com/watch?v=sUG4FaPoStk

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 401400] kate vi mode does not synchronize content from clipboard

2019-03-26 Thread Ritesh Raj Sarraf
https://bugs.kde.org/show_bug.cgi?id=401400

--- Comment #5 from Ritesh Raj Sarraf  ---
(In reply to Ritesh Raj Sarraf from comment #4)
> (In reply to Ahmad Samir from comment #3)
> > Also by "vi-mode paste" you mean just using Ctrl+v, right?
> 
> NO. "vi-mode paste" would mean you paste using the 'p' key for whatever is
> in the buffer.

Using the 'p' key in "vi-mode's" 'command mode'.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 401400] kate vi mode does not synchronize content from clipboard

2019-03-26 Thread Ritesh Raj Sarraf
https://bugs.kde.org/show_bug.cgi?id=401400

--- Comment #4 from Ritesh Raj Sarraf  ---
(In reply to Ahmad Samir from comment #3)
> I couldn't reproduce this issue. You're using klipper from the system tray
> widget (Configure system tray ->  Clipboard).
> 

Yes, I'm using klipper. I'm surprised that you are not able to reproduce the
issue.


> Also by "vi-mode paste" you mean just using Ctrl+v, right?

NO. "vi-mode paste" would mean you paste using the 'p' key for whatever is in
the buffer.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 401400] kate vi mode does not synchronize content from clipboard

2019-03-26 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=401400

--- Comment #3 from Ahmad Samir  ---
I couldn't reproduce this issue. You're using klipper from the system tray
widget (Configure system tray ->  Clipboard).

Also by "vi-mode paste" you mean just using Ctrl+v, right?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 401400] kate vi mode does not synchronize content from clipboard

2019-03-26 Thread Ritesh Raj Sarraf
https://bugs.kde.org/show_bug.cgi?id=401400

--- Comment #2 from Ritesh Raj Sarraf  ---
(In reply to Ahmad Samir from comment #1)
> Can you still reproduce this issue?

Yes. Very very reproducible. Are you not able to reproduce it with the steps I
have outlined ?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 401400] kate vi mode does not synchronize content from clipboard

2019-03-23 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=401400

Ahmad Samir  changed:

   What|Removed |Added

 CC||a.samir...@gmail.com

--- Comment #1 from Ahmad Samir  ---
Can you still reproduce this issue?

-- 
You are receiving this mail because:
You are watching all bug changes.