rtfm-filemanager 1.6.5 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/rtfm +62 -62
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fe94f89cc11a4df40689a0bf80b2f0a04a4dc458a2d25193310e6b03b2ce78e0
4
- data.tar.gz: 350b8285c94cc939380b47f00eaccacc96c13d7d849ac9ecd649a5fdf9590c85
3
+ metadata.gz: 3a899d0ccf9e6a27a01d479cf01b1409efc10bd5d46e7d4dda77c74137311615
4
+ data.tar.gz: c60c059754f4c903d566ff95fed4ff4dae73db6616125e789e013257e6e37d76
5
5
  SHA512:
6
- metadata.gz: 0ac190ef31f8524d9677468d28e40d28719d4099865dcf69e13a88e8225ee9e8259be7c354a580f0951faa40acefa4e8e2b495041b29ac4fd6345a475a514bf5
7
- data.tar.gz: ff6782fe6820db8a2e283b5b1fba0f9fc45b2c17a7cbddc6fb4e2bad4278e7f0d607e9f6305a594f0a828ecc0247e2cb39d9cfe99d53aa9d8d41f29b61f6a58d
6
+ metadata.gz: a71f87590b6db21861879e075c912f908c072785b6bcb83fff1b3ca775c0853dd574b571d024a9dd81d9117e954dfebb406098d269b56af69c8e73cebf1ed4cf
7
+ data.tar.gz: 37d7cc81aff7483d1ab81bcbd0e369b4031ece91f0275bc056fce1edef81f642496df81c15c66f3ebcc2da3bfef3a52f716b74855fc333e2ca5fd79dcebff479
data/bin/rtfm CHANGED
@@ -20,76 +20,76 @@
20
20
  RTFM - Ruby Terminal File Manager (https://github.com/isene/RTFM)
21
21
 
22
22
  BASIC KEYS
23
- ? = Show this help text
24
- r = Refresh RTFM (recreates all windows. Use on terminal resize or when there is garbage somewhere)
25
- R = Reload configuration (~/.rtfm.conf)
26
- W = Write parameters to ~/.rtfm.conf
27
- (@lsall, @lslong, @lsorder, @lsinvert, @border, @width, @preview, @tagged, @marks)
28
- q = Quit
29
- Q = QUIT (without writing changes to the config file)
23
+ ? = Show this help text
24
+ r = Refresh RTFM (recreates all windows. Use on terminal resize or when there is garbage somewhere)
25
+ R = Reload configuration (~/.rtfm.conf)
26
+ W = Write parameters to ~/.rtfm.conf
27
+ (@lsall, @lslong, @lsorder, @lsinvert, @border, @width, @preview, @tagged, @marks)
28
+ q = Quit
29
+ Q = QUIT (without writing changes to the config file)
30
30
 
31
31
  MOTION
32
- DOWN = Go one item down in left pane (rounds to top)
33
- UP = Go one item up in left pane (rounds to bottom)
34
- LEFT = Go up one directory level
35
- RIGHT = Enter directory or open file (using run-mailcap or xdg-open)
36
- Use the key 'x' to force open using xdg-open (or run-mailcap) - used for opening html files
37
- in a browser rather than editing the file in your text editor
38
- PgDown = Go one page down in left pane
39
- PgUp = Go one page up in left pane
40
- END = Go to last item in left pane
41
- HOME = Go to first item in left pane
32
+ j/DOWN = Go one item down in left pane (rounds to top)
33
+ k/UP = Go one item up in left pane (rounds to bottom)
34
+ h/LEFT = Go up one directory level
35
+ l/RIGHT = Enter directory or open file (using run-mailcap or xdg-open)
36
+ Use the key 'x' to force open using xdg-open (or run-mailcap) - used for opening html files
37
+ in a browser rather than editing the file in your text editor
38
+ PgDown = Go one page down in left pane
39
+ PgUp = Go one page up in left pane
40
+ END = Go to last item in left pane
41
+ HOME = Go to first item in left pane
42
42
 
43
43
  JUMPING AND MARKS
44
- m = Mark current dir (persistent). Next letter is the name of the mark [a-zA-Z']
45
- The special mark "'" jumps to the last directory (makes toggling dirs easy)
46
- Press '-' and a letter to delete that mark
47
- M = Show marked items in right pane
48
- ' = Jump to mark (next letter is the name of the mark [a-zA-Z'])
49
- / = Enter search string in bottom window to highlight matching items and jump to the first match
50
- n = Jump to the next item matched by '/'
51
- N = Jump to the previous item matched by '/'
52
- h = Jump to Home directory
53
- f = Follow symlink to the directory where the target resides
54
- L = Start 'locate' search for files, then use '#' to jump to desired line/directory
44
+ m = Mark current dir (persistent). Next letter is the name of the mark [a-zA-Z']
45
+ The special mark "'" jumps to the last directory (makes toggling dirs easy)
46
+ Press '-' and a letter to delete that mark
47
+ M = Show marked items in right pane
48
+ ' = Jump to mark (next letter is the name of the mark [a-zA-Z'])
49
+ / = Enter search string in bottom window to highlight matching items and jump to the first match
50
+ n = Jump to the next item matched by '/'
51
+ N = Jump to the previous item matched by '/'
52
+ h = Jump to Home directory
53
+ f = Follow symlink to the directory where the target resides
54
+ L = Start 'locate' search for files, then use '#' to jump to desired line/directory
55
55
 
