c353930abfc4 v0.0.1
Quitting keys.
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Mon, 13 Jun 2011 01:07:55 -0400 |
parents | 890a1d687c33 |
children | a7fd8bdc3c5a |
branches/tags | v0.0.1 |
files | plugin/threesome.py plugin/threesomelib/init.py |
Changes
--- a/plugin/threesome.py Mon Jun 13 01:03:56 2011 -0400 +++ b/plugin/threesome.py Mon Jun 13 01:07:55 2011 -0400 @@ -1,5 +1,6 @@ import vim, os, sys + # Add the library to the Python path. for p in vim.eval("&runtimepath").split(','): plugin_dir = os.path.join(p, "plugin")
--- a/plugin/threesomelib/init.py Mon Jun 13 01:03:56 2011 -0400 +++ b/plugin/threesomelib/init.py Mon Jun 13 01:07:55 2011 -0400 @@ -45,6 +45,9 @@ keys.bind('n', ':ThreesomeNext<cr>') keys.bind('N', ':ThreesomePrev<cr>') + keys.bind('q', ':wa<cr>:qa<cr>') + keys.bind('CC', ':cq<cr>') + def setlocal_buffers(): buffers.original.open() vim.command('setlocal buftype=nofile')