Compare commits

...

3 Commits

Author SHA1 Message Date
daniel f1e9c49940 Add quick resume in zsh via C-z 2025-04-16 14:26:21 -05:00
daniel 8d9a798078 Add some integrations directly with helix 2025-04-16 14:26:03 -05:00
daniel 7ffcd8b922 Disable rootless docker envars for now 2025-04-16 14:17:54 -05:00
4 changed files with 51 additions and 3 deletions
+39
View File
@@ -28,3 +28,42 @@ _ = { n = ":set whitespace.render none", a = ":set whitespace.render all" }
[keys.normal.space]
i = ":toggle lsp.display-inlay-hints"
# Git integration with lazygit
[keys.normal]
C-g = [
":write-all",
":insert-output lazygit >/dev/tty",
":redraw",
":reload-all"
]
# File explorer with yazi
[keys.normal.space]
e = [
":sh rm -f /tmp/unique-file-c5140c67",
":insert-output yazi '%{buffer_name}' --chooser-file=/tmp/unique-file-c5140c67",
":insert-output echo \"x1b[?1049h\" > /dev/tty",
":open %sh{cat /tmp/unique-file-c5140c67}",
":redraw",
":set mouse false",
":set mouse true",
]
E = [
":sh rm -f /tmp/unique-file-bea21125",
":insert-output yazi '%{workspace_directory}' --chooser-file=/tmp/unique-file-bea21125",
":insert-output echo \"x1b[?1049h\" > /dev/tty",
":open %sh{cat /tmp/unique-file-bea21125}",
":redraw",
":set mouse false",
":set mouse true",
]
# Search and replace with scooter
[keys.normal]
C-r = [
":write-all",
":insert-output scooter >/dev/tty",
":redraw",
":reload-all"
]
+1 -1
View File
@@ -5,7 +5,7 @@ keybinds {
// bind "Alt c" { Copy; }
}
locked {
bind "Ctrl g" { SwitchToMode "Normal"; }
bind "Alt g" { SwitchToMode "Normal"; }
}
resize {
bind "Ctrl n" { SwitchToMode "Normal"; }
+9
View File
@@ -0,0 +1,9 @@
# Allow Ctrl-z to toggle between suspend and resume
function Resume {
fg
zle push-input
BUFFER=""
zle accept-line
}
zle -N Resume
bindkey "^Z" Resume
+2 -2
View File
@@ -1,5 +1,5 @@
export DOCKER_HOST="unix://$XDG_RUNTIME_DIR/docker.sock"
export DOCKER_SOCKET="$XDG_RUNTIME_DIR/docker.sock"
# export DOCKER_HOST="unix://$XDG_RUNTIME_DIR/docker.sock"
# export DOCKER_SOCKET="$XDG_RUNTIME_DIR/docker.sock"
export EDITOR="helix"
export FINDER="sk"
export GPG_TTY=$(tty)