Skip to content

Commit

Permalink
Initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
sjl committed Apr 12, 2012
0 parents commit a8a23e8
Show file tree
Hide file tree
Showing 5 changed files with 537 additions and 0 deletions.
19 changes: 19 additions & 0 deletions LICENSE.markdown
@@ -0,0 +1,19 @@
Copyright (C) 2012 Steve Losh and contributors

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.**

29 changes: 29 additions & 0 deletions README.markdown
@@ -0,0 +1,29 @@
Vitality
========

(Vit)ality is a plugin that makes (V)im play nicely with (i)Term 2 and
(t)mux.

Features
--------

Vitality restores the `FocusLost` and `FocusGained` autocommand functionality.
Now Vim can save when iTerm 2 loses focus, even if it's inside tmux!

It also handles switching the cursor to a bar shaped one when in insert mode,
and restoring it when not.

Pull requests for other helpful behavior are welcome.

Installation and Usage
----------------------

Use Pathogen to install.

You shouldn't need to do anything else, but you can read `:help vitality` if
you're curious.

License
-------

MIT/X11

0 comments on commit a8a23e8

Please sign in to comment.