rtfm-filemanager 1.5.1 → 1.5.2
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 +10 -2
- 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: 9066e032e441b73cfe80a04cf57a420a29d9788a08bf7afe435cee93541bc3a2
|
4
|
+
data.tar.gz: 63f612bdc9ac79c3d454062fd6cf62cc84fef17a1c4696c07822649ce4585ac5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d42ffd34be3aa710e1ba33d2b753541fd5df1f03d67e3bf91e05113137cf51164381592a0d5a9621146809d8ab1fc3c87d0126d7f35785632aa645b667b13500
|
7
|
+
data.tar.gz: d7670c8267def044cb1a5cc4c92e127513cf07aa77dda0d61c9622022ca154e5c0ec4fe3f23ddc1ca6ce8c7d071ac91a2d6b1b391c0cb9e47d8bff7b5f461959
|
data/bin/rtfm
CHANGED
@@ -632,13 +632,21 @@ def main_getkey # GET KEY FROM USER
|
|
632
632
|
l = `ls #{@lsbase} #{@lsall} #{@lsorder} #{@lsinvert} #{@lsuser}`.split
|
633
633
|
m = l.each_index.select{|n| l[n] =~ /#{@searched}/}
|
634
634
|
i = m.find { |n| n > @index }
|
635
|
-
|
635
|
+
if i == nil
|
636
|
+
@index = m.first
|
637
|
+
else
|
638
|
+
@index = i
|
639
|
+
end
|
636
640
|
@w_r.update = true
|
637
641
|
when 'N'
|
638
642
|
l = `ls #{@lsbase} #{@lsall} #{@lsorder} #{@lsinvert} #{@lsuser}`.split
|
639
643
|
m = l.each_index.select{|n| l[n] =~ /#{@searched}/}.reverse
|
640
644
|
i = m.find { |n| n < @index }
|
641
|
-
|
645
|
+
if i == nil
|
646
|
+
@index = m.first
|
647
|
+
else
|
648
|
+
@index = i
|
649
|
+
end
|
642
650
|
@w_r.update = true
|
643
651
|
when ':' # Enter "command mode" in the bottom window - tries to execute the given command
|
644
652
|
@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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Geir Isene
|
@@ -35,7 +35,8 @@ description: 'A full featured terminal browser with syntax highlighted files, im
|
|
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
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
|
+
''N'' to jump to the previous matched item by ''/''. New in 1.5.2: Added wrap-around
|
39
|
+
for ''n'' and ''N'''
|
39
40
|
email: g@isene.com
|
40
41
|
executables:
|
41
42
|
- rtfm
|