Cleanup
This commit is contained in:
@@ -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)",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
14
dot_zshrc
14
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)"
|
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_OPTS="-r 30%"
|
||||||
export FZF_TMUX=1
|
export FZF_TMUX=1
|
||||||
source /usr/share/doc/fzf/examples/key-bindings.zsh
|
source /usr/share/doc/fzf/examples/key-bindings.zsh
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if [ -x /usr/bin/dircolors ]; then
|
if [ -x /usr/bin/dircolors ]; then
|
||||||
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
|
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
|
||||||
alias ls='ls --color=auto'
|
alias ls='ls --color=auto'
|
||||||
@@ -77,6 +83,11 @@ if [ -f ~/.bash_aliases ]; then
|
|||||||
. ~/.bash_aliases
|
. ~/.bash_aliases
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -f ~/.config/common_aliases ]; then
|
||||||
|
. ~/.config/common_aliases
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if [ -z "$TMUX" ] && [ ${UID} != 0 ]
|
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"
|
export PATH="$PATH:/home/sebastian/go/bin:/home/sebastian/.cargo/bin"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function tmux_pane(){
|
function tmux_pane(){
|
||||||
tmux rename-window "$(basename $PWD)"
|
tmux rename-window "$(basename $PWD)"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
PROMPT_COMMAND="$PROMPT_COMMAND; tmux_pane"
|
PROMPT_COMMAND="$PROMPT_COMMAND; tmux_pane"
|
||||||
|
|||||||
Reference in New Issue
Block a user