Linux/Ubuntu directory location ~/.vim/syntax/

后端 未结 4 965
时光说笑
时光说笑 2021-01-30 09:23

Where is the default location for the folder ~/.vim/syntax/ on a Linux system? I am trying to add a Python addon.

4条回答
  •  独厮守ぢ
    2021-01-30 10:14

    ~ 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.

提交回复
热议问题