-
Notifications
You must be signed in to change notification settings - Fork 50
Description
Hey, first thanks for this nice plugin!
I've been using this for a while and it works mostly good, except for one type of editing that I do actually a multitude times per day. That is the case of adding single or double quotes around an existing word. Let's say that I have the following text line
apple orange pear
and my goal is to quote the word orange so that the line becomes
apple "orange" pear
If I put my cursor at the the first character of orange and enter insert mode with i
apple orange pear
^
and type ", lexima.vim will insert a closing quote like
apple ""orange pear
In this case it is not desirable. Now I have to press backspace, or go to normal mode and press x to remove one of the quotes.
The same is true for when I will add the closing quote after the word. If I stand at the last character for orange and go to insert mode after the cursor with a
apple "orange pear
^
and I type ", lexima.vim will also auto-close this to
apple "orange"" pear
And once again I have to remove the quote too much.
As this is something that I do many times per day, I would be very keen on finding a way to make lexima.vim not auto-close when being at a word boundary (or maybe there's a better formulated condition here?)!
Is there already a way to configure this, or to re-define the rule for double and single quotes?
Thanks in advance :)