summaryrefslogtreecommitdiff
path: root/.config/aliases
diff options
context:
space:
mode:
authoradam <56338480+adastx@users.noreply.github.com>2022-10-09 21:48:44 +0200
committeradam <56338480+adastx@users.noreply.github.com>2022-10-09 21:49:14 +0200
commit1e5b6df23f9610786ffc0c04ac9bfd1c0b778352 (patch)
tree02de7f335941a20d3581a770a7183a30926ff261 /.config/aliases
parent66c6c22387b76e0e547302d402e1a37924cc1ba7 (diff)
nvim: cleaner git support for dotfiles
Diffstat (limited to '.config/aliases')
-rw-r--r--.config/aliases4
1 files changed, 1 insertions, 3 deletions
diff --git a/.config/aliases b/.config/aliases
index ac71908..def29fc 100644
--- a/.config/aliases
+++ b/.config/aliases
@@ -28,13 +28,11 @@ alias ca='config add'
alias cu='config add -u'
alias cdf='config diff'
alias clg='config log --oneline --decorate --all --graph'
-alias cvim="GIT_DIR=$HOME/.cfg GIT_WORK_TREE=$HOME nvim"
alias shrc="nvim $HOME/.bashrc"
alias vars="nvim $HOME/.bash_profile"
alias wmrc="nvim $XDG_CONFIG_HOME/i3/config"
-alias vimrc="GIT_DIR=$HOME/.cfg GIT_WORK_TREE=$HOME \
- nvim --cmd ':cd $XDG_CONFIG_HOME/nvim/ | edit lua/plugins.lua'"
+alias vimrc="cd $XDG_CONFIG_HOME/nvim; nvim"
alias initrc="nvim $XDG_CONFIG_HOME/X11/xinitrc"
alias barconf="nvim $XDG_CONFIG_HOME/polybar/config.ini"
alias aliases="nvim $XDG_CONFIG_HOME/aliases"