@rivolink/leaf-android-arm64 1.24.0 → 1.24.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.
- package/README.md +43 -39
- package/leaf +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -121,8 +121,8 @@ leaf --inline ansi:60 README.md
|
|
|
121
121
|
cat README.md | leaf --inline
|
|
122
122
|
|
|
123
123
|
# Use as a fzf preview
|
|
124
|
-
|
|
125
|
-
|
|
124
|
+
fzf --preview 'leaf --inline ansi {}'
|
|
125
|
+
fzf --preview 'leaf --inline ansi:$FZF_PREVIEW_COLUMNS {}'
|
|
126
126
|
```
|
|
127
127
|
|
|
128
128
|
## Shell Completions
|
|
@@ -220,45 +220,41 @@ See [`gruvbox.toml`](gruvbox.toml) for a complete example with all available col
|
|
|
220
220
|
|
|
221
221
|
## Keybindings
|
|
222
222
|
|
|
223
|
-
| Key | Action |
|
|
224
|
-
|
|
225
|
-
| `j` / `↓` | Scroll down |
|
|
226
|
-
| `k` / `↑` | Scroll up |
|
|
227
|
-
| `d` / PgDn | Page down (20 lines) |
|
|
228
|
-
| `u` / PgUp | Page up (20 lines) |
|
|
229
|
-
| `g` / Home | Top |
|
|
230
|
-
| `G` / End | Bottom |
|
|
231
|
-
| `
|
|
232
|
-
| `
|
|
233
|
-
| `
|
|
234
|
-
| `
|
|
235
|
-
| `Shift+
|
|
236
|
-
| `
|
|
237
|
-
| `Ctrl+E` | Open in editor |
|
|
238
|
-
| `Ctrl+L` | Go to line |
|
|
239
|
-
| `Ctrl+P` | Open fuzzy picker |
|
|
240
|
-
| `Ctrl+F` / `/` | Find |
|
|
241
|
-
| `Ctrl+Click` | Open link |
|
|
242
|
-
| `Dbl-Click` | Copy link |
|
|
243
|
-
| `n` / `N` | Next / prev match |
|
|
244
|
-
| `?` | Show help popup |
|
|
245
|
-
| `r` | Force reload (watch mode) |
|
|
246
|
-
| `q` | Quit |
|
|
223
|
+
| Key | Action | Key | Action |
|
|
224
|
+
|---|---|---|---|
|
|
225
|
+
| `j` / `↓` | Scroll down | `?` | Show help popup |
|
|
226
|
+
| `k` / `↑` | Scroll up | `t` | Toggle TOC sidebar |
|
|
227
|
+
| `d` / PgDn | Page down (20 lines) | `Shift+L` | Toggle line numbers |
|
|
228
|
+
| `u` / PgUp | Page up (20 lines) | `Shift+T` | Open theme picker |
|
|
229
|
+
| `g` / Home | Top | `Shift+E` | Open editor picker |
|
|
230
|
+
| `G` / End | Bottom | `Shift+P` | Open file browser |
|
|
231
|
+
| `Ctrl+L` | Go to line | `Ctrl+P` | Open fuzzy picker |
|
|
232
|
+
| `Ctrl+F` / `/` | Find | `Ctrl+E` | Open in editor |
|
|
233
|
+
| `n` / `N` | Next / prev match | `Ctrl+Click` | Open link |
|
|
234
|
+
| `w` | Toggle watch mode | `Double-Click` | Copy link |
|
|
235
|
+
| `r` | Force reload (watch mode) | `Shift+Drag` | Select text |
|
|
236
|
+
| `q` | Quit | `Option+Drag` | Select text (iTerm2) |
|
|
247
237
|
|
|
248
238
|
## Features
|
|
249
239
|
|
|
250
|
-
- **Live preview**
|
|
251
|
-
- **File picker**
|
|
252
|
-
- **Editor integration**
|
|
253
|
-
- **Frontmatter support**
|
|
254
|
-
- **Rich Markdown rendering**
|
|
255
|
-
- **
|
|
256
|
-
- **
|
|
257
|
-
- **
|
|
258
|
-
- **
|
|
259
|
-
- **
|
|
260
|
-
- **
|
|
261
|
-
- **
|
|
240
|
+
- **Live preview** : *Watch mode with automatic reload and visual feedback*.
|
|
241
|
+
- **File picker** : *Fuzzy Markdown picker, directory browser, and watch after selection*.
|
|
242
|
+
- **Editor integration** : *Open the current file in your preferred editor*.
|
|
243
|
+
- **Frontmatter support** : *YAML frontmatter rendered as a table (horizontal or vertical based on key count)*.
|
|
244
|
+
- **Rich Markdown rendering** : *Tables, lists, blockquotes, rules, bold, italic, and strikethrough*.
|
|
245
|
+
- **GitHub extras** : *Alert callouts, task list checkboxes, and `==mark==` text highlighting*.
|
|
246
|
+
- **Extra file types** : *Open any file; code files get syntax highlighting, text files render as Markdown*.
|
|
247
|
+
- **Syntax highlighting** : *Common aliases like `py`, `cpp`, `json`, `toml`, `ps1`, `dockerfile`*.
|
|
248
|
+
- **Line numbers** : *Toggle display with `Shift+L`, jump to a line with `Ctrl+L`*.
|
|
249
|
+
- **LaTeX support** : *Inline, block, and `latex` / `tex` code blocks rendered as formulas*.
|
|
250
|
+
- **Mermaid diagrams** : *`mermaid` code blocks rendered as ASCII diagrams*.
|
|
251
|
+
- **Clickable links** : *`Ctrl+Click` to open, double-click to copy, hover feedback*.
|
|
252
|
+
- **Navigation** : *TOC sidebar, active section tracking, heading jumps, and search*.
|
|
253
|
+
- **Terminal UX** : *Theme picker, help popup, file path popup, mouse and keyboard support*.
|
|
254
|
+
- **Custom themes** : *TOML theme files inheriting from built-in presets with color overrides*.
|
|
255
|
+
- **Inline mode** : *Render to stdout with `--inline` for pipes and fzf previews*.
|
|
256
|
+
- **Shell completions** : *Tab completion for bash, zsh, fish, and PowerShell via `leaf --auto-complete`*.
|
|
257
|
+
- **CLI friendly** : *stdin support and `leaf --update` with SHA256 verification*.
|
|
262
258
|
|
|
263
259
|
## Typical AI Workflow
|
|
264
260
|
|
|
@@ -294,6 +290,14 @@ Close any terminal session still running `leaf`, then rerun the PowerShell insta
|
|
|
294
290
|
irm https://raw.githubusercontent.com/RivoLink/leaf/main/scripts/install.ps1 | iex
|
|
295
291
|
```
|
|
296
292
|
|
|
293
|
+
### Windows: auto-complete execution policy error
|
|
294
|
+
|
|
295
|
+
If PowerShell reports that running scripts is disabled on this system after `leaf --auto-complete`, allow local scripts and restart PowerShell:
|
|
296
|
+
|
|
297
|
+
```powershell
|
|
298
|
+
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
|
|
299
|
+
```
|
|
300
|
+
|
|
297
301
|
## Uninstall
|
|
298
302
|
|
|
299
303
|
**macOS / Linux / Android / Termux:**
|
|
@@ -318,7 +322,7 @@ npm uninstall -g @rivolink/leaf
|
|
|
318
322
|
|
|
319
323
|
Thanks to all contributors.
|
|
320
324
|
|
|
321
|
-

|
|
322
326
|
|
|
323
327
|
## Support
|
|
324
328
|
|
package/leaf
CHANGED
|
Binary file
|