rtfm-filemanager 1.7.2 → 1.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/rtfm +7 -5
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3783b49d04b0ff909d2a28bb622c019921bffc2af20bbe19d8ef06d1bec567f7
|
4
|
+
data.tar.gz: 4beae68faee067a137d89022b322aa2bc96a8d3d6acf1ce50ad5bace8d98ba72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88b30836be23ebcbfff703b21c550bf855c21a8f127ed8bd0f65b4d3e10bcfbf1a1fdc3559d58240e70496d5d9c3ea599eaededa0d6792ad5db3fefd87d715c7
|
7
|
+
data.tar.gz: afdd31852da552fc5b923efe8173d6d7d665d67a16aaa7715b02015f6acb3301d62e43d318f0a310b9b19d445f5076ef9aec396963bc4fcc0114c4666fcaadc0
|
data/bin/rtfm
CHANGED
@@ -49,7 +49,7 @@ JUMPING AND MARKS
|
|
49
49
|
/ = Enter search string in bottom window to highlight matching items and jump to the first match
|
50
50
|
n = Jump to the next item matched by '/'
|
51
51
|
N = Jump to the previous item matched by '/'
|
52
|
-
|
52
|
+
~ = Jump to Home directory
|
53
53
|
f = Follow symlink to the directory where the target resides
|
54
54
|
L = Start 'locate' search for files, then use '#' to jump to desired line/directory
|
55
55
|
|
@@ -391,7 +391,7 @@ def main_getkey # GET KEY FROM USER
|
|
391
391
|
end
|
392
392
|
@w_r.update = true
|
393
393
|
@w_b.update = true
|
394
|
-
when '
|
394
|
+
when '~' # Go to home dir
|
395
395
|
var_resets
|
396
396
|
@directory[Dir.pwd] = @selected # Store this directory before leaving
|
397
397
|
@marks["'"] = Dir.pwd
|
@@ -461,15 +461,12 @@ def main_getkey # GET KEY FROM USER
|
|
461
461
|
when 'p' # Copy tagged items here
|
462
462
|
copy_move_link("copy")
|
463
463
|
@w_r.update = true
|
464
|
-
@w_b.update = true
|
465
464
|
when 'P' # Move tagged items here
|
466
465
|
copy_move_link("move")
|
467
466
|
@w_r.update = true
|
468
|
-
@w_b.update = true
|
469
467
|
when 's' # Create symlink to tagged items here
|
470
468
|
copy_move_link("link")
|
471
469
|
@w_r.update = true
|
472
|
-
@w_b.update = true
|
473
470
|
when 'd' # Delete items tagged and @selected
|
474
471
|
tagged_info
|
475
472
|
w_b_info(" Delete selected and tagged? (press 'd' again to delete)")
|
@@ -924,10 +921,13 @@ def copy_move_link(type) # COPY OR MOVE TAGGED ITEMS (COPY IF "keep == true")
|
|
924
921
|
case type
|
925
922
|
when "copy"
|
926
923
|
FileUtils.cp_r(item, dest)
|
924
|
+
w_b_info(" Item(s) copied here.")
|
927
925
|
when "move"
|
928
926
|
FileUtils.mv(item, dest)
|
927
|
+
w_b_info(" Item(s) moved here.")
|
929
928
|
when "link"
|
930
929
|
FileUtils.ln_s(item, dest)
|
930
|
+
w_b_info(" Item(s) symlinked here.")
|
931
931
|
end
|
932
932
|
rescue StandardError => err
|
933
933
|
w_b_info(err.to_s)
|
@@ -1304,6 +1304,8 @@ def w_b_exec(cmd) # EXECUTE COMMAND FROM @W_B
|
|
1304
1304
|
pager_start
|
1305
1305
|
pager_show
|
1306
1306
|
@w_r.update = false
|
1307
|
+
else
|
1308
|
+
@w_r.update = true
|
1307
1309
|
end
|
1308
1310
|
}
|
1309
1311
|
rescue
|
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.7.
|
4
|
+
version: 1.7.3
|
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-
|
11
|
+
date: 2021-12-06 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.7.
|
37
|
-
|
36
|
+
other features. New in 1.7.3: Added feedback messages on copy/move/symink & cd to
|
37
|
+
home dir = ''~'''
|
38
38
|
email: g@isene.com
|
39
39
|
executables:
|
40
40
|
- rtfm
|