mirror of
https://github.com/prurigro/darkcloud-vimconfig.git
synced 2024-11-21 14:32:32 -05:00
A Vim distribution with sane, modern defaults, a custom theme, and a collection of tightly integrated and configured development-oriented plugins
f67a01fca4
quickfix list and location list |
||
---|---|---|
vim | ||
.gitmodules | ||
README.md | ||
update | ||
vimrc |
Darkcloud Vim Theme, Config and Plugin Selection
Requirements
- Git: Required to clone and update the repository.
- CTags: Available @ http://ctags.sourceforge.net, this can be in $PATH or in the vim folder and is required for the tagbar plugin.
- Vim v7.4+: Everything has been written and tested using Vim 7.4.135, and I assume there could be issues with 7.3 and below.
- Bash (optional): Required to use the update script, which simply runs the git repo and submodule update commands.
- Powerline Fonts (optional): Required for the powerline lightline theme, which can be toggled in /etc/vimrc along with the gvim font
Installation
- Clone this repository then initialize and update the git submodules (in our case, the vim plugins)
- ]$ git clone https://github.com/prurigro/darkcloud-vimconfig.git
- ]$ cd darkcloud-vimconfig
- ]$ git submodule update --init
- Edit the 'vimrc' file and select whether to expect powerline fonts, choose a font for gvim, and add or change any of the loaded config files to match your personal setup.
- There are two main ways this package can be deployed: system-wide or single-user.
- For a distro-agnostic system-wide installation in the /etc directory, copy or link: 'vimrc' to '/etc/vimrc' and the 'vim' folder to '/etc/vim'.
- For a single-user installation in a user's home directory, copy or link: 'vimrc' to '
/.vimrc' -and- the 'vim' folder to '/.vim'.
- Make sure the 'vimrc' file and 'vim' folder are at least readable to any users that will be using the config.
- Clone additional vim plugin repos in the 'bundle' folder to have them loaded at startup.
- You can add or replace config files in your 'vimrc' file to customize behaviour.
- Run the 'update' script in the base directory of the repo as an easy way to pull changes and update the plugins all at once.
- You can find a list of keybindings that were added by this config as well as a few of the ones added by plugins in 'vim/config/keyboard.vim'
Features
- An original theme designed to be readable and aesthetically pleasing.
- A complete default configuration to start with and work from that aims to improve compatibility and provide sane, modern standards.
- Keyboard/mouse bindings that attempt to maintain vim's default behaviour while adding behaviour common to other text editors, improving accessibility to useful features, and making the mouse more capable (check the comments at the top of vim/config/keyboard.vim for a list of bindings and what they do).
- A core set of plugins that add some handy features and better support for some formats (you may want to remove plugins in vim/bundle/ supporting formats you won't be using).
Credits
- Written by prurigro: GitHub Projects | Arch Linux AUR Packages
- Many other authors have their work contained in this repo, most of which are self contained in the vim/bundle directory. I also used the Vim jellybean theme as a basis for the Darkcloud theme, which is maintained by NanoTech http://nanotech.nanotechcorp.net/
License
All projects cloned in the vim/bundle folder are separate and have their own licenses. Everything else is released under the MIT license.