Code Monkey home page Code Monkey logo

vim-ultimate-ide's Introduction

VIM - Congiguration for ultimate IDE experience

I have been using VIM for almost 10 years now, and after being so much used to it, I couldn't make a switch to some existing IDEs, no matter how I tried. As many other people, I felt it was too complicated for many tasks, and was seriously lacking in other areas, so I've decided to give a try to 'making VIM the ultimate IDE for writing & code development'. It was after I have found these 2 amazing articles:

And after several people around me started to ask me "how did you configure VIM to do XYZ" I have decided to share my complete config files to have a place to point them to, and I hope some other people find it useful as well.

VIM - Did I really pay for that?

My configuration of VIM is a mixture of ideas from the 2 articles above, as well as my old VIM configuration. I tried to 'document' it with comments so that even a newbie can easily disable/modify any configuration without troubles.

Since this is my own personal VIM configuration, I won't be accepting any pull-requests. However, feel free to fork this repo for yourself, and change anything which does not suit your needs... :)

My last note is a wish -- if you find this useful in any way, feel free to let me know, but more importantly, show some love to @pwittchen and @amacgregor. Kudos to both of them -- their articles allowed me to move my VIM experience to a completely new level of efficiency and usability! ;)

Installation

First, make sure you have installed plugins' dependencies - either try to install the dependencies via your Linux's distro official package manager, or alternatively you can use pip3:

sudo pip3 install pynvim msgpack python-ctags3

NOTE: I'm using this VIM configuration for both root & my local user. Therefore I install the dependencies system-wide. If you do not have root permissions, or you just want to install this config for your local user only, add the --user parameter after the install command.

Next, clone this git repository (it already includes the Vundle plugin manager for VIM as a git submodule):

cd ~/
mv ~/.vim/ ~/.vim.old/
mv ~/.vimrc ~/.vim.old/vimrc
mv ~/.gvimrc ~/.vim.old/gvimrc
git clone --recurse-submodules https://github.com/deekej/vim-ultimate-IDE.git .vim/

Last you will need to finish the bootstrap process:

ln -sf ~/.vim/vimrc  ~/.vimrc
ln -sf ~/.vim/gvimrc ~/.gvimrc
ln -sf ~/.vim/fonts/hack-nerd    ~/.local/share/fonts/hack-nerd
ln -sf ~/.vim/fonts/dejavu-nerd  ~/.local/share/fonts/dejavu-nerd
fc-cache -f -v
vim +PluginInstall +qall

After the steps above, you should be able to normally launch the vim with all of this configuration properly loaded...

Neovim

If you wish to use Neovim instead of VIM, then simply run these 2 additional commands, and Neovim should pickup the configuration automatically next time you start it:

mv ~/.config/nvim ~/.config/nvim.old
ln -sf ~/.vim/nvim ~/.config/nvim

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.