plugin Vim Mode (CudaText)

Plugins for SynWrite and CudaText...
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

agree. colored entire statusbar. Updated.
oO0XX0Oo
Posts: 18
Joined: 19.11.2018 21:51

Post by oO0XX0Oo »

Looks fantastic!

Vim mode is global, so it's current mode is used in all existing tabs.

Could this be changed so that it is per tab?

And one minor thing:
Put the cursor at the end of a line. Be in command mode. Press "a".
All vim implementations I know stay on that line (in the same position)
instead of jumping to the first char of the next line...
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

per-tab? not possible easily.
Cmd 'a' at end: fixed. Plugins/ AddonManager/ Install from Github, and enter URL
https://github.com/CudaText-addons/cuda_vim_mode
oO0XX0Oo
Posts: 18
Joined: 19.11.2018 21:51

Post by oO0XX0Oo »

Ok, thanks for the fix!
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

Task-2 is done. Command dot. updated, pls test it.
Task-1 - will try
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

Plugin asks (make persistent mode?) on turning on/off. Maybe no need to ask on turning off?
oO0XX0Oo
Posts: 18
Joined: 19.11.2018 21:51

Post by oO0XX0Oo »

Task-2 is done. Command dot. updated, pls test it
On first tests it looks good. E.g. line deletions, pasting from clipboard (yanked before via "Y") :D

One request for a change:
"Y" yanks full lines but it doesn't include the line ending
"V" = same as above (in a multiple line selection the last line ending isn't included)

They need to include it because their expected behavior is to insert the content of the last yanked
clip at the next line (right under the line(s) that were yanked).
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

fixed cmds Y and V. Pls try. "Install from Github" and enter URL.
oO0XX0Oo
Posts: 18
Joined: 19.11.2018 21:51

Post by oO0XX0Oo »

It isn't 100% right...

Pasting yanked lines (Y / V) put the buffers content after the current cursor
position instead of using the beginning of the line. Additionally the cursor
advances to the next character on each paste.

Both things shouldn't happen, otherwise you'll indent each additional paste
by one character...
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

You paste by "p"? what text is selected and how to repeat by steps?
Post Reply