G -> переход в конец файла
parent
b043994381
commit
41c04b1dbf
|
@ -99,6 +99,9 @@ class VimModel:
|
||||||
case "gg": # Переход в начало файла
|
case "gg": # Переход в начало файла
|
||||||
self.currentLine = 0
|
self.currentLine = 0
|
||||||
self.currentCol = 0
|
self.currentCol = 0
|
||||||
|
case "G": # Переход в конец файла
|
||||||
|
self.currentLine = len(self.displayBuffer) - 1
|
||||||
|
self.currentCol = len(self.displayBuffer[self.currentLine])
|
||||||
return ReturnCode.GOOD
|
return ReturnCode.GOOD
|
||||||
|
|
||||||
def Enter(self) -> None:
|
def Enter(self) -> None:
|
||||||
|
|
Loading…
Reference in New Issue