mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-22 04:21: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=$@
|
||||
|
||||
targetDir=$HOME/.config/nvim
|
||||
targetDir=$HOME/.mjvim
|
||||
mkdir -p $targetDir
|
||||
flags="--verbose=1 -t ${targetDir}"
|
||||
|
||||
|
|
@ -12,3 +12,7 @@ if [[ "$args" == "--uninstall" ]]; then
|
|||
fi
|
||||
|
||||
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