rtfm-filemanager 1.8.3 → 1.8.4
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 +14 -14
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b7b362688bbb8de0e062756835444e2da6e0839230eb47a285c868eef411e60
|
4
|
+
data.tar.gz: 2841157d83e87786b7add7ec78df710872a8c24f2a8b6cba207dacbd273220c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c78d672f9879fecbab67cd2360f3337d994cdbc839e1064ac186cbb1160692da914a6cafba40861ecd9dd2adde55fde18077272c2f102aa60fd94a271d47244d
|
7
|
+
data.tar.gz: cff47671b8b2072e782d98dc05a4bc0885de48223ed4debfaebf38961ef0ed4d4ffb6bae119b1af443f64cf45adf59bfcd52abc6bd14b1ec61229fab460c1ed6
|
data/bin/rtfm
CHANGED
@@ -258,19 +258,19 @@ def getchr # PROCESS KEY PRESSES
|
|
258
258
|
when 'C' then chr = "RIGHT"
|
259
259
|
when 'D' then chr = "LEFT"
|
260
260
|
when 'Z' then chr = "S-TAB"
|
261
|
-
when '2' then chr = "INS" ; STDIN.getc
|
262
|
-
when '3' then chr = "DEL" ; STDIN.getc
|
263
|
-
when '5' then chr = "PgUP" ; STDIN.getc
|
264
|
-
when '6' then chr = "PgDOWN" ; STDIN.getc
|
265
|
-
when '7' then chr = "HOME" ; STDIN.getc
|
266
|
-
when '8' then chr = "END" ; STDIN.getc
|
261
|
+
when '2' then chr = "INS" ; chr = "C-INS" if STDIN.getc == "^"
|
262
|
+
when '3' then chr = "DEL" ; chr = "C-DEL" if STDIN.getc == "^"
|
263
|
+
when '5' then chr = "PgUP" ; chr = "C-PgUP" if STDIN.getc == "^"
|
264
|
+
when '6' then chr = "PgDOWN" ; chr = "C-PgDOWN" if STDIN.getc == "^"
|
265
|
+
when '7' then chr = "HOME" ; chr = "C-HOME" if STDIN.getc == "^"
|
266
|
+
when '8' then chr = "END" ; chr = "C-END" if STDIN.getc == "^"
|
267
267
|
end
|
268
268
|
when 'O' # Set Ctrl+ArrowKey equal to ArrowKey; May be used for other purposes in the future
|
269
269
|
case $stdin.getc
|
270
|
-
when 'a' then chr = "UP"
|
271
|
-
when 'b' then chr = "DOWN"
|
272
|
-
when 'c' then chr = "RIGHT"
|
273
|
-
when 'd' then chr = "LEFT"
|
270
|
+
when 'a' then chr = "C-UP"
|
271
|
+
when 'b' then chr = "C-DOWN"
|
272
|
+
when 'c' then chr = "C-RIGHT"
|
273
|
+
when 'd' then chr = "C-LEFT"
|
274
274
|
end
|
275
275
|
end
|
276
276
|
when "", "" then chr = "BACK"
|
@@ -312,17 +312,17 @@ def main_getkey # GET KEY FROM USER
|
|
312
312
|
@write_conf = false
|
313
313
|
exit 0
|
314
314
|
# MOTION
|
315
|
-
when 'DOWN', 'j'
|
315
|
+
when 'DOWN', 'j', 'C-DOWN'
|
316
316
|
var_resets
|
317
317
|
@index = @index >= @max_index ? @min_index : @index + 1
|
318
318
|
@w_r.update = true
|
319
319
|
@w_b.update = true
|
320
|
-
when 'UP', 'k'
|
320
|
+
when 'UP', 'k', 'C-UP'
|
321
321
|
var_resets
|
322
322
|
@index = @index <= @min_index ? @max_index : @index - 1
|
323
323
|
@w_r.update = true
|
324
324
|
@w_b.update = true
|
325
|
-
when 'LEFT', 'h'
|
325
|
+
when 'LEFT', 'h', 'C-LEFT'
|
326
326
|
var_resets
|
327
327
|
cur_dir = Dir.pwd
|
328
328
|
@directory[Dir.pwd] = @selected # Store this directory before leaving
|
@@ -331,7 +331,7 @@ def main_getkey # GET KEY FROM USER
|
|
331
331
|
@directory[Dir.pwd] = File.basename(cur_dir) unless @directory.key?(Dir.pwd)
|
332
332
|
@w_r.update = true
|
333
333
|
@w_b.update = true
|
334
|
-
when 'RIGHT', 'l'
|
334
|
+
when 'RIGHT', 'l', 'C-RIGHT'
|
335
335
|
var_resets
|
336
336
|
@directory[Dir.pwd] = @selected # Store this directory before leaving
|
337
337
|
mark_latest
|
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.8.
|
4
|
+
version: 1.8.4
|
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-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: curses
|
@@ -33,8 +33,7 @@ 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.8.
|
37
|
-
command for batcat'
|
36
|
+
other features. New in 1.8.4: Catch more Control+Key sequences'
|
38
37
|
email: g@isene.com
|
39
38
|
executables:
|
40
39
|
- rtfm
|