summaryrefslogtreecommitdiff
path: root/.bash_profile
diff options
context:
space:
mode:
authorAdam <adam@adast.xyz>2022-06-02 11:16:39 +0200
committerAdam <adam@adast.xyz>2022-06-02 11:16:39 +0200
commit14d624ea44f3e112f613b858d380f560ffdaec87 (patch)
treef1f6563dc1fe2e7b751324f8c24ca7173ad1d165 /.bash_profile
parent7c4700ad3d4e8f76bf72e42a10cce2545bcc64d5 (diff)
xdg: vim
Diffstat (limited to '.bash_profile')
-rw-r--r--.bash_profile1
1 files changed, 1 insertions, 0 deletions
diff --git a/.bash_profile b/.bash_profile
index 2c2d5a5..8a0217a 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -29,6 +29,7 @@ export CM_LAUNCHER=rofi
export CM_SELECTIONS=clipboard
export CM_DIR=/tmp
export PF_INFO="ascii title os kernel uptime pkgs memory"
+export VIMINIT='let $MYVIMRC = !has("nvim") ? "$XDG_CONFIG_HOME/vim/vimrc" : "$XDG_CONFIG_HOME/nvim/init.lua" | so $MYVIMRC'
export LESS_TERMCAP_mb=$'\E[1;31m'
export LESS_TERMCAP_md=$'\E[1;31m'