nextjournal / nextjournal/clojure-mode
Cursor makes strange jumps during navigation
Nobody has claimed this yet.
- Dominant language
- Clojure
- Stars
- 174
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
I'd expect this behavior
abc
d|ef
;; press arrow up
a|bc
def
Instead it jumps around! Sometimes to the end of the line, sometimes to the previous cursor column in a the navigated-to line. And sometimes it just works albeit with little quirks:
video: https://cln.sh/Mfuh6i
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the arrow-up navigation behavior in the Clojure/Script CodeMirror 6 mode, using the example and linked video as the expected scenario. Trace how cursor positions are handled when moving between lines, then verify that navigation preserves the intended column consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100