rtfm-filemanager 1.5.0 → 1.5.1
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 +8 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58e367b107dab960575d391b4daa4995f4e53d8b838b38888ce1aadfe1687ce7
|
4
|
+
data.tar.gz: a224584539c2160613a7886f836cbf71619c5aaef5aae36b77685467446402ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9bb4987880cc5fef8d3fb12595e94cdb7ce215d4aa73b7dcf17290ace55da85317a8049a71db6099fbbc3b1e2e0b699a79b15a8aa676339e8de7699d0f783dd
|
7
|
+
data.tar.gz: 31447f99d73dc8f039d6ea40231b1478045409d868adcbde6bc1149815c783fc51ed19b092c75bdbbb1997148f7f62751479ca694f0c218d630628ba964cc4c5
|
data/bin/rtfm
CHANGED
@@ -48,6 +48,7 @@ JUMPING AND MARKS
|
|
48
48
|
' = Jump to mark (next letter is the name of the mark [a-zA-Z'])
|
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
|
+
N = Jump to the previous item matched by '/'
|
51
52
|
h = Jump to Home directory
|
52
53
|
f = Follow symlink to the directory where the target resides
|
53
54
|
L = Start 'locate' search for files, then use '#' to jump to desired line/directory
|
@@ -631,7 +632,13 @@ def main_getkey # GET KEY FROM USER
|
|
631
632
|
l = `ls #{@lsbase} #{@lsall} #{@lsorder} #{@lsinvert} #{@lsuser}`.split
|
632
633
|
m = l.each_index.select{|n| l[n] =~ /#{@searched}/}
|
633
634
|
i = m.find { |n| n > @index }
|
634
|
-
@index = i
|
635
|
+
@index = i unless i == nil
|
636
|
+
@w_r.update = true
|
637
|
+
when 'N'
|
638
|
+
l = `ls #{@lsbase} #{@lsall} #{@lsorder} #{@lsinvert} #{@lsuser}`.split
|
639
|
+
m = l.each_index.select{|n| l[n] =~ /#{@searched}/}.reverse
|
640
|
+
i = m.find { |n| n < @index }
|
641
|
+
@index = i unless i == nil
|
635
642
|
@w_r.update = true
|
636
643
|
when ':' # Enter "command mode" in the bottom window - tries to execute the given command
|
637
644
|
@w_r.nohistory = false
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rtfm-filemanager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Geir Isene
|
@@ -34,7 +34,8 @@ description: 'A full featured terminal browser with syntax highlighted files, im
|
|
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
36
|
other features. New in 1.5.0: Expanded ''/'' to jump to the first match and ''n''
|
37
|
-
to jump to the next matched item (''j'' and ''J'' are now gone).
|
37
|
+
to jump to the next matched item (''j'' and ''J'' are now gone). New in 1.5.1: Added
|
38
|
+
''N'' to jump to the previous matched item by ''/'''
|
38
39
|
email: g@isene.com
|
39
40
|
executables:
|
40
41
|
- rtfm
|