From dfd9cfefbe6ccf0ad33e5c95a3f830d757d49f63 Mon Sep 17 00:00:00 2001 From: rabite Date: Thu, 25 Jul 2019 22:29:22 +0200 Subject: fix README's keybindings section --- README.md | 192 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 107 insertions(+), 85 deletions(-) diff --git a/README.md b/README.md index c87c4db..5f7cc54 100644 --- a/README.md +++ b/README.md @@ -182,7 +182,7 @@ You can set a few options when hunter starts. These override the configuration f **USAGE: hunter [FLAGS] [path]** -| **FLAGS: ** | | +| FLAGS | | ------------------------|-------------------------------------| | -a, --animation-off | Turn off animations | | --help | Prints help information | @@ -208,107 +208,129 @@ Keybindings: Note: ```_``` means any key. ## Movement: -Up(1)=k, Up -Down(1)=j, Down -Left=b, Left -Right=f, Right -Top=<, Home -Bottom=>, End -Up(10)=K -Down(10)=J -PageUp=C-v, PageUp -PageDown=M-v, PageDown +| Action | Key | +|-----------|---------------| +|Up(1) | k, Up | +|Down(1) | j, Down | +|Left | b, Left | +|Right | f, Right | +|Top | <, Home | +|Bottom | >, End | +|Up(10) | K | +|Down(10) | J | +|PageUp | C-v, PageUp | +|PageDown | M-v, PageDown | ## File Browser (global effects): -Quit=q -QuitWithDir=Q -LeftColumnDown=] -LeftColumnUp=[ -GotoHome=~ -TurboCd=/ -SelectExternal=M-Space -EnterDirExternal=M-/ -RunInBackground=F -GotoPrevCwd=- -ShowBookmarks=` -AddBookmark=b -ShowProcesses=w -ShowLog=g -ShowQuickActions=a -RunSubshell=z -ToggleColumns=c -ExecCmd=! +| Action | Key | +|-------------------|-----------| +| Quit | q | +| QuitWithDir | Q | +| LeftColumnDown | ] | +| LeftColumnUp | [ | +| GotoHome | ~ | +| TurboCd | / | +| SelectExternal | M-Space | +| EnterDirExternal | M-/ | +| RunInBackground | F | +| GotoPrevCwd | - | +| ShowBookmarks | ` | +| AddBookmark | b | +| ShowProcesses | w | +| ShowLog | g | +| ShowQuickActions | a | +| RunSubshell | z | +| ToggleColumns | c | +| ExecCmd | ! | ## File List (affects current directory): -Search=S -SearchNext=M-s -SearchPrev=M-S -Filter=C-f -Select=Space -InvertSelection=v -ClearSelection=V -FilterSelection=M-V -ToggleTag=t -ToggleHidden=h -ReverseSort=r -CycleSort=s -ToNextMtime=K -ToPrevMtime=k -ToggleDirsFirst=d +| Action | Key | +|-------------------|-------| +| Search | C-s | +| SearchNext | M-s | +| SearchPrev | M-S | +| Filter | C-f | +| Select | Space | +| InvertSelection | v | +| ClearSelection | V | +| FilterSelection | M-V | +| ToggleTag | t | +| ToggleHidden | h | +| ReverseSort | r | +| CycleSort | s | +| ToNextMtime | K | +| ToPrevMtime | k | +| ToggleDirsFirst | d | ## Tabs -NewTab=C-t -CloseTab=C-w -NextTab=Tab -PrevTab=BackTab -GotoTab(_)=F_ +| Action | Key | +|------------|----------| +| NewTab | C-t | +| CloseTab | C-w | +| NextTab | Tab | +| PrevTab | BackTab | +| GotoTab(\_) | F_ | ## Media -TogglePause=M-m -ToggleMute=M-M -SeekForward=M-> -SeekBackward=M-< +| Action | Key | +|---------------|-----| +| TogglePause | M-m | +| ToggleMute | M-M | +| SeekForward | M-> | +| SeekBackward | M-< | ## Bookmarks -GotoLastCwd=` -Goto(_)=_ -Delete(_)=M-_ +| Action | Key | +|---------------|-----| +| GotoLastCwd | ` | +| Goto(\_) | _ | +| Delete(\_) | M-_ | ## Processes -Close=w, Esc -Remove=d -Kill=k -FollowOutput=f -ScrollOutputUp=C-p -ScrollOutputDown=C-n -ScrollOutputPageUp=C-V -ScrollOutputPageDown=C-v -ScrollOutputTop=C-< -ScrollOutputBottom=> +| Action | Key | +|-----------------------|--------| +| Close | w, Esc | +| Remove | d | +| Kill | k | +| FollowOutput | f | +| ScrollOutputUp | C-p | +| ScrollOutputDown | C-n | +| ScrollOutputPageUp | C-V | +| ScrollOutputPageDown | C-v | +| ScrollOutputTop | C-< | +| ScrollOutputBottom | > | ## MiniBuffer -InsertChar(_)=_ -InsertTab(_)=F_ -Cancel=C-c, Esc -Finish=Enter -Complete=Tab -DeleteChar=C-d, Delete -BackwardDeleteChar=Backspace -CursorLeft=C-b, Left -CursorRight=C-f, Right -HistoryUp=C-p, M-p, Up -HistoryDown=C-n, M-n, Down -ClearLine=C-u -DeleteWord=C-h -CursorToStart=C-a, Home -CursorToEnd=C-e, End +| Action | Key | +|-------------------|----------------| +| InsertChar(\_) | _ | +| InsertTab(\_) | F_ | +| Cancel | C-c, Esc | +| Finish | Enter | +| Complete | Tab | +| DeleteChar | C-d, Delete | +| BackwardDeleteChar| Backspace | +| CursorLeft | C-b, Left | +| CursorRight | C-f, Right | +| HistoryUp | C-p, M-p, Up | +| HistoryDown | C-n, M-n, Down | +| ClearLine | C-u | +| DeleteWord | C-h | +| CursorToStart | C-a, Home | +| CursorToEnd | C-e, End | ## Folds -ToggleFold=t,Tab +| Action | Key | +|-----------|--------| +|ToggleFold | t, Tab | ## Log -Close=g,Esc +| Action | Key | +|---------|--------| +|Close | g, Esc | ## QuickActions -Close=a, Esc, C-a -SelectOrRun(_)=_ +| Action | Key | +|-----------------|-------------| +|Close | a, Esc, C-a | +|SelectOrRun(\_) | _ | -- cgit v1.2.3