I have searched the help docs, and this doesn’t seem to be possible, yet it is important for prose writers [I know that you can select sentences with the mouse. I need a keyboard shortcut or a potential keyboard shortcut]
What I’m trying to do
I am a prose writer, not a coder, which means that my unit of meaning is the sentence, not the line. Almost every editor I know of recognises the line as a semantic unit, and so has commands to select a line, move to each end, delete it, copy it, and so on. Very few indeed have the corresponding commands for sentences.
Vim does, I think; and of course full-blown word processors like Word and LibreOffice do. The concept certainly exists in Java, because I once had to hack together a couple of macros to do this in a mind mapper written in Java. Scrivener can be taught to do this with Keyboard Maestro or AutoHotKey. Is there a chance that Obsidian could be taught to do this, too?
The lack is one thing holding me back from a full scale commitment to the program. The other is the lack of a proper web clipper, but I’m sure that will be remedied in time.
You mention vim – as a workaround you might see if vim mode has shortcuts for what you want. Of course that means writing in vim mode so maybe that’s not what you want to do.
Again this will change if you use mac, so experiment a bit with the combination of arrow keys (plus a combination of shift, control or alt if you are in windows or command , option if you are in mac) for different results.
Thank you both. A little poking around on discord, and looking at the Codemirror source, revealed the answer – at least in vim mode. <esc>) and ( will jump around by sentence; <esc>da ) or ( will delete to the end or beginning of the sentence from the cursor.
All I need now do is map those commands onto the chords that my fingers are used to, and there is autohotkey/keyboard maestro for that.
I respect the power of vim, and I use it when I am fooling with raspberry pis, but I don’t think in modes and doing so slows me down when I don’t want my fingers to get in the way of my brain.
I honestly think Vim helps you speed up the process of using the mouse to a keyboard centered system. After learning it, it makes the process of writing and editing text effortless and helps reduce interruptions to think clearly. At least that’s my experience.
YEs, thanks. I have discovered this, and use it. But it doesn’t clip straight to Obsidian, as I’d wish; and I would also like to implement automatic tagging for the system that I use. That last bit would be perfectly doable with a python script that went through the download files automatically. And I suppose I could set up an obsidian vault for the clips to be dropped into … hmmm.