nu: add Alt+. last-arg keybinding and nushell-book doc submodule

- keybindings block in config.nu with Alt+. → insert last token from history
- nushell.github.io added as external_nushell-book submodule under dot_local/share/docs
- CLAUDE.md local docs table updated
This commit is contained in:
2026-05-17 17:31:14 +02:00
parent a7e045c6b7
commit 119c396efc
4 changed files with 18 additions and 0 deletions
+3
View File
@@ -7,3 +7,6 @@
[submodule "dot_local/share/docs/external_waybar.wiki"]
path = dot_local/share/docs/external_waybar.wiki
url = https://github.com/Alexays/Waybar.wiki.git
[submodule "dot_local/share/docs/external_nushell-book"]
path = dot_local/share/docs/external_nushell-book
url = https://github.com/nushell/nushell.github.io.git
+1
View File
@@ -64,6 +64,7 @@ This copies built theme artifacts into the appropriate `dot_config/*/themes/` di
| chezmoi | `~/.local/share/docs/chezmoi-docs/` |
| Hyprland | `~/.local/share/docs/hyprland.wiki/` |
| Waybar | `~/.local/share/docs/waybar.wiki/` (also `man 5 waybar`) |
| Nushell | `~/.local/share/docs/nushell-book/` |
| Ghostty | `/usr/share/ghostty` |
## Commit convention
+13
View File
@@ -30,6 +30,19 @@ $env.config = {
completer: $carapace_completer
}
}
keybindings: [
{
name: insert_last_arg
modifier: alt
keycode: char_.
mode: [vi_insert, emacs]
event: {
send: executehostcommand
cmd: "commandline edit --insert (history | last | split words | last)"
}
}
]
}
plugin use gstat