Instructions: Replace the template text and remove irrelevant text (including this line)
Is your feature request about something that is currently impossible or hard to do? Please describe the problem.
Include a script to MacVim installation for users to use MacVim as system or user level vim commands (vim, view, vimdiff, etc.)
Describe the solution you'd like
Include a script to MacVim installation, maybe in /Application/MacVim/Contents/scripts/install_macvim_links
The script could look like:
#!/bin/sh
MVIM_DIR="/Applications/MacVim.app/Contents/bin"
DEST_DIR="$HOME/.local/bin"
mkdir -p "$DEST_DIR"
(
cd "$MVIM_DIR" || {
echo "Cannot change to dir $MVIM_DIR"
exit 2
}
for fn in vim vimdiff view gvim gvimdiff gview; do
target="$(pwd)/$fn"
echo "Linking $target into $DEST_DIR..."
ln -sf "$target" "$DEST_DIR"
done
)
Describe alternatives you've considered
Leave the suffer to the users
Additional context
https://superuser.com/a/1697239/114255
Instructions: Replace the template text and remove irrelevant text (including this line)
Is your feature request about something that is currently impossible or hard to do? Please describe the problem.
Include a script to MacVim installation for users to use MacVim as system or user level vim commands (vim, view, vimdiff, etc.)
Describe the solution you'd like
Include a script to MacVim installation, maybe in /Application/MacVim/Contents/scripts/install_macvim_links
The script could look like:
Describe alternatives you've considered
Leave the suffer to the users
Additional context
https://superuser.com/a/1697239/114255