lfp


Logs | Files | README | LICENSE | GitLab


1
commit 842634964def590d0b6163bccb3c2f56b02cf3e5
2
Author: Connor Etherington <[email protected]>
3
Date:   Tue May 16 22:12:43 2023 +0200
4
5
    Auto-Commit Update 16.05.2023 - 22:12:43
6
---
7
 README.md                   |  18 +++-----
8
 usr/share/doc/lfp/README.md | 104 +++++++++++++++++++++++---------------------
9
 2 files changed, 61 insertions(+), 61 deletions(-)
10
11
diff --git a/README.md b/README.md
12
index 610194e..1183635 100644
13
--- a/README.md
14
+++ b/README.md
15
@@ -7,7 +7,7 @@ The program makes use of `ueberzug` to preview images, documents and video thumb
16
 
17
 ## Usage:
18
 
19
-Run `lfp`. Optionally, a startup directory can be specified by a second argument. By default, `lfp` will launch in your current working directory.
20
+Run `lfp`. Optionally, a startup directory can be specified by a second argument. By default, lfp will launch in your current working directory.
21
 Icons for relative filetypes can be changed by editing the lfp-icons file in *'/usr/share/lfp/lfp-icons'*.
22
 
23
 
24
@@ -35,13 +35,13 @@ For on-exit directory changing, add the following line to your bash/zshrc:
25
 
26
 ## Installation
27
 
28
-**Arch Linux:**
29
+### Arch Linux
30
 
31
-`lfp` is available in the AUR as `lfp` or `lfp-git`
32
+lfp is available in the AUR as `lfp` or `lfp-git`
33
 
34
 
35
 
36
-**Manual Installation:**
37
+### Manual Installation
38
 
39
     tmp=$(mktemp -d);
40
     git clone https://gitlab.com/a4to/lfp.git ${tmp} &&
41
@@ -56,10 +56,6 @@ For on-exit directory changing, add the following line to your bash/zshrc:
42
 
43
 ## Keybindings
44
 
45
-**Use the following keybindings to activate relatie functions and features:**
46
-
47
-***
48
-
49
 
50
 ### Navigation:
51
 
52
@@ -80,13 +76,13 @@ For on-exit directory changing, add the following line to your bash/zshrc:
53
 * **s**: Edit file you're currently hovering over
54
 * **n**: Create new directory
55
 * **m**: Play with mpv
