Skip to content

lucascaton/vimfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vimfiles

Vimfiles are configuration files for the Vim editor. It includes editor preferences, colorscheme, font definitions, plugins, custom functions and more.

This project is my personal Vimfiles. Feel free to send me suggestions / problems through the issues page or you can contribute by sending improvements through the Pull Requests page.

How to use?

Clone this repository into your home directory as ~/.vim and then install the plugins. Such as:

git clone https://github.com/lucascaton/vimfiles.git ~/.vim
ln -s ~/.vim/vimrc ~/.vimrc
vim +PlugInstall +qall

Copy the Hack (NerdFonts compatible) font:

# macOS
cp ~/.vim/fonts/Hack\ Regular\ Nerd\ Font\ Complete.ttf ~/Library/Fonts/

# Linux
cp ~/.vim/fonts/Hack\ Regular\ Nerd\ Font\ Complete.ttf ~/.fonts

Install the following tools if you want to review your JavaScript code:

npm install -g eslint
npm install -g coffeelint

Color Schemes

Fonts

Included fonts:

  • Hack
  • Roboto Mono
  • Monaco

Plugins

Plugin Description Interesting links
ALE Asynchronous Lint Engine
Ack.vim Frontend for ack / ag (the_silver_searcher)
Base16 Amazing colorschema
Colorizer Colorize all text in the form #rrggbb or #rgb
CtrlP Fuzzy file, buffer, mru, tag, etc. finder
Fugitive A git wrapper so awesome, it should be illegal
Nerdtree A tree explorer plugin
Rename Basically does a ":saveas " then removes the old filename
Rhubarb.vim GitHub extension for fugitive.vim
Sensible.vim Defaults everyone can agree on
Smartpairs Fantastic selection, replaces hard keys combination like vi{ or va"
Snipmate Implements some of TextMate's snippets
Sparkup (Zen-coding) A parser for a condensed HTML format Zen coding
Tabular Text filtering and alignmentClone
Tcomment An extensible & universal comment vim-plugin
Vim Abolish Easily search for, substitute, and abbreviate variants of a word Vim Casts
Vim Airline Lean & mean status / tabline
Vim Coffee Script CoffeeScript support for Vim
Vim Easymotion Provides a much simpler way to use some motions in Vim
Vim Endwise Wisely add "end" in ruby
Vim Gitgutter Shows a git diff in the gutter (sign column)
Vim Match-up Even better % - navigate and highlight matching words
Vim Rails Ruby on Rails power tools
Vim Ruby Runner Execute Ruby into an output buffer

Vim in a GUI

If you want to use Vim in a GUI, you can use MacVim in macOS or gVim in Linux. Download it from:

Learn Vim

Visit the following sites to learn more about Vim:

Other dotfiles

You can find my dotfiles here: lucascaton/dotfiles.

Credits

Created and maintained by Lucas Caton:

License

The MIT License (MIT)

Copyright (c) 2010 - 2019 Lucas Caton

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.