Minase

January 15, 2023 ยท View on GitHub

(Here is Japanese version)
Minase is terminal file manager.

image

image

Features

  • Preview of the selected file/directory
  • Preview text syntax highlight (use Nano editor syntax highlight files)
  • Preview text auto encodeing
  • Preview audio tags
  • Preview archive files (needs lsar or bsdtar)
  • Preview image using Sixel Graphics (needs img2sixel)
  • FreeDesktop compliant trash (needs trash-cli)
  • Batch rename (needs vidir)
  • UTF-8 support
  • Fix "East Asian Ambiguous Width Characters" problem (use wcwidth-cjk)
  • Icon support using a patched nerd font

System Requirements

  • Linux

Dependencies

  • uchardet
  • iconv
  • TagLib

optional:

  • libsixel
  • trash-cli
  • vidir
  • unar or bsdtar
  • cmigemo
  • atool
  • archivemount
  • fusermount3 or fusermount

Usage

KeysDescription
h, RightParent directory
j, DownDown
k, UpUp
l, RightOpen file/directory
PgUp, ^UScroll up
PgDn, ^DScroll down
HMove to top of screen
MMove to middle of screen
LMove to bottom of screen
gGo to first entry
GGo to last entry
^LRedraw
qQuit
^GQuit and cd
0View log
1Switch tab 1
2Switch tab 2
3Switch tab 3
4Switch tab 4
,FileView simple/detail
.Show/Hide dot files
iEnable/Disable image preview
zArcive
ZCurrent line to the middle of the screen
sSort files
eEdit File
SpaceMark file
uClear marks
aInvert marks (current directory only)
cMark files for copy
mMark files for move
dDelete mark files
pPaste
rRename current file
^RBatch rename (vidir)
!Spawn SHELL
nCreate file/directory
bOpen Bookmarks
/Filter
^/Change Filter type
xUnarchive
^xRun Plugin
Alt + keyRun Plugin
*Toggle execute permission
^jscrolldown in preview
^kscrollup in preview
UUnmouont Directory
^aGo to archive mount directory
?Help

Quit and cd:

 $ minase; if [ -f ~/.config/Minase/lastdir ]; then cd "`cat ~/.config/Minase/lastdir`"; rm ~/.config/Minase/lastdir; fi;

Installation

$ cmake .
$ make
$ sudo make install

Customization

~/.config/Minase/config.ini

[Options]
; File Opener
Opener = xdg-open

; Log view Max lines
LogMaxLines = 100

; Preview Max lines (-1: unlimited)
PreViewMaxLines = 50

; Use trash-cli
UseTrash = true

; Nano Editor Syntax Highlighting Files
NanorcPath = /usr/share/nano/

; East Asian Ambiguous Width
wcwidth-cjk = false

; 0: simple / 1: detail
FileViewType = 0

; 0: name / 1: size / 2: date
SortType = 2

; 0: Ascending / 1: Descending
SortOrder = 1

; Migemo Dictionary File
;MigemoDict = /usr/share/migemo/utf-8/migemo-dict

; 0: Normal / 1: Regexp / 2: Migemo
FilterType = 0

; ArchiveMntDir
;ArchiveMntDir = ~/.config/Minase/mnt

; CustomCopy
;CustomCopy = advcp -vgrp

; CustomMove
;CustomMove = advmv -vg

; CustomRenamer
;CustomRenamer = massren
;CustomRenamer = mmv *

; Icon
;UseIcon = true

~/.config/Minase/bookmarks

~/Download
~/Documents
/usr/local

~/.config/Minase/plugin.ini

[sxiv]
; Plugin Path
filepath = ~/.config/Minase/plugins/0sxiv
; GUI: true / false
gui = true
; Shortcut Key
key = s

[autojump]
filepath = ~/.config/Minase/plugins/_1autojump%
key = j

License

  • MIT