Goful
Goful is a CUI file manager implemented by Go.
- Works on cross-platform such as gnome-terminal in Ubuntu and cmd.exe in Windows.
- Multi window and workspace to display directory contents.
- A command line to execute external commands such as bash and tmux.
- Provides file search, glob, copy, bulk rename, etc.
Install
$ go get github.com/anmitsu/goful/cmd/goful
...
$ goful
Usage
key | function |
---|---|
C-n, down | Move cursor down |
C-p, up | Move cursor up |
C-a, home | Move cursor top |
C-e, end | Move cursor bottom |
C-f, right | Move cursor right |
C-b, left | Move cursor left |
M-v, pgdn | Page down |
M-p, pgup | Page up |
M-n | Scroll down |
M-p | Scroll up |
C-h, backspace | Change to upper directory |
~ | Change to home directory |
\ | Change to root directory |
w | Change to neighbor directory |
M-C-m | New directory window |
C-w | Close directory window |
M-f | Move next workspace |
M-b | Move previous workspace |
space | Mark file on cursor |
M-* | Toggle mark all files |
C-l | Reload files |
C-m | Open |
s | Sort menu |
l | Layout menu |
V | View menu |
L | Look menu |
e | Editor menu |
M-x | Command menu |
x | External command menu |
A | Archive menu |
f, / | Find files |
h | Start shell mode |
H | Start shell suspend mode |
n | Create new file |
k | Create new directory |
c | Copy file |
m | Move file |
r | Rename file |
R | Bulk rename by regexp |
D | Remove file |
d | Change directory |
g | Glob file |
G | Glob directory |
C-g | Cancel |
q, Q | Quit application |
cmd/goful/main.go
For more seeCustomize
Goful customizes by edit cmd/goful/main.go
and rebuild.
For example, install your customized binary to $GOPATH/bin
.
Clone source code
$ git clone https://github.com/anmitsu/goful
Copy original main.go to my/goful directory
$ cd goful/cmd/goful
$ mkdir -p my/goful
$ cp main.go my/goful
$ cd my/goful
After edited my/goful/main.go
$ go install