rtfm-filemanager 1.5.0 → 1.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/rtfm +8 -1
  3. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8981f5f29cc24ff888f70b1792a5abf8cfb8f50ed13af3c2f7982b72c4f9cef8
4
- data.tar.gz: 4284525dc3e44a0e8fbb9d25f7e63089d229c33610845c9d58cc2b28f80c1cc5
3
+ metadata.gz: 58e367b107dab960575d391b4daa4995f4e53d8b838b38888ce1aadfe1687ce7
4
+ data.tar.gz: a224584539c2160613a7886f836cbf71619c5aaef5aae36b77685467446402ac
5
5
  SHA512:
6
- metadata.gz: 4b30796732dfbfafdf7ac17900b67f98cb596f0ac9cb2724eb45fdf26a6b3040d1c05e741d3e93a2e02f756566cb197474a82d856db34e6d10f37a022a34b84b
7
- data.tar.gz: 4d1780ff6d665a0ca585a6c248e65734fd716116f41df886b961fa01796362075a79dea786d4807fd385ea8913d081a4fafc735e2e60c6b24a7cc835aa9f8dbe
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 if i > @index unless i == nil
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.0
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