diff --git a/.local/share/stew/Stewfile.lock.json b/.local/share/stew/Stewfile.lock.json index 62e2cff..87536a3 100644 --- a/.local/share/stew/Stewfile.lock.json +++ b/.local/share/stew/Stewfile.lock.json @@ -221,6 +221,16 @@ "binary": "keyb", "url": "https://api.github.com/repos/kencx/keyb/releases/assets/128565999", "binaryHash": "8b43455d23716bb6ae8abea97426f1f55ad3a110de9a6e967579354657e33680" + }, + { + "source": "github", + "owner": "denisidoro", + "repo": "navi", + "tag": "v2.24.0", + "asset": "navi-v2.24.0-x86_64-unknown-linux-musl.tar.gz", + "binary": "navi", + "url": "https://api.github.com/repos/denisidoro/navi/releases/assets/224750154", + "binaryHash": "c643ff670ced4b47887c887ff0877c156497642b8d25dd9ae279d1d68c27e9bb" } ] } \ No newline at end of file diff --git a/.zshrc b/.zshrc index 90d7bd6..7e01a8d 100644 --- a/.zshrc +++ b/.zshrc @@ -48,8 +48,20 @@ function zvm_after_init() { # so we can use stow to install the man page. The stow binary still has # to be installed seperately. source "$STOW_DIR/skim/shell/key-bindings.zsh" + + # 'navi' interactive cheatsheet (https://github.com/denisidoro/navi) + # the plugin binds ^g to the widget so we need to source it here + eval "$(navi widget zsh)" } +export NVM_DIR="$HOME/.config/nvm" +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm +[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion + +# 'try' utility (https://github.com/tobi/try) +# creates/manages directories for experiments +eval "$(~/.local/bin/try.rb init ~/projects/tries)" + # Source anything in .zshrc.d. for _rc in ${ZDOTDIR:-$HOME}/.zshrc.d/*.zsh; do # Ignore tilde files. @@ -59,11 +71,3 @@ for _rc in ${ZDOTDIR:-$HOME}/.zshrc.d/*.zsh; do fi done unset _rc - -export NVM_DIR="$HOME/.config/nvm" -[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm -[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion - -# 'try' utility (https://github.com/tobi/try) -# creates/manages directories for experiments -eval "$(~/.local/bin/try.rb init ~/projects/tries)" diff --git a/pc.lnk/.config/kitty/-b b/pc.lnk/.config/kitty/-b new file mode 100644 index 0000000..d475ffb Binary files /dev/null and b/pc.lnk/.config/kitty/-b differ diff --git a/pc.lnk/.config/kitty/kitty.conf b/pc.lnk/.config/kitty/kitty.conf index e69f935..9e2ba69 100644 --- a/pc.lnk/.config/kitty/kitty.conf +++ b/pc.lnk/.config/kitty/kitty.conf @@ -383,6 +383,15 @@ font_size 13.5 #: platforms such as macOS and Wayland. Use negative numbers to change #: scroll direction. +# kitty-scrollback.nvim Kitten alias +action_alias kitty_scrollback_nvim kitten /home/bryan/.local/share/nvim/lazy/kitty-scrollback.nvim/python/kitty_scrollback_nvim.py +# Browse scrollback buffer in nvim +map kitty_mod+h kitty_scrollback_nvim +# Browse output of the last shell command in nvim +map kitty_mod+g kitty_scrollback_nvim --config ksb_builtin_last_cmd_output +# Show clicked command output in nvim +mouse_map ctrl+shift+right press ungrabbed combine : mouse_select_command_output : kitty_scrollback_nvim --config ksb_builtin_last_visited_cmd_output + #: }}} #: Mouse {{{ @@ -2602,3 +2611,4 @@ bold_italic_font auto # Kitty-Flow include current-theme.conf # END_KITTY_THEME +# SetUserVar=in_editor diff --git a/pc.lnk/.config/kitty/xclip b/pc.lnk/.config/kitty/xclip new file mode 100644 index 0000000..2796097 --- /dev/null +++ b/pc.lnk/.config/kitty/xclip @@ -0,0 +1 @@ +]1337;SetUserVar=in_editor \ No newline at end of file diff --git a/pc.lnk/.config/kitty/xsel b/pc.lnk/.config/kitty/xsel new file mode 100644 index 0000000..2796097 --- /dev/null +++ b/pc.lnk/.config/kitty/xsel @@ -0,0 +1 @@ +]1337;SetUserVar=in_editor \ No newline at end of file