Home  >  Q&A  >  body text

vimrc - linux 修改vim配置 如何重启 vim

linux 修改vim配置 如何重启 vim

黄舟黄舟2742 days ago778

reply all(7)I'll reply

  • ringa_lee

    ringa_lee2017-04-17 13:58:04

    Just enter vim on the command line to load the new vim configuration file.

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-17 13:58:04

    :so $MYVIMRC reload vimv configuration

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-17 13:58:04

    After modification, no need to restart. After the modification is completed, the modified configuration will be used again.

    reply
    0
  • PHPz

    PHPz2017-04-17 13:58:04

    For software configuration, just read the official documentation.

    reply
    0
  • 阿神

    阿神2017-04-17 13:58:04

    After modifying the configuration file, type the command source configuration file

    reply
    0
  • 黄舟

    黄舟2017-04-17 13:58:04

    source ~/.vimrc is enough, you can set shortcut keys

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-17 13:58:04

    If you are in vim, just :so 配置路径
    or
    exit the current vim and reopen the file

    reply
    0
  • Cancelreply