Please consider implementing shift + up arrow on operators such as >>= which are overloaded in languages like Algol68, Perl and Ruby and so need to be tracked.
This does not make sense.
Shift + up extends selection to the line above, it has nothing to do with operators.
ctrl + up arrow - not shift + up arrow - apologies: ctrl + up/down is so very useful that I now do it without thinking about the actual keys used,
Somehow it makes less sense now.
Given:
**input=>$file**
If I place the cursor on **input** or **file** and press **ctrl+up** then the cursor jumps to the next instance of the word, but if I place the cursor in the middle of **=>** and press **ctrl+up** nothing happens even though there are other **=>** present in the file.
Please consider making it possible to jump on items like: **=>**
Thanks!
For example as in: [Build.txt](https://github.com/geany/geany/files/1267956/Build.txt)
When l press ctrl+right, it skips a word. Why is this key combination not in the settings?
@philiprbrenan It might work if you include your operator symbols in [wordchars](http://www.geany.org/manual/current/index.html#id5) for that filetype. <kbd>Ctrl</kbd>+<kbd>Up</kbd> just jumps to the previous paragraph, so it might use `wordchars` to figure out how to do that. It might make other stuff behave strangely though (ex. it's used for double-click selection and other stuff). Could be worth testing.
Thank you for the suggestion. I have just tested this and it does not seem to make any difference.
@HybridDog there are a number of [keyboard commands](http://www.geany.org/manual/current/index.html#scintilla-keyboard-commands) built in to Scintilla (editor widget) which are not exposed by the Preferences GUI for changing (though they could be if someone wants to make a patch).
@HybridDog A very interesting list which I will study to update my geany technique. However, it does not seem to provide me with a method for jumping between => and other operators.
I have just tested this and it does not seem to make any difference.
Bummer.
The requested feature is unlikely to be implemented in Geany since it's very language specific and so would require teaching Geany's code about all of Perl's operators (oh lord!), and those of all other languages.
It might be plausible if you could come up with a specification/algorithm for the behaviour more generally in terms of "words" and "white space" and such, which are not language-specific.
For example:
If the caret is on a non-word, non-whitespace character, and the command is activated, it should jump to the start of the previous non-word, non-whitespace character which is not a comma or brace/bracket or a ...
Accordingly I propose that:
If the caret is in an item delimited by whitespace and ctrl+up or ctrl_+ down is pressed then the caret should move to the next instance of that item similarly delimited.
@philiprbrenan sounds plausible, do you mind updating the title/description of the Issue?
Keep in mind though, that with Geany's minimal manpower, unless you or some other contributor gets motivated enough to implement this, it's still unlikely to get added, unfortunately.
A note to all, the keyboard commands inherited from Scintilla are listed in the manual http://www.geany.org/manual/current/index.html#keyboard-commands
If I place the cursor on input or file and press **ctrl+up** then the cursor jumps to the next instance of the word, but if I place the cursor in the middle of **=>** and press **ctrl+up** nothing happens even though there are other **=>** present in the file.
This doesn't look like a stock Geany configuration; as @codebrainz said <kbd>Ctrl+Up</kbd> just skips a paragraph in the stock configuration, so if it really jumps to the next occurrence of the current word it means you either have a plugin enabled, or changed the <kbd>Ctrl+Up</kbd>/<kbd>Ctrl+Down</kbd> keybindings to something else, maybe *Find Next/Previous Selection*. Those two use either the current selection or the current "word", which as @codebrainz mentioned would have then to be defined differently if you'd like it to include non-wordchars.
github-comments@lists.geany.org