From 1e5b6df23f9610786ffc0c04ac9bfd1c0b778352 Mon Sep 17 00:00:00 2001 From: adam <56338480+adastx@users.noreply.github.com> Date: Sun, 9 Oct 2022 21:48:44 +0200 Subject: nvim: cleaner git support for dotfiles --- .config/aliases | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to '.config/aliases') 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" -- cgit v1.2.3-70-g09d2