All Projects → joonty → Vim Sauce

joonty / Vim Sauce

Licence: mit
Multiple source file management for Vim

Labels

Projects that are alternatives of or similar to Vim Sauce

Vim Seeing Is Believing
Stars: ✭ 50 (-9.09%)
Mutual labels:  viml
Viki vim
A personal wiki for Vim
Stars: ✭ 52 (-5.45%)
Mutual labels:  viml
Vim Giphy
Giphy in your vim
Stars: ✭ 54 (-1.82%)
Mutual labels:  viml
Vim Qargs
A Vim plugin that adds a :Qargs utility command, for populating the argument list from the files in the quickfix list.
Stars: ✭ 50 (-9.09%)
Mutual labels:  viml
Buffet.vim
A vimplugin for switching and managing buffer lists
Stars: ✭ 52 (-5.45%)
Mutual labels:  viml
Ansible Splunk Simple
Simple deployment of Splunk using Ansible, static host lists.
Stars: ✭ 53 (-3.64%)
Mutual labels:  viml
Vim Js Indent
JavaScript indentation for VIM
Stars: ✭ 49 (-10.91%)
Mutual labels:  viml
Rubyblue
A collection of themes for different text editors that mimic the colors used in the code samples on ruby-lang.org
Stars: ✭ 54 (-1.82%)
Mutual labels:  viml
Pep8
Check your python source files with PEP8
Stars: ✭ 52 (-5.45%)
Mutual labels:  viml
Yaml Vim
YAML Highlight script for VIM editor
Stars: ✭ 53 (-3.64%)
Mutual labels:  viml
Vim Lookup
Jump to the definition of variables or functions in VimL code.
Stars: ✭ 51 (-7.27%)
Mutual labels:  viml
Fmacvim
MacVim + essential plugins + my custom (and awesome) .vimrc
Stars: ✭ 52 (-5.45%)
Mutual labels:  viml
Javacomplete
Omni Completion for JAVA
Stars: ✭ 53 (-3.64%)
Mutual labels:  viml
Vimtips Fortune
A vimtips to fortune software.
Stars: ✭ 50 (-9.09%)
Mutual labels:  viml
Vimdown
A dirty tool to convert .vimrc and .vim script files to markdown
Stars: ✭ 54 (-1.82%)
Mutual labels:  viml
Cscope.vim
create cscope database and connect to existing proper database automatically.
Stars: ✭ 49 (-10.91%)
Mutual labels:  viml
Bookmark
[DEPRECATED] 웹 즐겨찾기
Stars: ✭ 53 (-3.64%)
Mutual labels:  viml
Vim Better Javascript Completion
An expansion of Vim's current JavaScript syntax file.
Stars: ✭ 55 (+0%)
Mutual labels:  viml
Vim Alignta
Align Them All!
Stars: ✭ 54 (-1.82%)
Mutual labels:  viml
Vim Togglemouse
Toggles the mouse focus between Vim and your terminal emulator, allowing terminal emulator mouse commands, like copy/paste.
Stars: ✭ 53 (-3.64%)
Mutual labels:  viml

Sauce for Vim

Sauce is a manager for multiple vimrc files, which can be used to load different settings for different environments. In short, you can maintain lots of different vim settings files and only load the one(s) you need when you need them.

This can be used as a simple project organiser tool. For instance:

" Load the MyProject sauce
:Sauce MyProject

This "sauce" (read: source) can contain anything that you would put in your vimrc, and can be used to override those settings. In this case, it could be used to CD into the project directory, set spaces instead of tabs, open NERDTree, set configuration options for PHPQA tools, etc.

There's even autocomplete on the sauce names, so you don't need to remember them :)

Quick Guide

Actually, a quick guide is all that's needed. There are just a few handy functions to manage your sauces:

" Load a sauce
:Sauce <name>
" Create a new sauce
:SauceNew <name>
" Edit an existing sauce
:SauceEdit <name>
" Copy an existing sauce as a new sauce
:SauceCopy <name> (will ask for another name)
" Delete an existing sauce (will prompt you to confirm)
:SauceDelete <name>
" Rename an existing sauce (will ask for the new name)
:SauceRename <name>

Installation

Vundle

Installation is easy-peasy if you're using Vundle. Just add this to your .vimrc file:

Bundle 'joonty/vim-sauce.git'

and run vim +BundleInstall +qall from a terminal.

Pathogen

cd ~/.vim/bundle
git clone git://github.com/joonty/vim-sauce.git

If you aren't using vundle, you will have to extract the files in each folder to the correct folder in .vim/.

Configuration

No configuration is necessary, although it's possible to change the default directory where sauces are stored (~/.vimsauce). To do this, add this to your vimrc file:

let g:sauce_path = "/path/to/sauces"

Known Issues

The autocomplete currently won't work with Windows. However, plans are in place to change that.

License

Sauce for Vim is released under the MIT license. See the LICENSE file for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].