rtfm-filemanager 2.4 → 2.5
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/README.md +3 -1
- data/bin/rtfm +15 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76432f70e088d0515d3b36720d20f52f25cf0a90047671aa1ac60e590ec689c3
|
4
|
+
data.tar.gz: 1ec43a86d49b697f2047244ef0874e2403f87791fad50ffca27156ea0455a29e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '05158f66c902f1ac681d9737c3bdd5db30adcc1d6feaec3ac21b27585205ed38c630d711b3e546090d9d68d26f49afef57bfd84daaee323726df752f7f158c89'
|
7
|
+
data.tar.gz: f33b04324aa56f5b996c5c772c10fcbcd74400c1f52d898b661df7e78317500ae9531891c4641bd16d58a063538ead2b8962d929fc877dea41b9e84613aa9975
|
data/README.md
CHANGED
@@ -6,7 +6,8 @@ directories and view the content of directories and files. Files are syntax
|
|
6
6
|
highlighted, images are shown in the terminal, videos are thumbnailed, etc.
|
7
7
|
You can bookmark and jump around easily, delete, rename, copy, symlink and
|
8
8
|
move files. RTFM has a a wide range of other features. Read on for what it can
|
9
|
-
do.
|
9
|
+
do. RTFM consists of just one executable file and thereby easily ported across
|
10
|
+
systems.
|
10
11
|
|
11
12
|
Note: RTFM works best with the (u)rxvt, xterm and Eterm terminal emulators.
|
12
13
|
|
@@ -149,6 +150,7 @@ N | Jump to the previous item matched by '/'
|
|
149
150
|
~ | Jump to Home directory
|
150
151
|
\> | Follow symlink to the directory where the target resides
|
151
152
|
L | Start 'locate' search for files, then use '#' to jump to desired line/directory
|
153
|
+
Ctrl-l | Locate files via fzf (fuzzy file finder must be installed https://github.com/junegunn/fzf)
|
152
154
|
|
153
155
|
### Tagging
|
154
156
|
|
data/bin/rtfm
CHANGED
@@ -54,6 +54,7 @@ JUMPING AND MARKS
|
|
54
54
|
~ = Jump to Home directory
|
55
55
|
> = Follow symlink to the directory where the target resides
|
56
56
|
L = Start 'locate' search for files, then use '#' to jump to desired line/directory
|
57
|
+
Ctrl-l = Locate files via fzf (fuzzy file finder must be installed https://github.com/junegunn/fzf)
|
57
58
|
|
58
59
|
TAGGING
|
59
60
|
t = Tag item (toggles)
|
@@ -300,8 +301,9 @@ def getchr # PROCESS KEY PRESSES
|
|
300
301
|
when "", "" then chr = "BACK"
|
301
302
|
when "" then chr = "WBACK"
|
302
303
|
when "" then chr = "LDEL"
|
303
|
-
when "
|
304
|
+
when "" then chr = "C-L"
|
304
305
|
when "" then chr = "C-G"
|
306
|
+
when "" then chr = "C-T"
|
305
307
|
when "\r" then chr = "ENTER"
|
306
308
|
when "\t" then chr = "TAB"
|
307
309
|
when /./ then chr = c
|
@@ -710,6 +712,18 @@ def main_getkey # GET KEY FROM USER
|
|
710
712
|
when 'F' # Filter out files not matching @lsmatch
|
711
713
|
@lsmatch = w_b_getstr("Files will match RegEx: ", @lsmatch)
|
712
714
|
w_b_info(nil)
|
715
|
+
when 'C-L'
|
716
|
+
begin
|
717
|
+
jump = `fzf`.chomp
|
718
|
+
rescue
|
719
|
+
w_b_info(" fzf not installed - see https://github.com/junegunn/fzf")
|
720
|
+
end
|
721
|
+
jumpdir = File.dirname(jump)
|
722
|
+
@searched = File.basename(jump)
|
723
|
+
@directory[Dir.pwd] = @selected # Store this directory before leaving
|
724
|
+
mark_latest
|
725
|
+
Dir.chdir(jumpdir)
|
726
|
+
@break = true
|
713
727
|
when '/' # Get search string to mark items that match the input
|
714
728
|
@w_b.nohistory = true
|
715
729
|
@searched = w_b_getstr("/ ", "")
|
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.
|
4
|
+
version: '2.5'
|
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-
|
11
|
+
date: 2023-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: curses
|
@@ -47,7 +47,8 @@ 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.4: Added archive creation (key=Z) and extraction (key=z)
|
50
|
+
other features. New in 2.4: Added archive creation (key=Z) and extraction (key=z).
|
51
|
+
New in 2.5: fzf integration via Ctrl-L'
|
51
52
|
email: g@isene.com
|
52
53
|
executables:
|
53
54
|
- rtfm
|