clean up bashrc
This commit is contained in:
parent
56d7c8af14
commit
47ea92fb93
24
.bashrc
24
.bashrc
@ -14,12 +14,7 @@ alias grep='grep --color=auto'
|
|||||||
alias ll='ls -l --color=auto'
|
alias ll='ls -l --color=auto'
|
||||||
alias l='ls -lta --color=auto'
|
alias l='ls -lta --color=auto'
|
||||||
|
|
||||||
alias ncmpcpp='ncmpcpp -b ~/.config/ncmpcpp/bindings'
|
alias nv='vim'
|
||||||
|
|
||||||
alias nv='nvim'
|
|
||||||
alias lv='lvim'
|
|
||||||
|
|
||||||
alias nnn='nnn -de'
|
|
||||||
|
|
||||||
alias lg='lazygit'
|
alias lg='lazygit'
|
||||||
|
|
||||||
@ -36,36 +31,29 @@ export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
|
|||||||
export HISTFILE=~/.history
|
export HISTFILE=~/.history
|
||||||
export HISTSIZE=5000
|
export HISTSIZE=5000
|
||||||
|
|
||||||
export VISUAL=nvim
|
export VISUAL=vim
|
||||||
export EDITOR="$VISUAL"
|
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
|
export SPLIT='v' # to split Kitty vertically
|
||||||
|
|
||||||
# -------- #
|
# -------- #
|
||||||
# keybinds #
|
# keybinds #
|
||||||
# -------- #
|
# -------- #
|
||||||
|
|
||||||
|
# remove entire words with control+(backspace/delete)
|
||||||
bind '"\C-H": backward-kill-word'
|
bind '"\C-H": backward-kill-word'
|
||||||
bind '"\e[3;5~": kill-word'
|
bind '"\e[3;5~": kill-word'
|
||||||
|
|
||||||
# fzf shortcuts
|
# fzf shortcuts
|
||||||
source /usr/share/fzf/key-bindings.bash
|
source ~/.config/fzf/key-bindings.bash
|
||||||
source /usr/share/fzf/completion.bash
|
source ~/.config/fzf/completion.bash
|
||||||
|
|
||||||
# ------- #
|
# ------- #
|
||||||
# startup #
|
# startup #
|
||||||
# ------- #
|
# ------- #
|
||||||
|
|
||||||
# display system info on startup
|
# display system info on startup
|
||||||
pfetch
|
# pfetch
|
||||||
|
|
||||||
# initialize starship prompt
|
# initialize starship prompt
|
||||||
eval "$(starship init bash)"
|
eval "$(starship init bash)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user