| Hash | Commit message | Author | Date | Files | + | - |
1 | commit 7f16f86ff015a4169bd8e7526c9b83992e81b443 |
2 | Author: Connor Etherington <[email protected]> |
3 | Date: Sat Sep 16 13:28:05 2023 +0200 |
4 | |
5 | Auto-Commit Update - 20230916 |
6 | --- |
7 | PKGBUILD | 2 +- |
8 | README.md | 4 ++-- |
9 | usr/share/doc/lfp/README.md | 4 ++-- |
10 | usr/share/lfp/lfprc | 6 ++++++ |
11 | usr/share/man/man1/lfp.1.gz | Bin 1782 -> 1800 bytes |
12 | 5 files changed, 11 insertions(+), 5 deletions(-) |
13 | |
14 | diff --git a/PKGBUILD b/PKGBUILD |
15 | index 21c0634..9349663 100644 |
16 | --- a/PKGBUILD |
17 | +++ b/PKGBUILD |
18 | @@ -1,7 +1,7 @@ |
19 | # Maintainer: Connor Etherington <[email protected]> |
20 | # --- |
21 | pkgname=lfp |
22 | -pkgver=4.0.1 |
23 | +pkgver=4.0.2 |
24 | pkgrel=1 |
25 | pkgdesc='A wrapper for the lf file manager with in-terminal media previews, on-exit directory changing and much more' |
26 | license=('MIT') |
27 | diff --git a/README.md b/README.md |
28 | index 014917d..435e8b8 100644 |
29 | --- a/README.md |
30 | +++ b/README.md |
31 | @@ -3,7 +3,7 @@ |
32 | ### `lfp` is a simple wrapper for the `lf` file manager, with built-in file, image, and video previews, as well as on-exit directory changing. |
33 | ### The program makes use of `ueberzug` to preview images, documents, and video thumbnails. Preview behavior can be altered by editing the *scope* file. |
34 | |
35 | -**Version: 4.0.1** |
36 | +**Version: 4.0.2** |
37 | |
38 | *** |
39 | |
40 | @@ -138,7 +138,7 @@ The PyManager function provides various actions to manage a Python project, incl |
41 | * **R**: Create relative symlink of selected file(s) to current directory |
42 | * **E**: Extract archive (bz2 rar gz tar tar.* tbz2 tgz zip Z 7z deb) |
43 | * **C**: Quick clone a git repository without leaving lfp |
44 | -* **\<Ctrl+c\>**: Git clone a repo |
45 | +* **\<Ctrl+c\>**: CopyPath, this feature copies the absolute path of the file youre currently hovering over to your clipboard |
46 | * **\<Ctrl+g\>**: Activate pushto - select a branch to push to (only works inside a git repo) |
47 | * **\<Ctrl+b\>**: Open file in browser |
48 | * **\<Ctrl+6\>**: Chmod 644 selected file(s) |
49 | diff --git a/usr/share/doc/lfp/README.md b/usr/share/doc/lfp/README.md |
50 | index a5aac82..e19674d 100644 |
51 | --- a/usr/share/doc/lfp/README.md |
52 | +++ b/usr/share/doc/lfp/README.md |
53 | @@ -3,7 +3,7 @@ |
54 | ### `lfp` is a simple wrapper for the `lf` file manager, with built-in file, image, and video previews, as well as on-exit directory changing. |
55 | ### The program makes use of `ueberzug` to preview images, documents, and video thumbnails. Preview behavior can be altered by editing the *scope* file. |
56 | |
57 | -**Version: 4.0.1** |
58 | +**Version: 4.0.2** |
59 | |
60 | *** |
61 | |
62 | @@ -135,7 +135,7 @@ The PyManager function provides various actions to manage a Python project, incl |
63 | * **R**: Create relative symlink of selected file(s) to current directory |
64 | * **E**: Extract archive (bz2 rar gz tar tar.* tbz2 tgz zip Z 7z deb) |
65 | * **C**: Quick clone a git repository without leaving lfp |
66 | -* **\<Ctrl+c\>**: Git clone a repo |
67 | +* **\<Ctrl+c\>**: CopyPath, this feature copies the absolute path of the file youre currently hovering over to your clipboard |
68 | * **\<Ctrl+g\>**: Activate pushto - select a branch to push to (only works inside a git repo) |
69 | * **\<Ctrl+b\>**: Open file in browser |
70 | * **\<Ctrl+6\>**: Chmod 644 selected file(s) |
71 | diff --git a/usr/share/lfp/lfprc b/usr/share/lfp/lfprc |
72 | index 27e17cc..1ef3dca 100644 |
73 | --- a/usr/share/lfp/lfprc |
74 | +++ b/usr/share/lfp/lfprc |
75 | @@ -453,6 +453,11 @@ tmpd=$(echo $$) ; eval $(mkdir $tmpd && cd $tmpd && notify-send "🔧 Temp dir c |
76 | notify-send "❌ Could not create temp dir.") |
77 | }} |
78 | |
79 | +cmd cpPath ${{ |
80 | + realpath ${f:-.} | xargs echo -n | xsel -ib |
81 | + notify-send "📋 Copied path" "\"$(basename $f)\" path coppied to clipboard." |
82 | +}} |
83 | + |
84 | cmd browserOpen ${{ |
85 | ${BROWSER:-firefox} $fx >/dev/null 2>&1 || ${BROWSER:-firefox} $f || notify-send "❌No supported browser detected." \ |
86 | "Please set the BROWSER env variable." |
87 | @@ -539,6 +544,7 @@ map = meChange $fx |
88 | map I newTernPwd |
89 | map . nodeAction |
90 | map , pyAction |
91 | +map <c-c> cpPath |
92 | |
93 | |
94 | # Commmand Oriented Bindings: |
95 | diff --git a/usr/share/man/man1/lfp.1.gz b/usr/share/man/man1/lfp.1.gz |
96 | index 1b4a780..6032887 100755 |
97 | Binary files a/usr/share/man/man1/lfp.1.gz and b/usr/share/man/man1/lfp.1.gz differ |