This commit is contained in:
sebastian
2025-04-28 08:45:50 +02:00
parent 0c4e3d114d
commit 03a185750a
2 changed files with 11 additions and 21 deletions

View File

@@ -1,18 +0,0 @@
return {
"folke/which-key.nvim",
event = "VeryLazy",
opts = {
-- your configuration comes here
-- or leave it empty to use the default settings
-- refer to the configuration section below
},
keys = {
{
"<leader>?",
function()
require("which-key").show({ global = false })
end,
desc = "Buffer Local Keymaps (which-key)",
},
},
}

View File

@@ -54,12 +54,18 @@ zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'
eval "$(oh-my-posh init zsh --config /home/sebastian/.zsh/rudolfs-dark.omp.json)"
#
# Fuzzy File Finder
#
export FZF_TMUX_OPTS="-r 30%"
export FZF_TMUX=1
source /usr/share/doc/fzf/examples/key-bindings.zsh
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias ls='ls --color=auto'
@@ -77,6 +83,11 @@ if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
if [ -f ~/.config/common_aliases ]; then
. ~/.config/common_aliases
fi
if [ -z "$TMUX" ] && [ ${UID} != 0 ]
@@ -91,11 +102,8 @@ export PATH=$HOME/.local/bin:$PATH
export PATH="$PATH:/home/sebastian/go/bin:/home/sebastian/.cargo/bin"
function tmux_pane(){
tmux rename-window "$(basename $PWD)"
}
PROMPT_COMMAND="$PROMPT_COMMAND; tmux_pane"