G# Goful

Go Report Card Go Reference MIT License

本项目基于anmitsu/goful,进行了自己的配置

Goful 跨平台的简单快捷终端文件管理器

  • 跨平台
  • 多窗口,多工作区
  • 命令行执行bash和tmux
  • 模糊查找, 异步拷贝, 文件块, 批量重命名等

安装

Go version >= 1.16

$ go install github.com/linuxing3/goful@latest
...
$ goful

Go version < 1.16

$ go get github.com/linuxing3/goful
...
$ goful

用法

Tutorial Demos

keyfunction
C-n down jMove cursor down
C-p up kMove cursor up
C-a home uMove cursor top
C-e end GMove cursor bottom
C-f C-i right lMove cursor right
C-b left hMove cursor left
C-dMore move cursor down
C-uMore move cursor up
C-v pgdnPage down
M-v pgupPage up
M-nScroll down
M-pScroll up
C-h backspace uChange to upper directory
~Change to home directory
\Change to root directory
wChange to neighbor directory
C-oCreate directory window
C-wClose directory window
M-fMove next workspace
M-bMove previous workspace
M-C-oCreate workspace
M-C-wClose workspace
spaceToggle mark
C-spaceInvert mark
C-lReload
C-m oOpen
iOpen by pager
sSort
vView
bBookmark
eEditor
xCommand
XExternal command
f /Find
:Shell
;Shell suspend
nMake file
KMake directory
cCopy
mMove
rRename
RBulk rename by regexp
DRemove
dChange directory
gGlob
$Glob recursive
C-g C-[Cancel
q QQuit

更多信息请查看 main.go

自定义

Goful内有配置文件,可以直接修改main.go.

  • 修改添加快捷键 Change and add keybindings
  • 更改命令行程序 Change terminal and shell
  • 修改文件打开程序 Change file opener (editor, pager and more)
  • 添加书签 Adding bookmarks
  • 设置颜色和外观 Setting colors and looks

克隆原仓库到本地,删除所有子文件夹,仅保留main.go文件等

$ cd $GOPATH/src/github.com/linuxing3/goful
$ go mod init github.com/<yourname>/goful 
$ go install

贡献

Contributing Guide