Skip to content

Commit

Permalink
refactor: change default keybind
Browse files Browse the repository at this point in the history
  • Loading branch information
anmitsu committed Nov 23, 2021
1 parent ad80d28 commit c7404e5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ key | function
`M-C-o` | Create workspace
`M-C-w` | Close workspace
`space` | Toggle mark
`C-space` | Invert mark
`M-=` | Invert mark
`C-l` | Reload
`C-m` `o` | Open
`i` | Open by pager
Expand All @@ -69,8 +69,8 @@ key | function
`x` | Command
`X` | External command
`f` `/` | Find
`:` | Shell
`;` | Shell suspend
`;` | Shell
`:` | Shell suspend
`n` | Make file
`K` | Make directory
`c` | Copy
Expand Down
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -378,15 +378,15 @@ func filerKeymap(g *app.Goful) widget.Keymap {
"pgdn": func() { g.Dir().PageDown() },
"pgup": func() { g.Dir().PageUp() },
" ": func() { g.Dir().ToggleMark() },
"C-space": func() { g.Dir().InvertMark() },
"M-=": func() { g.Dir().InvertMark() },
"C-g": func() { g.Dir().Reset() },
"C-[": func() { g.Dir().Reset() }, // C-[ means ESC
"f": func() { g.Dir().Finder() },
"/": func() { g.Dir().Finder() },
"q": func() { g.Quit() },
"Q": func() { g.Quit() },
":": func() { g.Shell("") },
";": func() { g.ShellSuspend("") },
";": func() { g.Shell("") },
":": func() { g.ShellSuspend("") },
"M-W": func() { g.ChangeWorkspaceTitle() },
"n": func() { g.Touch() },
"K": func() { g.Mkdir() },
Expand Down

0 comments on commit c7404e5

Please sign in to comment.