diff options
| -rw-r--r-- | .config/kak/kakrc | 13 | ||||
| -rw-r--r-- | .config/shell/aliasrc | 8 | ||||
| -rw-r--r-- | .config/shell/profile | 10 | ||||
| -rwxr-xr-x | .local/bin/ghostty | 2 | ||||
| -rwxr-xr-x | .local/bin/kc | 2 | ||||
| -rwxr-xr-x | .local/bin/kdoc | 2 | ||||
| -rwxr-xr-x | .local/bin/kj | 2 | ||||
| -rwxr-xr-x | .local/bin/ks | 2 | ||||
| -rwxr-xr-x | .local/bin/kt | 2 |
9 files changed, 29 insertions, 14 deletions
diff --git a/.config/kak/kakrc b/.config/kak/kakrc index 0c83673..1c12ec1 100644 --- a/.config/kak/kakrc +++ b/.config/kak/kakrc @@ -1,4 +1,11 @@ colorscheme gruber-darker -define-command -hidden ghostty-split -params 1 -docstring 'split the current window according to the param (vsplit / hsplit)' %sh{ - ghostty kak -c $kak_session -} +set-option global toolsclient t +set-option global jumpclient j +set-option global docsclient d + +map -docstring "Jump to next grep match" global goto n <esc>:grep-next-match<ret> +map -docstring "Jump to previous grep match" global goto p <esc>:grep-previous-match<ret> +map -docstring "Jump to next make error" global goto ] <esc>:make-next-error<ret> +map -docstring "Jump to previous make error" global goto [ <esc>:make-previous-error<ret> + +# define-command -docstring "edit relative" diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc index 613e843..1d924d3 100644 --- a/.config/shell/aliasrc +++ b/.config/shell/aliasrc @@ -1,2 +1,10 @@ alias \ ref="shortcuts >/dev/null; . ${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutrc ; . ${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutenvrc" +alias g="git " +alias s="{ git status --short ; git log --oneline @{push}.. ; }" +alias ga="git add " +alias gc="git commit " +alias d="docker " +alias k="kak " +alias kd='echo cd $PWD | kak -p s ' +alias t="terraform " diff --git a/.config/shell/profile b/.config/shell/profile index 8dcafc9..390c789 100644 --- a/.config/shell/profile +++ b/.config/shell/profile @@ -3,17 +3,9 @@ export XDG_CACHE_HOME=$HOME/.cache export XDG_DATA_HOME=$HOME/.local/share export XDG_STATE_HOME=$HOME/.local/state -export EDITOR=vis +export EDITOR="kc s" export PATH="$PATH:$HOME/go/bin:/usr/local/go/bin" export PATH="$HOME/.local/bin:$PATH" -alias g="git " -alias s="{ git status --short ; git log --oneline @{push}.. ; }" -alias ga="git add " -alias gc="git commit " -alias d="docker " -alias k="kubectl " -alias t="terraform " - [ ! -f "$XDG_CONFIG_HOME/shell/shortcutrc" ] && setsid -f shortcuts >/dev/null 2>&1 diff --git a/.local/bin/ghostty b/.local/bin/ghostty deleted file mode 100755 index 13f4793..0000000 --- a/.local/bin/ghostty +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh - diff --git a/.local/bin/kc b/.local/bin/kc new file mode 100755 index 0000000..9e6d212 --- /dev/null +++ b/.local/bin/kc @@ -0,0 +1,2 @@ +#!/bin/sh +kak -c "$@" diff --git a/.local/bin/kdoc b/.local/bin/kdoc new file mode 100755 index 0000000..144fb6d --- /dev/null +++ b/.local/bin/kdoc @@ -0,0 +1,2 @@ +#!/bin/sh +kak -c "$@" -e 'rename-client d' diff --git a/.local/bin/kj b/.local/bin/kj new file mode 100755 index 0000000..c624fb1 --- /dev/null +++ b/.local/bin/kj @@ -0,0 +1,2 @@ +#!/bin/sh +kak -c "$@" -e 'rename-client j' diff --git a/.local/bin/ks b/.local/bin/ks new file mode 100755 index 0000000..83c131e --- /dev/null +++ b/.local/bin/ks @@ -0,0 +1,2 @@ +#!/bin/sh +kak -s "$@" diff --git a/.local/bin/kt b/.local/bin/kt new file mode 100755 index 0000000..9f96148 --- /dev/null +++ b/.local/bin/kt @@ -0,0 +1,2 @@ +#!/bin/sh +kak -c "$@" -e 'rename-client t' |
