Get current value of a setting in Vim

后端 未结 4 620
谎友^
谎友^ 2020-12-12 09:36

Is there a simple way of finding out the current value of a specified Vim setting? If I want to know the current value of, say tabstop, I can run:



        
4条回答
  •  忘掉有多难
    2020-12-12 10:15

    If you don't remember what setting you want to check, you can view all settings:

    :set all
    

    or show each setting, one setting per line:

    :set! all
    

提交回复
热议问题