How to get the list of all installed color schemes in Vim?

前端 未结 11 848

Is there a way to get a list of all installed color schemes in Vim? That would make very easy to select one without looking at the .vim directory.

11条回答
  •  隐瞒了意图╮
    2021-01-29 17:57

    Another simpler way is while you are editing a file - tabe ~/.vim/colors/ ENTER Will open all the themes in a new tab within vim window.

    You may come back to the file you were editing using - CTRL + W + W ENTER

    Note: Above will work ONLY IF YOU HAVE a .vim/colors directory within your home directory for current $USER (I have 70+ themes)

    [user@host ~]$ ls -l ~/.vim/colors | wc -l

    72

提交回复
热议问题