GithubHelp home page GithubHelp logo

myvimrc's Introduction

myvimrc

A repository for quick transfer of my .vimrc

Installation

Automatic Installation

Download and run the setup.sh file. This assumes an apt-based package management system

Manual Installation

If you already have bundles and your own .vimrc but want mine

Delete everything in your .vim/bundle/ directory and your .vimrc

rm .vimrc

cd ~/.vim/bundle/

rm -rf *

From here, follow along with the New .vimrc instructions

New .vimrc

Install vundle.vim in this directory (package manager)

~/.vim/bundle/

(Note that if .vim/ and or .vim/bundle/ don't exist, you'll need to create them)

git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim

Download my .vimrc in your home directory

cd

git clone https://github.com/trdan6577/myvimrc.git

Take the .vimrc out of the folder and delete the folder

mv myvimrc/.vimrc ~/.vimrc

rm -rf myvimrc/

Install the bundles mentioned in the .vimrc (be patient!!)

vim +PluginInstall

Close that once it finishes installing

Install the essentials needed for YouCompleteMe

sudo apt-get install build-essential cmake python-dev python3-dev clang

Update the third party code in YCM

cd .vim/bundle/YouCompleteMe/

git submodule update --init --recursive

Install YCM

./install.py --clang-completer

Set up the .ycm_extra_conf.py file by following the instructions within the file. Basically just change the flags array to the flags you use when compiling a C-family program and delete the part of the code it tells you to

cd third_party/ycmd/cpp/ycm/

For Python sytax and style checking, install flake8

pip install flake8

If you attempt to use flake8 and get an error AND YOU'VE ALREADY INSTALLED FLAKE8 USING THE ABOVE COMMAND, then (on linux machines) go to

cd ~/.vim/bundle/vim-flake8/autoload

Change line 73 to

call s:DeclareOption('flake8_cmd', '', '"~/.local/bin/flake8"')

You should be all set! Happy coding!

myvimrc's People

Contributors

trdan6577 avatar

Watchers

James Cloos avatar  avatar

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.