mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23:19 -07:00
* debian/install, keybindings/common.disable, profiles/common: add support
for enabling/disabling the byobu keybindings, with ctrl-a-( and ctrl-a-), LP: #386363 Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
parent
44f7601ebb
commit
0049efd481
4 changed files with 47 additions and 4 deletions
7
debian/changelog
vendored
7
debian/changelog
vendored
|
@ -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 <kirkland@ubuntu.com> Thu, 11 Jun 2009 23:30:01 -0500
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 12 Jun 2009 11:13:47 -0500
|
||||
|
||||
byobu (2.10-0ubuntu1) karmic; urgency=low
|
||||
|
||||
|
|
3
debian/install
vendored
3
debian/install
vendored
|
@ -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
|
||||
|
|
34
keybindings/common.disable
Normal file
34
keybindings/common.disable
Normal file
|
@ -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 <nick.barcet@canonical.com>
|
||||
#
|
||||
# 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 <http://www.gnu.org/licenses/>.
|
||||
###############################################################################
|
||||
|
||||
# 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
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue