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.
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
- base16-ocean (current)
- Other "base16" themes
Included fonts:
- Hack
- Roboto Mono
- Monaco
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 |
If you want to use Vim in a GUI, you can use MacVim in macOS or gVim in Linux. Download it from:
Visit the following sites to learn more about Vim:
- Screencast "17 tips for Vim" (in Portuguese)
- Learn Vim Progressively
- Vim Adventures
- Vimcasts
- Using Vim as a Complete Ruby on Rails IDE
- Why, oh WHY, do those #?@! nutheads use vi?
- Byte of Vim
You can find my dotfiles here: lucascaton/dotfiles.
Created and maintained by Lucas Caton:
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.