简体   繁体   中英

Cursive navigate forward/back word within a comment line

Alt-left & Alt-right (the emacs key-bindings that work across many apps in Mac OS, including as I type now into chrome), instead of doing forward and back word , go forward and back form (ie lisp form). This is a much higher level navigation, frustrating at first, but actually turns out quite usable because you can just bump one char into a form if you don't want to jump over it, then you can navigate by word within it just fine.

This is fine except within a comment line. There, the usual forward and back word break completely, simply jumping you back to the previous form (comment lines are ignored) or on to the next.

It would be great to be able to make cursive/intellij respect forward/back word within a comment line if possible but I have no idea how to modify this particular behaviour. It seems deeper than just modifying a key binding, if I'm correct.

It turns out these keys in cursive/intellij are bound by default as follows (note Alt-right is by default bound to both of the below):

键绑定 1

and

键绑定 1

The second was overriding the first, the one wanted here.

So by removing the alt binding to make it look like:

在此处输入图像描述

Plus the same for back, it now works as desired:)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM