fix(explorer/keymap): change 'b' to 'B'

- to not clash with Tree 'zb'
pull/9/head
wongjiahau 1 year ago
parent dffbc15067
commit 36769cb3f6

@ -48,6 +48,7 @@ New:
- [x] bind "="/"_" to zoom-in/zoom-out
- [x] Sticky ancestors
- [x] remove unwrap and expect
- [x] bug(tree): zb does not work, because clash with explorer 'b'
- [] Toggle preview
- [] search highlight matching word
- [] Error didn't clear
@ -55,4 +56,3 @@ New:
- [] Fix panic bugs (see github comments)
- [] explorer(preview): overflow where bufferline is there
- [] symlink not showing
- [] bug(tree): zb does not work, because clash with explorer 'b'

@ -593,7 +593,7 @@ impl Explorer {
("A", "Add folder"),
("r", "Rename file/folder"),
("d", "Delete file"),
("b", "Change root to parent folder"),
("B", "Change root to parent folder"),
("]", "Change root to current folder"),
("[", "Go to previous root"),
("+, =", "Increase size"),
@ -795,7 +795,7 @@ impl Component for Explorer {
key!('?') => self.toggle_help(),
key!('a') => self.new_create_file_prompt()?,
shift!('A') => self.new_create_folder_prompt()?,
key!('b') => self.change_root_parent_folder()?,
shift!('B') => self.change_root_parent_folder()?,
key!(']') => self.change_root_to_current_folder()?,
key!('[') => self.go_to_previous_root(),
key!('d') => self.new_remove_prompt()?,

Loading…
Cancel
Save