Permalink
Browse files

Quitting keys.

  • Loading branch information...
1 parent e740d78 commit 352effc80c2e11b2bc743f853f6e7a3bed2352a7 @sjl committed Jun 13, 2011
Showing with 4 additions and 0 deletions.
  1. +1 −0 plugin/threesome.py
  2. +3 −0 plugin/threesomelib/init.py
View
1 plugin/threesome.py
@@ -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")
View
3 plugin/threesomelib/init.py
@@ -45,6 +45,9 @@ def bind_global_keys():
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')

0 comments on commit 352effc

Please sign in to comment.