neobundle installation

Asked 2 years ago, Updated 2 years ago, 65 views

Thank you for your help.Currently, your company's PC (Internet access is restricted)
https://github.com/Shougo/neobundle.vim

Download the zip file on the server instead of clone from this site.
~/.vim/bundle/neobundle/
Zip deployed under
To .vimrc

 if has('vim_starting')
  set runtimepath+= through /.vim/bundle/neobundle.vim
  call neobundle#rc(expand('~/.vim/bundle'))
endif 

I wrote that, but the path of runtimepath is different from the directory configuration, so I would like to change it.
However, neobundle.vim is also found in the outlook and plugin.
Which directory should I specify neobundle.vim?

Also, I would like to add a nerdtree, but since the PC is connected to the Internet, I have entered it in vimrc as an additional plug-in, but I think it is not possible because there is no way to connect to the Internet in this environment.

Is there any way to make it possible to use the PC without connecting to the Internet?

I know it's hard to understand, but please let me know.

Environment
US>Linux
CentOS 5.6

linux vim

2022-09-30 11:48

1 Answers

Which directory should I specify neobundle.vim?

set runtimepath specifies a directory rather than a file ending with .vim.

Specify the directory containing plugin/ or autoload/.

(The reason why neobundle.vim in the neobundle configuration example is probably because the repository name is neobundle.vim.It's a little complicated.)

Also, I would like to add a nerdtree, but since the PC is connected to the Internet, I have entered it in vimrc as an additional plug-in, but I think it is not possible because there is no way to connect to the Internet in this environment.

Is there any way to make it possible to use the PC without connecting to the Internet?

Try answering as a way for NeoBundle to manage plugins that you have placed locally.

Bring in and deploy nerdtree by zip, place it as ~/.vim/bundle/nerdtree and

NeoBundle'~/.vim/bundle/nerdtree', {'type':'none'}

If you do, you will be able to use it.

However, even if you don't use neobundle, download and deploy the zip of the plug-in you want to use and place it somewhere, and add a directory containing plugin/ or autoload/ in set runtimepath+=.


2022-09-30 11:48

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.