56
-* **f**: Activate fzfp (`lfp's` fuzzy-finder)
57
+* **f**: Activate fzfp (lfp's fuzzy-finder)
58
 * **b**: Open file in default browser
59
 * **e**: Prompts you for a filename to edit/create
60
 * **t**: Prompts you for a filename for blank file to create
61
 * **x**: Execute selected file(s)
62
 * **z**: Open in `sxiv` (an image viewer)
63
-* **q**: Quit `lfp`
64
+* **q**: Quit lfp
65
 * **\<Space\>**: Select file(s)
66
 * **\<Period\>**: (.) - Activates Node Actions, various npm/yarn actions / quick command execution
67
 
68
@@ -100,7 +96,7 @@ For on-exit directory changing, add the following line to your bash/zshrc:
69
 * **H**: Create hardlink of selected file(s) to current directory
70
 * **R**: Create relative symlink of selected file(s) to current directory
71
 * **E**: Extract archive (bz2 rar gz tar tar.* tbz2 tgz zip Z 7z deb)
72
-* **C**: Quick clone a git repository without leaving `lfp`
73
+* **C**: Quick clone a git repository without leaving lfp
74
 * **\<Ctrl+c\>**: Git clone a repo
75
 * **\<Ctrl+g\>**: Activate pushto - select a branch to push to (only works inside a git repo)
76
 * **\<Ctrl+b\>**: Open file in browser
77
diff --git a/usr/share/doc/lfp/README.md b/usr/share/doc/lfp/README.md
78
index 040d86f..1183635 100644
79
--- a/usr/share/doc/lfp/README.md
80
+++ b/usr/share/doc/lfp/README.md
81
@@ -7,7 +7,7 @@ The program makes use of `ueberzug` to preview images, documents and video thumb
82
 
83
 ## Usage:
84
 
85
-Run `lfp`. Optionally, a startup directory can be specified by a second argument. By default, `lfp` will launch in your current working directory.
86
+Run `lfp`. Optionally, a startup directory can be specified by a second argument. By default, lfp will launch in your current working directory.
87
 Icons for relative filetypes can be changed by editing the lfp-icons file in *'/usr/share/lfp/lfp-icons'*.
88
 
89
 
90
@@ -35,18 +35,18 @@ For on-exit directory changing, add the following line to your bash/zshrc:
91
 
92
 ## Installation
93
 
94
-**Arch Linux:**
95
+### Arch Linux
96
 
97
-`lfp` is available in the AUR as `lfp` or `lfp-git`
98
+lfp is available in the AUR as `lfp` or `lfp-git`
99
 
100
 
101
 
102
-**Manual Installation:**
103
+### Manual Installation
104
 
105
     tmp=$(mktemp -d);
106
     git clone https://gitlab.com/a4to/lfp.git ${tmp} &&
107
     cd ${tmp} && sudo make clean install && cd - &&
108
-    rm -rf ${tmp} >/dev/null 2>&1 || true
109
+    rm -rf ${tmp} \>/dev/null 2\>&1 || true
110
 
111
 
112
 **To uninstall lfp:**
113
@@ -56,51 +56,55 @@ For on-exit directory changing, add the following line to your bash/zshrc:
114
 
115
 ## Keybindings
116
 
117
-**Use the following keybindings to activate relatie functions and features:**
118
-
119
-+ **h**         - Left
120
-+ **j**         - Down
121
-+ **k**         - Up
122
-+ **l**         - Right
123
-
124
-
125
-+ **<Space>**   - Select file(s)
126
-+ **v**         - Toggle select all file(s)
127
-+ **y**         - Copy selected file(s)
128
-+ **c**         - Cut selected file(s)
129
-+ **d**         - Delete selected file(s)
130
-+ **p**         - Paste selected file(s)
131
-+ **d**         - Delete selected file(s)
132
-+ **s**         - Edit file you're currently hovering over
133
-+ **n**         - Create new directory
134
-+ **m**         - Play with mpv
135
-+ **f**         - Activate fzfp (`lfp's` fuzzy-finder)
136
-+ **b**         - Open file in default browser
137
-+ **e**         - Prompts you for a filename to edit/create
138
-+ **t**         - Prompts you for a filename for blank file to create
139
-+ **x**         - Execute selected file(s)
140
-+ **z**         - Open in `sxiv` (an image viewer)
141
-+  **q**        - Quit `lfp`
142
-+ **<Enter>**   - Enter shell command
143
-+ **<Period>**  - (.) - Activates Node Actions, various npm/yarn actions / quick command execution
144
-
145
-
146
-+ **B**         - Bulk rename
147
-+ **E**         - Extract archive
148
-+ **D**         - (sudo) Delete selected file(s)
149
-+ **L**         - Symlink selected file(s) to current directory
150
-+ **H**         - Create hardlink of selected file(s) to current directory
151
-+ **R**         - Create relative symlink of selected file(s) to current directory
152
-+ **E**         - Extract archive (bz2 rar gz tar tar.* tbz2 tgz zip Z 7z deb)
153
-+ **C**         - Quick clone a git repository without leaving `lfp`
154
-
155
-
156
-+ **<Ctrl+c>**  - Git clone a repo
157
-+ **<Ctrl+g>**  - Activate pushto - select a branch to push to (only works inside a git repo)
158
-+ **<Ctrl+b>**  - Open file in browser
159
-+ **<Ctrl+6>**  - Chmod 644 selected file(s)
160
-+ **<Ctrl+7>**  - Chmod 755 selected file(s)
161
-+ **<Ctrl+8>**  - Chmod 700 selected file(s)
162
+
163
+### Navigation:
164
+
165
+* **h**: Left
166
+* **j**: Down
167
+* **k**: Up
168
+* **l**: Right
169
+
170
+
171
+### Main actions:
172
+
173
+* **v**: Toggle select all file(s)
174
+* **y**: Copy selected file(s)
175
+* **c**: Cut selected file(s)
176
+* **d**: Delete selected file(s)
177
+* **p**: Paste selected file(s)
178
+* **d**: Delete selected file(s)
179
+* **s**: Edit file you're currently hovering over
180
+* **n**: Create new directory
181
+* **m**: Play with mpv
182
+* **f**: Activate fzfp (lfp's fuzzy-finder)
183
+* **b**: Open file in default browser
184
+* **e**: Prompts you for a filename to edit/create
185
+* **t**: Prompts you for a filename for blank file to create
186
+* **x**: Execute selected file(s)
187
+* **z**: Open in `sxiv` (an image viewer)
188
+* **q**: Quit lfp
189
+* **\<Space\>**: Select file(s)
190
+* **\<Period\>**: (.) - Activates Node Actions, various npm/yarn actions / quick command execution
191
+
192
+
193
+### Additional actions:
194
+
195
+* **B**: Bulk rename
196
+* **E**: Extract archive
197
+* **D**: (sudo) Delete selected file(s)
198
+* **L**: Symlink selected file(s) to current directory
199
+* **H**: Create hardlink of selected file(s) to current directory
200
+* **R**: Create relative symlink of selected file(s) to current directory
201
+* **E**: Extract archive (bz2 rar gz tar tar.* tbz2 tgz zip Z 7z deb)
202
+* **C**: Quick clone a git repository without leaving lfp
203
+* **\<Ctrl+c\>**: Git clone a repo
204
+* **\<Ctrl+g\>**: Activate pushto - select a branch to push to (only works inside a git repo)
205
+* **\<Ctrl+b\>**: Open file in browser
206
+* **\<Ctrl+6\>**: Chmod 644 selected file(s)
207
+* **\<Ctrl+7\>**: Chmod 755 selected file(s)
208
+* **\<Ctrl+8\>**: Chmod 700 selected file(s)
209
+* **\<Enter\>**: Enter shell command
210
+
211
 
212
 And many more.
213