Browse files

Add :on command as an abbreviation of :only

In Vim, :onl also works. From reading the Vim help pages, I'm not sure if this
is guarenteed. I guess that the majority of uses of this command will be in
either the form :on or :only.
  • Loading branch information...
1 parent 4a9d5ab commit c9e8edc4f21978a938727e61f51c1d014fa071f5 @benarmston benarmston committed Dec 3, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 yi/src/library/Yi/Keymap/Vim.hs
@@ -1512,6 +1512,7 @@ exEval self cmd =
fn "u" = withBuffer' undoB
fn "undo" = withBuffer' undoB
+ fn "on" = withEditor closeOtherE
fn "only" = withEditor closeOtherE
fn "red" = withBuffer' redoB
fn "redo" = withBuffer' redoB

0 comments on commit c9e8edc

Please sign in to comment.