56
56
  TAGGING
57
- t = Tag item (toggles)
58
- Ctrl-t = Add items matching a pattern to list of tagged items (Ctrl-t and then . will tag all items)
59
- T = Show currently tagged items in right pane
60
- u = Untag all tagged items
57
+ t = Tag item (toggles)
58
+ Ctrl-t = Add items matching a pattern to list of tagged items (Ctrl-t and then . will tag all items)
59
+ T = Show currently tagged items in right pane
60
+ u = Untag all tagged items
61
61
 
62
62
  MANIPULATE ITEMS
63
- p = Put (copy) tagged items here
64
- P = PUT (move) tagged items here
65
- s = Create symlink to tagged items here
66
- d = Delete selected item and tagged items. Press 'd' to confirm
67
- c = Change/rename selected (adds command to bottom window)
63
+ p = Put (copy) tagged items here
64
+ P = PUT (move) tagged items here
65
+ s = Create symlink to tagged items here
66
+ d = Delete selected item and tagged items. Press 'd' to confirm
67
+ c = Change/rename selected (adds command to bottom window)
68
68
 
69
69
  DIRECTORY VIEWS
70
- a = Show all (also hidden) items
71
- l = Show long info per item (show item attributes)
72
- o = Change the order/sorting of directories (circular toggle)
73
- i = Invert/reverse the sorting
74
- O = Show the Ordering in the bottom window (the full ls command)
75
- G = Show git status for current directory
76
- H = Do a cryptographic hash of the current directory with subdirs
77
- If a previous hash was made, compare and report if there has been any change
78
- S = Show comprehensive system info (system, CPU, filesystem, latest dmesg messages)
70
+ a = Show all (also hidden) items
71
+ l = Show long info per item (show item attributes)
72
+ o = Change the order/sorting of directories (circular toggle)
73
+ i = Invert/reverse the sorting
74
+ O = Show the Ordering in the bottom window (the full ls command)
75
+ G = Show git status for current directory
76
+ H = Do a cryptographic hash of the current directory with subdirs
77
+ If a previous hash was made, compare and report if there has been any change
78
+ S = Show comprehensive system info (system, CPU, filesystem, latest dmesg messages)
79
79
 
80
80
  RIGHT PANE
81
- ENTER = Refresh the right pane
82
- TAB = Next page of the preview (if doc long and ∇ in the bottom right)
83
- S-TAB = Previous page (if you have moved down the document first - ∆ in the top right)
84
- w = Change the width of the left/right panes (left pane ⇒ ⅓ ⇒ ¼ ⇒ ⅕ ⇒ ⅙ ⇒ ½ ⇒ ⅓)
85
- - = Toggle preview in right pane (turn it off for faster traversing of directories)
81
+ ENTER = Refresh the right pane
82
+ TAB = Next page of the preview (if doc long and ∇ in the bottom right)
83
+ S-TAB = Previous page (if you have moved down the document first - ∆ in the top right)
84
+ w = Change the width of the left/right panes (left pane ⇒ ⅓ ⇒ ¼ ⇒ ⅕ ⇒ ⅙ ⇒ ½ ⇒ ⅓)
85
+ - = Toggle preview in right pane (turn it off for faster traversing of directories)
86
86
 
