diff --git a/debian/changelog b/debian/changelog index a2f5c5b3..e5ad11d7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,11 @@ byobu (2.11) unreleased; urgency=low - * UNRELEASED + * debian/install, keybindings/common.disable, profiles/common: add support + for enabling/disabling the byobu keybindings, with ctrl-a-( and + ctrl-a-), LP: #386363 - -- Dustin Kirkland Thu, 11 Jun 2009 23:30:01 -0500 + + -- Dustin Kirkland Fri, 12 Jun 2009 11:13:47 -0500 byobu (2.10-0ubuntu1) karmic; urgency=low diff --git a/debian/install b/debian/install index 4a9e6cc1..a36c2801 100644 --- a/debian/install +++ b/debian/install @@ -6,8 +6,7 @@ profiles/NONE usr/share/byobu/profiles profiles/black usr/share/byobu/profiles profiles/dark usr/share/byobu/profiles profiles/light usr/share/byobu/profiles -keybindings/common usr/share/byobu/keybindings -keybindings/none usr/share/byobu/keybindings +keybindings/* usr/share/byobu/keybindings windows/common usr/share/byobu/windows select-screen-profile usr/bin byobu usr/bin diff --git a/keybindings/common.disable b/keybindings/common.disable new file mode 100644 index 00000000..d9bf6eaf --- /dev/null +++ b/keybindings/common.disable @@ -0,0 +1,34 @@ +############################################################################### +# Disable Byobu's common keybindings +# This configuration profile is intended to be a common header of useful +# keybindings, included by other profiles. +# +# Copyright (C) 2008 Nick Barcet +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 3 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +############################################################################### + +# This file disables the common key bindings + +bindkey -k k2 +bindkey -k k3 +bindkey -k k4 +bindkey -k k5 +bindkey -k k6 +bindkey -k k7 +bindkey -k k8 +bindkey -k k9 +bindkey -k F2 +bind $ +bind @ +bind R diff --git a/profiles/common b/profiles/common index 8b421ff6..bff5359f 100644 --- a/profiles/common +++ b/profiles/common @@ -65,4 +65,11 @@ altscreen on # Log 10000 lines defscrollback 10000 +# ctrl-a-( enables common keybindings +register e "^a:source /usr/share/byobu/keybindings/common^M" +bind ( process e +# ctrl-a-) disables common keybindings +register d "^a:source /usr/share/byobu/keybindings/common.disable^M" +bind ) process d + source $HOME/.byobu/keybindings