Coder Social home page Coder Social logo

nvim-config's Introduction

The Dotfiles

These are the Vim runtime files that I use on a daily basis. Feel free to clone, modify, change, add, murder or remove portions of it at will.

Note that I actually use NeoVim, and have been doing so for quite some time now without any compatibility issues.

I used to be a heavy advocate and user of Pathogen by the most excellent Tim Pope, then I switched to Vundle because I got tired of futzing around with git submodules every time I wanted to update or remove a bundle. About a year after using and liking Vundle, I began using neovim in earnest, and found that it was stable enough for my day-to-day usage. Due to some underlying work in neovim, vim-plug is able to take advantage of some parallel execution of installs/updates of the underlying git repositories that make up the collection of plugins, among other several other nice features that are listed in the README.

Usage

NOTE: If you have existing files in $HOME/.vim, $HOME/.vimrc,or the neovim equivalents $HOME/.nvim and $HOME/.nvimrc, make sure you take appropriate backups before performing any of the following steps.

curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

Change the destination to ~/.nvim/autoload/plug.vim in the above if you're using NeoVim, of course. This applies to all steps.

  • Next, get my vim-dotfiles & symlink the .vimrc to your $HOME/.vimrc:
$ git clone [email protected]:vivaldi-va/vim-dotfiles.git ~/.vim && ln -s ~/.vim/.vimrc ~/.vimrc
  • There are several extensions required to make some extensions function correctly. You'll need to install the following to your system:

    • fzf: For the best fuzzy file-finding you'll ever use.
    • ctags: For the tagbar functionality.
    • the_silver_searcher: For a better grep.
    • flake8: For Python syntax & PEP8 validation via Syntastic.
  • Finally, we need to launch Vim and then invoke the appropriate Vim-Plug commands to install all of the bundles using the :PlugInstall command.

And that's it! Be sure to source your newly installed configuration (:source $MYVIMRC from inside Vim, or just restart a new editor session), and you should be good to go.

The included .vimrc contains some very minimal configurations that should be sane defaults for most developers. Feel free to modify at will, of course. See the comments in the .vimrc file for more details, and check out the individual bundles that are pulled in on github until I decide to annotate & comment on what each of them do.

OSX

To get airline icons working properly, you need to install one of the patched fonts from Powerline's font repository and set it as the terminal's typeface.

Screenshot

And here's a gratuitous screenshot using a fullscreen iTerm window, a few split panes, and the default colorscheme: screenshot

nvim-config's People

Contributors

vivaldi-va avatar

Stargazers

 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.