diff --git a/dot_config/nvim/lua/which-key.lua b/dot_config/nvim/lua/which-key.lua deleted file mode 100644 index 9fadb97..0000000 --- a/dot_config/nvim/lua/which-key.lua +++ /dev/null @@ -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 = { - { - "?", - function() - require("which-key").show({ global = false }) - end, - desc = "Buffer Local Keymaps (which-key)", - }, - }, -} diff --git a/dot_zshrc b/dot_zshrc index 3ef9135..41d87dd 100644 --- a/dot_zshrc +++ b/dot_zshrc @@ -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"