1
0
mirror of https://github.com/chylex/IntelliJ-AceJump.git synced 2025-09-15 14:32:08 +02:00

2 Commits

Author SHA1 Message Date
2dacffd6d0 [WIP] Change plugin version 2021-02-17 03:58:09 +01:00
93b069ee21 [WIP] Remove word start jump to simplify 2021-02-17 03:58:08 +01:00
2 changed files with 5 additions and 6 deletions

View File

@@ -43,4 +43,4 @@ intellij {
}
group = "org.acejump"
version = "4.0"
version = "chylex"

View File

@@ -8,8 +8,8 @@ import org.acejump.session.TypeResult
class JumpMode : SessionMode {
companion object {
private val JUMP_HINT = arrayOf(
"<f>[J]</f>ump / <f>[L]</f> past Query / <f>[M]</f> Line End",
"Word <f>[S]</f>tart / <f>[E]</f>nd"
"<f>[J]</f>ump / <f>[L]</f> past Query",
"<f>[E]</f> Word End / <f>[M]</f> Line End"
)
val JUMP_ALT_HINT = JUMP_HINT.map { it.replace("<f>[J]</f>ump ", "<f>[J]</f> at Tag ") }.toTypedArray()
@@ -17,9 +17,8 @@ class JumpMode : SessionMode {
val JUMP_ACTION_MAP = mapOf(
'J' to AceTagAction.JumpToSearchStart,
'L' to AceTagAction.JumpPastSearchEnd,
'M' to AceTagAction.JumpToLineEnd,
'S' to AceTagAction.JumpToWordStart,
'E' to AceTagAction.JumpToWordEnd
'E' to AceTagAction.JumpToWordEnd,
'M' to AceTagAction.JumpToLineEnd
)
val SELECT_HINT = arrayOf(