bhauman / rebel-readline

Terminal readline library for Clojure dialects
Eclipse Public License 1.0
684 stars 37 forks source link

inconsistent movement of cursor with Ctrl-a Ctrl-e (go to begining/end of the line) shortcuts #209

Open sidesteps opened 4 years ago

sidesteps commented 4 years ago

Do some Ctrl-a Ctrl-e Ctrl-w when editing line to jump around and delete words. Sometimes cursor starts moving unpredictably. As if beginning/end of the line position is calculated incorrectly. Sometimes it resets and starts moving correctly. My config file:

{
 :key-map :viins
 :key-bindings {:vicmd [["^M" :clojure-force-accept-line]
                        ["^J" :clojure-force-accept-line]]

                :viins [["^M" :clojure-force-accept-line]
                        ["^J" :clojure-force-accept-line]
                        ["jk" :vi-cmd-mode]]}
}
prathyk commented 2 years ago

How did you fix this. I'm also having this issue. I do not have my own config overrides too.

sidesteps commented 2 years ago

How did you fix this. I'm also having this issue. I do not have my own config overrides too.

I am using Vim Conjure now. Better idea all around.