fix: remove redundant changed-file explorer legend
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
- [x] buffer ux improvement: add toggleable word wrap (no keybinding by default).
|
||||
- [x] add panes/splits: split current pane above/below (`_`) or left/right (`|`) in Normal mode; navigate panes with Option/Alt+h/j/k/l.
|
||||
- shared split layout and directional focus with diff views; independent pane views, shared buffers, and guarded close/force-close actions.
|
||||
- [ ] remove diff viewer's file explorer's `A added M modified...` explanation - it's standard and the explanation doesn't fit in the pane, so it can go.
|
||||
- [x] remove diff viewer's file explorer's `A added M modified...` explanation - it's standard and the explanation doesn't fit in the pane, so it can go.
|
||||
- [ ] add tabs: tab support, editor action to open a buffer in a new tab, default tab navigation is `ctrl+option+h/l`, close tab action.
|
||||
- [ ] diff view: add character-wise change highlight (enabled by default).
|
||||
- [ ] diff view: lsp actions should act as they normally would. if an lsp action would open another file, then the file should be opened in another tab outside the diff view - if the referenced file/symbol is part of the changes in the diff, it should just be opened in the diff view.
|
||||
|
||||
+3
-5
@@ -3550,10 +3550,8 @@ fn draw_file_list(
|
||||
));
|
||||
}
|
||||
}
|
||||
let help = if changed_files.is_some() {
|
||||
"A added · M modified · D deleted · R renamed · ^E hide".into()
|
||||
} else if picker.focused {
|
||||
let controls = if picker.root.as_os_str().is_empty() {
|
||||
let help = if picker.focused {
|
||||
let controls = if changed_files.is_some() {
|
||||
if browsing {
|
||||
"Enter · i filter · Esc close · Tab panes · ^T view"
|
||||
} else {
|
||||
@@ -3571,7 +3569,7 @@ fn draw_file_list(
|
||||
}
|
||||
};
|
||||
format!("^U clear · {navigation_hint} · {controls}")
|
||||
} else if picker.root.as_os_str().is_empty() {
|
||||
} else if changed_files.is_some() {
|
||||
"Editor focus · Tab to browse changed files".into()
|
||||
} else {
|
||||
"Editor focus · invoke explorer to browse".into()
|
||||
|
||||
Reference in New Issue
Block a user