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" group = "org.acejump"
version = "4.0" version = "chylex"

View File

@@ -8,8 +8,8 @@ import org.acejump.session.TypeResult
class JumpMode : SessionMode { class JumpMode : SessionMode {
companion object { companion object {
private val JUMP_HINT = arrayOf( private val JUMP_HINT = arrayOf(
"<f>[J]</f>ump / <f>[L]</f> past Query / <f>[M]</f> Line End", "<f>[J]</f>ump / <f>[L]</f> past Query",
"Word <f>[S]</f>tart / <f>[E]</f>nd" "<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() 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( val JUMP_ACTION_MAP = mapOf(
'J' to AceTagAction.JumpToSearchStart, 'J' to AceTagAction.JumpToSearchStart,
'L' to AceTagAction.JumpPastSearchEnd, 'L' to AceTagAction.JumpPastSearchEnd,
'M' to AceTagAction.JumpToLineEnd, 'E' to AceTagAction.JumpToWordEnd,
'S' to AceTagAction.JumpToWordStart, 'M' to AceTagAction.JumpToLineEnd
'E' to AceTagAction.JumpToWordEnd
) )
val SELECT_HINT = arrayOf( val SELECT_HINT = arrayOf(