Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selecting to beginning of line doesn't work #57

Open
shukmeister opened this issue Feb 5, 2023 · 3 comments
Open

Selecting to beginning of line doesn't work #57

shukmeister opened this issue Feb 5, 2023 · 3 comments

Comments

@shukmeister
Copy link

Selecting a line creates inconsistent behavior.

I set "Go to start of line" to ⌃← and "Go to end of line" to ⌃→ and this works properly.

However, when I try to select the words that I'm trying to move past by holding shift (⇧), the cursor jumps much farther in the text then where the line ends. For example, if I select ⇧⌃←, instead of going to the start of the line, the selection goes back through the doc to the first bullet point it reaches. Using ⇧⌃← on a bullet pointed line seems to have proper behavior.

Obsidian Version 1.1.9 on macOS Ventura 13.0.1 on a M2 Macbook AIr (2022). Code editor shortcuts v1.13.0

@timhor
Copy link
Owner

timhor commented Feb 6, 2023

Are you able to reproduce this on a new vault with the default set of hotkeys and no other plugins enabled?

I attempted the same thing (with a slight variation of the hotkey*) but the cursor doesn't move at all with Shift held down.

*I couldn't seem to assign ⌃← or ⌃→ to a command at all, so this was with ⌃⌥←

@shukmeister
Copy link
Author

@timhor, I was able to replicate the behavior on a fresh vault but I figured out what the problem is. When I copy + paste some text that has bullet points, the bullets don't translate properly into obsidian's MD bullet format so when I press "⌃←" the cursor jumps all the way back to the first instance of a obsidian-style bullet point. The bullet points that I copy in look like dashes "-" while the obsidian style look like circles. I am able to fix the behavior by manually changing all the pasted bullet points into the obsidian style bullet points one at a time

@timhor
Copy link
Owner

timhor commented Feb 7, 2023

Ah alright, glad you found a fix. Does that solve the original issue you were having then?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants