summaryrefslogtreecommitdiffstats
path: root/schema
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2024-01-07 19:44:19 +1100
committerJesse Duffield <jessedduffield@gmail.com>2024-01-19 10:47:21 +1100
commit24a4302c528e3a11b30855c006669de1adf9e1d4 (patch)
tree4b8053168746c2978c2b47968bae1576d3718bcf /schema
parente887a2eb3c0ece1d2be78b869ff936a0703a3940 (diff)
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
Diffstat (limited to 'schema')
-rw-r--r--schema/config.json10
1 files changed, 1 insertions, 9 deletions
diff --git a/schema/config.json b/schema/config.json
index 3de7df17d..1239872ee 100644
--- a/schema/config.json
+++ b/schema/config.json
@@ -1178,14 +1178,6 @@
},
"main": {
"properties": {
- "toggleDragSelect": {
- "type": "string",
- "default": "v"
- },
- "toggleDragSelect-alt": {
- "type": "string",
- "default": "V"
- },
"toggleSelectHunk": {
"type": "string",
"default": "a"
@@ -1523,4 +1515,4 @@
},
"additionalProperties": false,
"type": "object"
-} \ No newline at end of file
+}