1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-18 05:17:55 +02:00
Jesse Duffield 24a4302c52 Add range selection ability on list contexts
This adds range select ability in two ways:
1) Sticky: like what we already have with the staging view i.e. press v then use arrow keys
2) Non-sticky: where you just use shift+up/down to expand the range

The state machine works like this:
(no range, press 'v') -> sticky range
(no range, press arrow) -> no range
(no range, press shift+arrow) -> nonsticky range
(sticky range, press 'v') -> no range
(sticky range, press arrow) -> sticky range
(sticky range, press shift+arrow) -> nonsticky range
(nonsticky range, press 'v') -> no range
(nonsticky range, press arrow) -> no range
(nonsticky range, press shift+arrow) -> nonsticky range
2024-01-19 10:47:21 +11:00
..
2022-03-18 21:36:28 +11:00
2022-03-18 21:36:28 +11:00
2019-09-01 21:24:03 +10:00
2022-03-18 21:36:28 +11:00
2024-01-10 09:39:25 +01:00
2022-03-18 21:36:28 +11:00
2022-03-18 21:36:28 +11:00
2022-03-18 21:36:28 +11:00
2022-03-18 21:36:28 +11:00
2022-03-18 21:36:28 +11:00
2018-08-09 14:41:58 +10:00
2022-03-18 21:36:28 +11:00
2022-03-18 21:36:28 +11:00
2022-09-23 20:01:44 +09:00
2019-09-01 21:24:03 +10:00
2022-03-18 21:36:28 +11:00
2023-02-21 21:53:55 +09:00
2022-10-09 08:31:14 -07:00
2022-03-18 21:36:28 +11:00
2022-03-18 21:36:28 +11:00
2019-09-01 21:24:03 +10:00
2022-03-18 21:36:28 +11:00
2022-03-18 21:36:28 +11:00