rtfm-filemanager 2.6.3 → 2.6.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -1
  3. data/bin/rtfm +6 -2
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2d464a80092173383b054e77b5e027d9b96f938a8baa3df9ed6ab00b48b35e6f
4
- data.tar.gz: eca599ee40370be12d0325c608eccbe1a8a8b50ea4050f6793a537507b927836
3
+ metadata.gz: 1978345412619a9471e21b9275902e07ba7004e7bf5ac645e6bac27b8b45e34f
4
+ data.tar.gz: 93be24dbd2abe1dbb03141546e14b76349d7ff1f21db1b76c8049fd3019b18a9
5
5
  SHA512:
6
- metadata.gz: 679fec3e4c2bb04058f16b1a44844670406586f79c3a4ff1eae0acd25966d2ff3a71679b53aa91ad05b4513ad714754ea666b00db4eff12f0a5330603d838aec
7
- data.tar.gz: e6c92fb0ea838b0b6bb949ace62a8900d26a4d7b9000b58cab90d09a07dbd45a0559f82b37951bf5d8252cf71bc2756a8ae4072237c9c69c826c2211fc86d39c
6
+ metadata.gz: 91a44a9087023cf1a04b39474c5932d89f56cb3f32303fbf14d734d5136f776c65d90ad8a6a9da4c81586c28910cefc999f4e942390d412082a4caf1340c7791
7
+ data.tar.gz: 65ba8713eec6df59df5dba08ff4e03f9b4c879dcadb2972e25fcc4445b615a11fbb26ab83ec83658b792b6cd815f133164381d55f875cebc213a8ab249f9bb92
data/README.md CHANGED
@@ -25,7 +25,7 @@ features:
25
25
  * Item's meta data is shown at the top
26
26
  * Easily browse file content (even pdf, MS/OpenOffice, etc.)
27
27
  * Move around the file systems using arrow keys of VI keys
28
- * Copy, move, rename or delet files easily
28
+ * Copy, move, rename or delete files easily
29
29
  * Create symlinks with just one key stroke
30
30
  * Easily copy an item's path to clipboard or primary selection
31
31
  * Order items the way you want
@@ -240,6 +240,7 @@ Key | Description
240
240
  f | Show only files in the left pane matching extension(s) (e.g. "txt" or "pdf,png,jpg")
241
241
  F | Show only files matching a pattern (Ruby Regex) (e.g. "abc" or "ab.+12(\w3)*")
242
242
  g | Run 'grep' to show files that contains the MATCH in current directory
243
+ B | Toggle border
243
244
  : | Enter "command mode" in bottom window (press ENTER to execute, press Ctrl-G to escape)
244
245
  ; | Show command history in right pane
245
246
  y | Copy path of selected item to primary selection (for pasting with middle mouse button)
data/bin/rtfm CHANGED
@@ -98,6 +98,7 @@ ADDITINAL COMMANDS
98
98
  f = Show only files in the left pane matching extension(s) (e.g. "txt" or "pdf,png,jpg")
99
99
  F = Show only files matching a pattern (Ruby Regex) (e.g. "abc" or "ab.+12(\w3)*")
100
100
  g = Run 'grep' to show files that contains the MATCH in current directory
101
+ B = Toggle border
101
102
  : = Enter "command mode" in bottom window (press ENTER to execute, press Ctrl-G to escape)
102
103
  ; = Show command history in right pane
103
104
  y = Copy path of selected item to primary selection (for pasting with middle mouse button)
@@ -700,6 +701,9 @@ def main_getkey # GET KEY FROM USER
700
701
  @width = 2 if @width == 7
701
702
  @break = true
702
703
  @w_b.update = true
704
+ when 'B'
705
+ @border = !@border
706
+ @break = true
703
707
  when '-'
704
708
  @preview = !@preview
705
709
  @preview ? p = "On" : p = "Off"
@@ -978,11 +982,11 @@ def list_dir(active) # LIST CONTENT OF A DIRECTORY (BOTH active AND RIGHT WINDOW
978
982
  file_marker = color_pair(fg)
979
983
  file_marker = file_marker | Curses::A_BOLD if bold == 1
980
984
  if ix == @index and active
981
- str = "" + str
985
+ @w_l << ""
982
986
  file_marker = file_marker | Curses::A_UNDERLINE
983
987
  wixy = win.cury
984
988
  else
985
- str = " " + str
989
+ active ? @w_l << " " : @w_r << " "
986
990
  end
987
991
  file_marker = file_marker | Curses::A_REVERSE if @tagged.include?("\"#{Dir.pwd}/#{str_path}\"")
988
992
  file_marker = file_marker | Curses::A_BLINK if str.match(/#{@searched}/) and @searched != ""
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: 2.6.3
4
+ version: 2.6.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: 2023-04-20 00:00:00.000000000 Z
11
+ date: 2023-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: curses
@@ -47,7 +47,7 @@ dependencies:
47
47
  description: 'A full featured terminal browser with syntax highlighted files, images
48
48
  shown in the terminal, videos thumbnailed, etc. You can bookmark and jump around
49
49
  easily, delete, rename, copy, symlink and move files. RTFM has a a wide range of
50
- other features. New in 2.6.3: Update to README.md'
50
+ other features. New in 2.6.4: Cosmetics + added ''B'' for toggle border'
51
51
  email: g@isene.com
52
52
  executables:
53
53
  - rtfm