rtfm-filemanager 1.7.0 → 1.7.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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/rtfm +7 -0
  3. metadata +3 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3a899d0ccf9e6a27a01d479cf01b1409efc10bd5d46e7d4dda77c74137311615
4
- data.tar.gz: c60c059754f4c903d566ff95fed4ff4dae73db6616125e789e013257e6e37d76
3
+ metadata.gz: 89f43bcb4ae0440210a8dd8127d94ca1c41c2f5016f09b9432e6ec40385c904a
4
+ data.tar.gz: 113c228e891b75d0f766d95849a32c39b2d21b3df3156d7987b52e25154e7968
5
5
  SHA512:
6
- metadata.gz: a71f87590b6db21861879e075c912f908c072785b6bcb83fff1b3ca775c0853dd574b571d024a9dd81d9117e954dfebb406098d269b56af69c8e73cebf1ed4cf
7
- data.tar.gz: 37d7cc81aff7483d1ab81bcbd0e369b4031ece91f0275bc056fce1edef81f642496df81c15c66f3ebcc2da3bfef3a52f716b74855fc333e2ca5fd79dcebff479
6
+ metadata.gz: 50ca7f0d6f7337d8de2ccf2cfe41f23d7a691dddcbd308e96f45c3d53ab6c84399fcb3b79a4aeb9bb7275be102cdf3a2a8b85907f37244a07f8ab41bb5f76b89
7
+ data.tar.gz: 15270e29f1f4632f85c6bbce268ed929e055dc752d60e6da8dc2547c4a7b20c3c3e8b9db4d9e25c248a2b8281b6e5548b7fcc8781f159e0c31f219213a15f79a
data/bin/rtfm CHANGED
@@ -83,6 +83,7 @@ RIGHT PANE
83
83
  S-TAB = Previous page (if you have moved down the document first - ∆ in the top right)
84
84
  w = Change the width of the left/right panes (left pane ⇒ ⅓ ⇒ ¼ ⇒ ⅕ ⇒ ⅙ ⇒ ½ ⇒ ⅓)
85
85
  - = Toggle preview in right pane (turn it off for faster traversing of directories)
86
+ _ = Toggle preview of images in right pane
86
87
 
87
88
  ADDITINAL COMMANDS
88
89
  g = Run 'grep' to show files that contains the MATCH in current directory
@@ -633,6 +634,10 @@ def main_getkey # GET KEY FROM USER
633
634
  @preview = !@preview
634
635
  @break = true
635
636
  @w_b.update = true
637
+ when '_'
638
+ @showimage = !@showimage
639
+ @break = true
640
+ @w_b.update = true
636
641
  # ADDITIONAL COMMANDS
637
642
  when '/' # Get search string to mark items that match the input
638
643
  @w_b.nohistory = true
@@ -736,6 +741,8 @@ def conf_write
736
741
  conf += "@border = #{@border}\n"
737
742
  conf.sub!(/^@preview.*\n/, "")
738
743
  conf += "@preview = #{@preview}\n"
744
+ conf.sub!(/^@showimage.*\n/, "")
745
+ conf += "@showimage = #{@showimage}\n"
739
746
  w_r_info("Press W again to write this to .rtfm.conf:\n\n" + conf)
740
747
  if getchr == 'W'
741
748
  w_b_info(" Parameters written to .rtfm.conf")
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.7.0
4
+ version: 1.7.1
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-02 00:00:00.000000000 Z
11
+ date: 2021-12-04 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.7.0: Added Vim motion keys and moved other keys a bit to
37
- make it possible.'
36
+ other features. New in 1.7.1: Added toggle of image preview in the right pane.'
38
37
  email: g@isene.com
39
38
  executables:
40
39
  - rtfm