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

前端 未结 11 875

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:47

    Try

    set wildmenu
    set wildmode=list:full
    set wildcharm=
    let mapleader=','
    nnoremap c :colorscheme 
    

    in your ~/.vimrc.

    The first two lines make possible matches appear as lists. You can use either or both.

    The fourth line makes leader , instead of the default \.

    The last line allows you to simply type ,c to get a list and a prompt to change your colorscheme.

    The third line effectively allows for Tabs to appear in key maps.

    (Of course, all of these strategies I've learned from the internet, and mostly SO, very recently.)

提交回复
热议问题