Install VimShell as a Terminal Inside Vim

Vim offers tremendous productivity gain. It would be great to execute the shell inside it to increase it further. This article will teach you how to do just that.

I am using pathogen. If you want to follow this post, and you havent installed pathogen yet, do the following as written in pathogen’s github page;



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

Ok, now you are ready to install vimshell. First install vimproc



$ cd ~/.vim/bundle
$ git clone https://github.com/Shougo/vimproc.git
Cloning into vimproc...
remote: Counting objects: 2669, done.
remote: Compressing objects: 100% (826/826), done.
remote: Total 2669 (delta 1715), reused 2614 (delta 1661)
Receiving objects: 100% (2669/2669), 495.35 KiB | 218 KiB/s, done.
Resolving deltas: 100% (1715/1715), done.

$ cd vimproc

make -f make_mac.mak


Now that you have vimproc as prerequisite, you still have to install neocomplcache


$ cd ~/.vim/bundle
$ git clone https://github.com/Shougo/neocomplcache.git
$ echo "let g:neocomplcache_enable_at_startup = 1" >> ~/.vimrc

You can now install vimshell.



$ cd ~/.vim/bundle

$ git clone https://github.com/Shougo/vimshell.git

Cloning into vimshell...
remote: Counting objects: 9309, done.
remote: Compressing objects: 100% (3711/3711), done.
remote: Total 9309 (delta 5275), reused 9278 (delta 5245)
Receiving objects: 100% (9309/9309), 1.44 MiB | 462 KiB/s, done.
Resolving deltas: 100% (5275/5275), done.


Everything else should work now.

Though English is my country's official language it is not my native tongue. If you find anything wrong with my phrases, or any incorrect information, write it out loud in the comments section. The world will be a bit better that way.
Tagged with: ,
Posted in Javascript

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre user="" computer="" escaped="">