Showing posts with label Plug-in (computing). Show all posts
Showing posts with label Plug-in (computing). Show all posts

Tuesday, September 13, 2016

macOS Sierra: Vim: Installing NeoBundle (Plug-in Manager)

Command:

$ cat installNeoBundle.sh


Result:

#!/bin/sh

if type curl; then
:
else
echo 'Please install curl or update your path to include the curl executable!'
exit 1
fi

tmpfile=`mktemp`

curl https://raw.githubusercontent.com/Shougo/neobundle.vim/master/bin/install.sh > $tmpfile
sh $tmpfile


Command:

$ sh installNeoBundle.sh


Result:

curl is /usr/bin/curl
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  4088  100  4088    0     0   3268      0  0:00:01  0:00:01 --:--:--  3267
/Users/USERNAME/.vim/bundle/neobundle.vim
/Users/USERNAME/.config/nvim/bundle/neobundle.vim
git is /usr/local/bin/git
Begin fetching NeoBundle...
Cloning into '/Users/USERNAME/.vim/bundle/neobundle.vim'...
remote: Counting objects: 9188, done.
remote: Total 9188 (delta 0), reused 0 (delta 0), pack-reused 9188
Receiving objects: 100% (9188/9188), 2.23 MiB | 486.00 KiB/s, done.
Resolving deltas: 100% (4453/4453), done.
Checking connectivity... done.
Done.
Please add the following settings for NeoBundle to the top of your .vimrc file:


"NeoBundle Scripts-----------------------------
if &compatible
  set nocompatible               " Be iMproved
endif

" Required:
set runtimepath+=/Users/USERNAME/.vim/bundle/neobundle.vim/

" Required:
call neobundle#begin(expand('/Users/USERNAME/.vim/bundle'))

" Let NeoBundle manage NeoBundle
" Required:
NeoBundleFetch 'Shougo/neobundle.vim'

" Add or remove your Bundles here:
NeoBundle 'Shougo/neosnippet.vim'
NeoBundle 'Shougo/neosnippet-snippets'
NeoBundle 'tpope/vim-fugitive'
NeoBundle 'ctrlpvim/ctrlp.vim'
NeoBundle 'flazz/vim-colorschemes'

" You can specify revision/branch/tag.
NeoBundle 'Shougo/vimshell', { 'rev' : '3787e5' }

" Required:
call neobundle#end()

" Required:
filetype plugin indent on

" If there are uninstalled bundles found on startup,
" this will conveniently prompt you to install them.
NeoBundleCheck
"End NeoBundle Scripts-------------------------


Done.
Complete setup NeoBundle!