mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-12-12 11:15:00 +02:00
24a4302c52
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 |
||
---|---|---|
.. | ||
yaml_utils | ||
color_test.go | ||
color.go | ||
date_test.go | ||
date.go | ||
dummies.go | ||
errors.go | ||
formatting_test.go | ||
formatting.go | ||
history_buffer_test.go | ||
history_buffer.go | ||
io.go | ||
lines_test.go | ||
lines.go | ||
once_writer_test.go | ||
once_writer.go | ||
rebase_todo_test.go | ||
rebase_todo.go | ||
regexp_test.go | ||
regexp.go | ||
search_test.go | ||
search.go | ||
slice_test.go | ||
slice.go | ||
string_stack.go | ||
template_test.go | ||
template.go | ||
thread_safe_map_test.go | ||
thread_safe_map.go | ||
utils_test.go | ||
utils.go |