mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-31 14:24:25 +03:00
Make '>' first jump to the beginning of the branch, and only then to the first commit
This commit is contained in:
@ -138,7 +138,9 @@ func (self *ListController) HandleGotoTop() error {
|
||||
}
|
||||
|
||||
func (self *ListController) HandleGotoBottom() error {
|
||||
return self.handleLineChange(self.context.GetList().Len())
|
||||
bottomIdx := self.context.IndexForGotoBottom()
|
||||
change := bottomIdx - self.context.GetList().GetSelectedLineIdx()
|
||||
return self.handleLineChange(change)
|
||||
}
|
||||
|
||||
func (self *ListController) HandleToggleRangeSelect() error {
|
||||
|
Reference in New Issue
Block a user