GitHub - lucascaton/vimfiles: Vim files by Lucas Caton
source link: https://github.com/lucascaton/vimfiles
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
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
git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
ln -s ~/.vim/vimrc ~/.vimrc
vim +PluginInstall +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
- base16-ocean (current)
- Other "base16" themes
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
Matchit.zip Extended % matching for HTML, LaTeX, and many other languages
Nerdtree A tree explorer plugin
Rename Basically does a ":saveas " then removes the old filename
Rhubarb.vim GitHub extension for fugitive.vim
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 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:
- 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
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 - 2018 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.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK