aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bashrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/bashrc b/bashrc
index b4e5b25..2f8da97 100644
--- a/bashrc
+++ b/bashrc
@@ -23,6 +23,11 @@ set -o noclobber
export PATH=~/.cargo/bin:$PATH
export PATH=~/bin/:$PATH
+# nvim as vim
+alias vim='/usr/bin/nvim'
+alias vi='/usr/bin/vim'
+export EDITOR=nvim
+
# openai keys
source $HOME/dotfiles/openai_key
@@ -32,7 +37,6 @@ alias pacdel="pacman -Qq | fzf --multi --preview 'pacman -Qi {1}' | xargs -ro su
alias gloga='git log --oneline --decorate --graph --all'
alias batnote='batnote-source-code'
alias am='append_to_masterlist'
-alias vi='vim'
alias ls='ls --color=auto'
alias h='hey_openai'
alias hd='openai_data'