Where is the default location for the folder ~/.vim/syntax/
on a Linux system? I am trying to add a Python addon.
~
is a UNIX shortcut that means "the currently logged-in user's home folder", which is typically something like /users/
. You should be able to find that folder by executing
cd ~
mkdir -p .vim/syntax
cd .vim/syntax
The mkdir
command creates the directory if it doesn't already exist.
If you want to add the syntax for multiple users, ire and curses is on a better track.