87
87
  ADDITINAL COMMANDS
88
- g = Run 'grep' to show files that contains the MATCH in current directory
89
- : = Enter "command mode" in bottom window (press ENTER to execute, press Ctrl-G to escape)
90
- ; = Show command history in right pane
91
- y = Copy path of selected item to primary selection (for pasting with middle mouse button)
92
- Y = Copy path of selected item to clipboard
88
+ g = Run 'grep' to show files that contains the MATCH in current directory
89
+ : = Enter "command mode" in bottom window (press ENTER to execute, press Ctrl-G to escape)
90
+ ; = Show command history in right pane
91
+ y = Copy path of selected item to primary selection (for pasting with middle mouse button)
92
+ Y = Copy path of selected item to clipboard
93
93
 
94
94
  COPYRIGHT: Geir Isene, 2020-1. No rights reserved. See http://isene.com for more.
95
95
  HELPTEXT
@@ -300,17 +300,17 @@ def main_getkey # GET KEY FROM USER
300
300
  @write_conf = false
301
301
  exit 0
302
302
  # MOTION
303
- when 'DOWN'
303
+ when 'DOWN', 'j'
304
304
  var_resets
305
305
  @index = @index >= @max_index ? @min_index : @index + 1
306
306
  @w_r.update = true
307
307
  @w_b.update = true
308
- when 'UP'
308
+ when 'UP', 'k'
309
309
  var_resets
310
310
  @index = @index <= @min_index ? @max_index : @index - 1
311
311
  @w_r.update = true
312
312
  @w_b.update = true
313
- when 'LEFT'
313
+ when 'LEFT', 'h'
314
314
  var_resets
315
315
  cur_dir = Dir.pwd
316
316
  @directory[Dir.pwd] = @selected # Store this directory before leaving
@@ -319,7 +319,7 @@ def main_getkey # GET KEY FROM USER
319
319
  @directory[Dir.pwd] = File.basename(cur_dir) unless @directory.key?(Dir.pwd)
320
320
  @w_r.update = true
321
321
  @w_b.update = true
322
- when 'RIGHT'
322
+ when 'RIGHT', 'l'
323
323
  var_resets
324
324
  @directory[Dir.pwd] = @selected # Store this directory before leaving
325
325
  @marks["'"] = Dir.pwd
@@ -390,7 +390,7 @@ def main_getkey # GET KEY FROM USER
390
390
  end
391
391
  @w_r.update = true
392
392
  @w_b.update = true
393
- when 'h' # Go to home dir
393
+ when '.' # Go to home dir
394
394
  var_resets
395
395
  @directory[Dir.pwd] = @selected # Store this directory before leaving
396
396
  @marks["'"] = Dir.pwd
@@ -497,7 +497,7 @@ def main_getkey # GET KEY FROM USER
497
497
  @lsall == "" ? @lsall = "-a" : @lsall = ""
498
498
  @w_r.update = true
499
499
  @w_b.update = true
500
- when 'l' # Show long info for all items
500
+ when 'A' # Show all info for all items
501
501
  @lslong = !@lslong
502
502
  @w_r.update = true
503
503
  @w_b.update = true
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rtfm-filemanager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.5
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geir Isene
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-01 00:00:00.000000000 Z
11
+ date: 2021-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: curses
@@ -33,8 +33,8 @@ dependencies:
33
33
  description: 'A full featured terminal browser with syntax highlighted files, images
34
34
  shown in the terminal, videos thumbnailed, etc. You can bookmark and jump around
35
35
  easily, delete, rename, copy, symlink and move files. RTFM has a a wide range of
36
- other features. New in 1.6.5: Reverted to always listing dir in left panel, every
37
- 3 sec.'
36
+ other features. New in 1.7.0: Added Vim motion keys and moved other keys a bit to
37
+ make it possible.'
38
38
  email: g@isene.com
39
39
  executables:
40
40
  - rtfm