diff options
author | Kjell Wooding <kjell@cvs.openbsd.org> | 2011-01-18 16:25:41 +0000 |
---|---|---|
committer | Kjell Wooding <kjell@cvs.openbsd.org> | 2011-01-18 16:25:41 +0000 |
commit | 96d64c06e48f39d450e390fcd67a41778a97945e (patch) | |
tree | 51673c683979d59ad353eb526cfb203cabc32189 /usr.bin/mg/funmap.c | |
parent | 249d2fa75589fafb352e1fcce62e56ef3725d855 (diff) |
Add join-line, bound to M-^
Join the current line to the previous.
original diff by Henri Kemppainen. minor mod to add undo boundaries.
Thanks!
Diffstat (limited to 'usr.bin/mg/funmap.c')
-rw-r--r-- | usr.bin/mg/funmap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mg/funmap.c b/usr.bin/mg/funmap.c index 0ec02a031f2..b274aa208da 100644 --- a/usr.bin/mg/funmap.c +++ b/usr.bin/mg/funmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: funmap.c,v 1.33 2011/01/17 03:12:06 kjell Exp $ */ +/* $OpenBSD: funmap.c,v 1.34 2011/01/18 16:25:40 kjell Exp $ */ /* This file is in the public domain */ @@ -103,6 +103,7 @@ static struct funmap functnames[] = { {fillword, "insert-with-wrap",}, {backisearch, "isearch-backward",}, {forwisearch, "isearch-forward",}, + {joinline, "join-line",}, {justone, "just-one-space",}, {ctrlg, "keyboard-quit",}, {killbuffer_cmd, "kill-buffer",}, |