With gg for going to beginning of text
This commit is contained in:
parent
ea2a8c4946
commit
2b3468a8aa
|
@ -667,6 +667,21 @@ Function ProcessSpecialKey(keyChar)
|
|||
ElseIf keyChar = "r" Then
|
||||
setSpecial("r")
|
||||
|
||||
' gg to go to beginning of text
|
||||
ElseIf keyChar = "g" Then
|
||||
If bIsSpecial Then
|
||||
if getSpecial() = "g" Then
|
||||
dim bExpand
|
||||
bExpand = false
|
||||
oTextCursor = getTextCursor()
|
||||
oTextCursor.gotoStart(bExpand)
|
||||
getCursor().gotoRange(oTextCursor.getStart(), False)
|
||||
End If
|
||||
ElseIf MODE = "NORMAL" Or MODE = "VISUAL" Then
|
||||
setSpecial("g")
|
||||
End If
|
||||
|
||||
|
||||
' Otherwise, ignore if bIsSpecial
|
||||
ElseIf bIsSpecial Then
|
||||
bMatched = False
|
||||
|
|
Loading…
Reference in New Issue