rtfm-filemanager 2.6 → 2.6.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/README.md +32 -0
- data/bin/rtfm +7 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e3ff4bab2b2b6c467f5427c74b000c93ff09a6f395c28aabeafc157c9466b4d
|
4
|
+
data.tar.gz: 3d8d2ceb06e663bc524b4105155b8afd88b4cc4c5c44d77e29b9019e3bf5b601
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55e3d5e254de06c2b9c71f5c1ad0b684d0f5a28a1cf19d57869c3a2c6f4adeeb96373b64f58f1f3110c1388af6c2fb5878fee0722ee46e93c40d132ad266caa0
|
7
|
+
data.tar.gz: f08f9ca02809a328f61da211a14b592df98b950241ae1f3f1671906c797b06e31230cf508d5c76d52b4b4f419b2f33d454cd2a2439cc15b25c59eb0bca471741
|
data/README.md
CHANGED
@@ -11,6 +11,38 @@ systems.
|
|
11
11
|
|
12
12
|
Note: RTFM works best with the (u)rxvt, xterm and Eterm terminal emulators.
|
13
13
|
|
14
|
+
## Features
|
15
|
+
|
16
|
+
RTFM is one of the more feature rich terminal file managers. Some of the
|
17
|
+
features:
|
18
|
+
|
19
|
+
* RTFM shows images inline in the terminal (can be turned off)
|
20
|
+
* File contents is shown with proper syntax highlighting
|
21
|
+
* Item's meta data is shown at the top
|
22
|
+
* Easily browse file content (even pdf, MS/OpenOffice, etc.)
|
23
|
+
* Move around the file systems using arrow keys of VI keys
|
24
|
+
* Copy, move or rename files
|
25
|
+
* Create symlinks with just one key stroke
|
26
|
+
* Easily copy an item's path to clipboard or primary selection
|
27
|
+
* Order items the way you want
|
28
|
+
* See only files of a certain type
|
29
|
+
* Filter out all files not matching a [regex](https://www.rubyguides.com/2015/06/ruby-regex/) pattern
|
30
|
+
* Mark files and directories an do group actions on them
|
31
|
+
* Bookmark directories for easy jumping
|
32
|
+
* Follow a symlink to where it points with one key stroke
|
33
|
+
* Highlight files and directories matching a given pattern
|
34
|
+
* Find items using `locate` and jump directly to the desired item
|
35
|
+
* Find items and jump there using fuzzy search (uses
|
36
|
+
[fzf](https://github.com/junegunn/fzf))
|
37
|
+
* Execute any shell command from inside RTFM
|
38
|
+
* [navi](https://github.com/denisidoro/navi) integration for easier command
|
39
|
+
executions
|
40
|
+
* Easily unpack or create archives
|
41
|
+
* Show git status for the current directory
|
42
|
+
* Show comprehensive system info (processes running, disk space, dmesg, etc.)
|
43
|
+
* See if a directory (with sub dirs) has changed using cryptographic hashes
|
44
|
+
* Integration with OpenAI to get an executive summary of file content
|
45
|
+
|
14
46
|
## Why?
|
15
47
|
RTFM parses your LS_COLORS to ensure color consistency with the terminal experience.
|
16
48
|
|
data/bin/rtfm
CHANGED
@@ -530,8 +530,14 @@ def main_getkey # GET KEY FROM USER
|
|
530
530
|
end
|
531
531
|
when 'c' # Change/rename selected @selected
|
532
532
|
cmd = w_b_getstr(": ", "mv \"#{@selected}\" \"#{@selected}\"")
|
533
|
+
el1 = cmd.sub(/mv \"(.*)\" \"(.*)\"/, '\1')
|
534
|
+
el2 = cmd.sub(/mv \"(.*)\" \"(.*)\"/, '\2')
|
533
535
|
begin
|
534
|
-
|
536
|
+
if el1 == el2
|
537
|
+
w_b_info(" Source and target are the same. No action done.")
|
538
|
+
else
|
539
|
+
w_b_exec(cmd + " 2>/dev/null")
|
540
|
+
end
|
535
541
|
rescue StandardError => err
|
536
542
|
w_b_info(err.to_s)
|
537
543
|
end
|
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:
|
4
|
+
version: 2.6.2
|
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-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: curses
|
@@ -47,8 +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.
|
51
|
-
New in 2.5: fzf integration via Ctrl-L. New in 2.6: navi integration via ctrl-n'
|
50
|
+
other features. New in 2.6.2: Fixed an annoyance in ''mv'' (key ''c'')'
|
52
51
|
email: g@isene.com
|
53
52
|
executables:
|
54
53
|
- rtfm
|