mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-25 14:01:03 +00:00
MJVIM
This commit is contained in:
parent
b40aa34c22
commit
00456db8c0
1 changed files with 5 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
args=$@
|
args=$@
|
||||||
|
|
||||||
targetDir=$HOME/.config/nvim
|
targetDir=$HOME/.mjvim
|
||||||
mkdir -p $targetDir
|
mkdir -p $targetDir
|
||||||
flags="--verbose=1 -t ${targetDir}"
|
flags="--verbose=1 -t ${targetDir}"
|
||||||
|
|
||||||
|
|
@ -12,3 +12,7 @@ if [[ "$args" == "--uninstall" ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
stow $flags . # newest
|
stow $flags . # newest
|
||||||
|
|
||||||
|
# Create alias for starting nvim with custom config
|
||||||
|
echo "alias mjvim='NVIM_APPNAME=.mjvim nvim'" >> ~/.bashrc
|
||||||
|
echo "Alias 'mjvim' added to ~/.bashrc. Run 'source ~/.bashrc' or restart terminal to use."
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue