Hello there!I have just started to learn Leo and trying to use it's vim mode.First what I miss of is different cursor shape for normal and insert modes.I discovered 'vimmodeinsertborder*' settings but they seem do not work for me - I cannot observe any difference whether they set or not.But even they were working - it is not absolutely what I expect to meet.So my question is: is there any easy way to change cursor shape and color for normal/insert modes?
Second feature I miss alot is vertical select. Looks like Leo does not implement it at all. Am I right?
Thanks for that fast answer.By now I tried vim plugin. It's horribly unusable. The greatest disaster that vim-open-file doesnt force vim to jump to the line of code outline start's with.You just get vim with file open on the first line. Great for 1 thousand lined files :-)
I have just started to learn Leo and trying to use it's vim mode.First what I miss of is different cursor shape for normal and insert modes.
I discovered 'vimmodeinsertborder*' settings but they seem do not work for me - I cannot observe any difference whether they set or not.
Last night I was thinking about how can Leo's vim mimicry can be improved and got a clue: neovim may help.AFAIK it can work as a completely background server an interact with frontend program by HTTP or something like this.Need to read more about it.
/* Vim mode borders... */
QTextEdit#richTextEdit[vim_state~="vim_normal"] {
border: @vim-mode-normal-border;
}
QTextEdit#richTextEdit[vim_state~="vim_insert"] {
border: @vim-mode-insert-border;
}
QTextEdit#richTextEdit[vim_state~="vim_visual"] {
border: @vim-mode-visual-border;
}@string vim-normal-border = border: 3px solid white
@string vim-insert-border = border: 3px solid red
@string vim-visual-border = border: 3px solid yellow
@string vim-unfocused-border = border: 3px dashed whiteThere are four new settings, with defaults as shown:@string vim-normal-border = border: 3px solid white
@string vim-insert-border = border: 3px solid red
@string vim-visual-border = border: 3px solid yellow
@string vim-unfocused-border = border: 3px dashed white
@string vim-mode-normal-border = border: 3px solid white
@string vim-mode-insert-border = border: 3px solid red
@string vim-mode-visual-border = border: 3px solid yellow
@string vim-mode-unfocused-border = border: 3px dashed whiteFor compatibility with ancient settings that may still be lying around, I've added "-mode" to the names of the settings. I had to make this change to avoid still more confusion. Please use these settings:@string vim-mode-normal-border = border: 3px solid white
@string vim-mode-insert-border = border: 3px solid red
@string vim-mode-visual-border = border: 3px solid yellow
@string vim-mode-unfocused-border = border: 3px dashed white
Edward, are there any plans to implement vertical (block) select feature for leo's editor component?This is the only feature I miss a lot.
--
You received this message because you are subscribed to the Google Groups "leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+...@googlegroups.com.
To post to this group, send email to leo-e...@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/12da3d0d-b7ee-44cd-a899-abb282f0b4fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.