No vimrc, gvimrc and .vim on mac

后端 未结 3 755
北荒
北荒 2020-12-08 11:39

There are no .vimrc, .gvimrc files and .vim/ directory on my mac, and so I can\'t install any script. And when I create a folder

3条回答
  •  猫巷女王i
    2020-12-08 12:17

    A different approach would be as instructed by tim pope in the reference i gave copy to your command line/terminal.app:

    mkdir -p ~/.vim/autoload ~/.vim/bundle; \
    curl -so ~/.vim/autoload/pathogen.vim \
    https://raw.github.com/tpope/vim-pathogen/master/autoload/pathogen.vim
    

    also note if curl is not working try wget -O - ~/.vim/autoload/pathogen.vim put then into your .vimrc:

    call pathogen#infect()
    syntax on
    filetype plugin indent on
    

    then unzip the plugin to ~/.vim/bundle/ in a folder of your choice and don't forget to do :call pathogen#helptags() in your vim after the installation to generate the documentation.

提交回复
热议问题