rtfm-filemanager 2.6.3 → 2.6.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/bin/rtfm +10 -13
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a19c4cda253d8784a5a1a5235f0e0ef2066a5122bdd8838a2379e00636f6465
|
4
|
+
data.tar.gz: cb4cb08b5a5e6f011b66ad584a495b57268543f040b3671f4e311f44f1c680d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 699b7d44e63db93c9feafada2d5aff735c8e532e64e856e756bac9cb2aa115c5c6f2c158f7d380ffeaa7fc1ca71d159b1f97a592b5f62355b7e4b20fd8dc504a
|
7
|
+
data.tar.gz: 0d8ff8a42ee9e11ce0fd318fdf42eba684eef9cd4ef9afb9e0c39cff07919caaf0983a159890acff2574dc4daf359005a8d17d47945885257cdc253aeefd53d2
|
data/README.md
CHANGED
@@ -25,7 +25,7 @@ features:
|
|
25
25
|
* Item's meta data is shown at the top
|
26
26
|
* Easily browse file content (even pdf, MS/OpenOffice, etc.)
|
27
27
|
* Move around the file systems using arrow keys of VI keys
|
28
|
-
* Copy, move, rename or
|
28
|
+
* Copy, move, rename or delete files easily
|
29
29
|
* Create symlinks with just one key stroke
|
30
30
|
* Easily copy an item's path to clipboard or primary selection
|
31
31
|
* Order items the way you want
|
@@ -240,6 +240,7 @@ Key | Description
|
|
240
240
|
f | Show only files in the left pane matching extension(s) (e.g. "txt" or "pdf,png,jpg")
|
241
241
|
F | Show only files matching a pattern (Ruby Regex) (e.g. "abc" or "ab.+12(\w3)*")
|
242
242
|
g | Run 'grep' to show files that contains the MATCH in current directory
|
243
|
+
B | Toggle border
|
243
244
|
: | Enter "command mode" in bottom window (press ENTER to execute, press Ctrl-G to escape)
|
244
245
|
; | Show command history in right pane
|
245
246
|
y | Copy path of selected item to primary selection (for pasting with middle mouse button)
|
data/bin/rtfm
CHANGED
@@ -98,6 +98,7 @@ ADDITINAL COMMANDS
|
|
98
98
|
f = Show only files in the left pane matching extension(s) (e.g. "txt" or "pdf,png,jpg")
|
99
99
|
F = Show only files matching a pattern (Ruby Regex) (e.g. "abc" or "ab.+12(\w3)*")
|
100
100
|
g = Run 'grep' to show files that contains the MATCH in current directory
|
101
|
+
B = Toggle border
|
101
102
|
: = Enter "command mode" in bottom window (press ENTER to execute, press Ctrl-G to escape)
|
102
103
|
; = Show command history in right pane
|
103
104
|
y = Copy path of selected item to primary selection (for pasting with middle mouse button)
|
@@ -700,6 +701,9 @@ def main_getkey # GET KEY FROM USER
|
|
700
701
|
@width = 2 if @width == 7
|
701
702
|
@break = true
|
702
703
|
@w_b.update = true
|
704
|
+
when 'B'
|
705
|
+
@border = !@border
|
706
|
+
@break = true
|
703
707
|
when '-'
|
704
708
|
@preview = !@preview
|
705
709
|
@preview ? p = "On" : p = "Off"
|
@@ -847,15 +851,8 @@ def conf_write
|
|
847
851
|
conf += "@preview = #{@preview}\n"
|
848
852
|
conf.sub!(/^@showimage.*\n/, "")
|
849
853
|
conf += "@showimage = #{@showimage}\n"
|
850
|
-
|
851
|
-
|
852
|
-
w_b_info(" Parameters written to .rtfm.conf")
|
853
|
-
@w_r.update = true
|
854
|
-
else
|
855
|
-
w_b_info(" Config NOT updated")
|
856
|
-
@w_r.update = true
|
857
|
-
return
|
858
|
-
end
|
854
|
+
@w_r.fg = 249
|
855
|
+
w_r_info("Configuration written to .rtfm.conf:\n\n" + conf)
|
859
856
|
end
|
860
857
|
File.write(Dir.home+'/.rtfm.conf', conf)
|
861
858
|
end
|
@@ -978,11 +975,11 @@ def list_dir(active) # LIST CONTENT OF A DIRECTORY (BOTH active AND RIGHT WINDOW
|
|
978
975
|
file_marker = color_pair(fg)
|
979
976
|
file_marker = file_marker | Curses::A_BOLD if bold == 1
|
980
977
|
if ix == @index and active
|
981
|
-
|
978
|
+
@w_l << "→ "
|
982
979
|
file_marker = file_marker | Curses::A_UNDERLINE
|
983
980
|
wixy = win.cury
|
984
981
|
else
|
985
|
-
|
982
|
+
active ? @w_l << " " : @w_r << " "
|
986
983
|
end
|
987
984
|
file_marker = file_marker | Curses::A_REVERSE if @tagged.include?("\"#{Dir.pwd}/#{str_path}\"")
|
988
985
|
file_marker = file_marker | Curses::A_BLINK if str.match(/#{@searched}/) and @searched != ""
|
@@ -1155,8 +1152,8 @@ def w_r_doc # GET FULL CONTENT TO PAGE
|
|
1155
1152
|
end
|
1156
1153
|
def w_r_info(info) # SHOW INFO IN THE RIGHT WINDOW
|
1157
1154
|
image_show("clear") if @image; @image = false
|
1158
|
-
|
1159
|
-
|
1155
|
+
#@w_r.clr
|
1156
|
+
#@w_r.refresh
|
1160
1157
|
w_r_width = Curses.cols - (Curses.cols/@width) - 2
|
1161
1158
|
info.gsub!(/(.{1,#{w_r_width}})( +|$\n?)|(.{1,#{w_r_width}})/, "\\1\\3\n")
|
1162
1159
|
@w_r.text = info
|
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: 2.6.
|
4
|
+
version: 2.6.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Geir Isene
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
11
|
+
date: 2023-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: curses
|
@@ -47,7 +47,7 @@ dependencies:
|
|
47
47
|
description: 'A full featured terminal browser with syntax highlighted files, images
|
48
48
|
shown in the terminal, videos thumbnailed, etc. You can bookmark and jump around
|
49
49
|
easily, delete, rename, copy, symlink and move files. RTFM has a a wide range of
|
50
|
-
other features. New in 2.6.
|
50
|
+
other features. New in 2.6.5: Fixed border issue when writing conf (W)'
|
51
51
|
email: g@isene.com
|
52
52
|
executables:
|
53
53
|
- rtfm
|