aboutsummaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2025-02-07 16:48:02 +0200
committersrdusr <trevorgray@srdusr.com>2025-02-07 16:48:02 +0200
commit5edf3099cdca2b52f12a6189251d32452edc2484 (patch)
treebe00da4bbf60afed96d50bbc642d3ac1a37215b5 /.bashrc
parentc43e29463b6c254d46d91450911433be6c5a6e05 (diff)
downloaddotfiles-5edf3099cdca2b52f12a6189251d32452edc2484.tar.gz
dotfiles-5edf3099cdca2b52f12a6189251d32452edc2484.zip
Add Ctrl-l clear-screen binding and export nvim as editor
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index 016c8ca..9b7dc26 100644
--- a/.bashrc
+++ b/.bashrc
@@ -48,8 +48,13 @@ alias wallset='feh --bg-fill'
PS1=$p
+bind -m vi-command 'Control-l: clear-screen'
+bind -m vi-insert 'Control-l: clear-screen'
+
+export EDITOR="nvim"
# pfetch
#export NVM_DIR="$HOME/.local/share/nvm"
#[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
#[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
+export PATH="/home/srdusr/.local/bin:$PATH"