From 47ea92fb93a23063484aca7173ac130b82f7cc44 Mon Sep 17 00:00:00 2001 From: azpsen Date: Mon, 10 Mar 2025 10:33:08 -0500 Subject: [PATCH] clean up bashrc --- .bashrc | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/.bashrc b/.bashrc index 1693880..3d53417 100644 --- a/.bashrc +++ b/.bashrc @@ -14,12 +14,7 @@ alias grep='grep --color=auto' alias ll='ls -l --color=auto' alias l='ls -lta --color=auto' -alias ncmpcpp='ncmpcpp -b ~/.config/ncmpcpp/bindings' - -alias nv='nvim' -alias lv='lvim' - -alias nnn='nnn -de' +alias nv='vim' alias lg='lazygit' @@ -36,36 +31,29 @@ export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket" export HISTFILE=~/.history export HISTSIZE=5000 -export VISUAL=nvim +export VISUAL=vim export EDITOR="$VISUAL" -# nnn -export NNN_TRASH=1 -export NNN_OPTS="" # 'H' shows the hidden files. Same as option -H (so 'nnn -deH') -# export NNN_OPTS="deH" # if you prefer to have all the options at the same place -export LC_COLLATE="C" # hidden files on top -export NNN_FIFO="/tmp/nnn.fifo" # temporary buffer for the previews -export NNN_FCOLORS="AAAAE631BBBBCCCCDDDD9999" # feel free to change the colors -export NNN_PLUG='p:preview-tui' # many other plugins are available here: https://github.com/jarun/nnn/tree/master/plugins export SPLIT='v' # to split Kitty vertically # -------- # # keybinds # # -------- # +# remove entire words with control+(backspace/delete) bind '"\C-H": backward-kill-word' bind '"\e[3;5~": kill-word' # fzf shortcuts -source /usr/share/fzf/key-bindings.bash -source /usr/share/fzf/completion.bash +source ~/.config/fzf/key-bindings.bash +source ~/.config/fzf/completion.bash # ------- # # startup # # ------- # # display system info on startup -pfetch +# pfetch # initialize starship prompt eval "$(starship init bash)"