mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 18:11:06 +00:00
New file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11792 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cfdc65053b
commit
d9c5761cf7
2 changed files with 74 additions and 0 deletions
39
KeyBindings/DefaultKeyBindings.dict
Normal file
39
KeyBindings/DefaultKeyBindings.dict
Normal file
|
@ -0,0 +1,39 @@
|
|||
{ /* -*-c-*- */
|
||||
|
||||
/* Function keys */
|
||||
"UpArrow" = "moveUp:";
|
||||
"DownArrow" = "moveDown:";
|
||||
"LeftArrow" = "moveLeft:";
|
||||
"RightArrow" = "moveRight:";
|
||||
|
||||
"Alternate-LeftArrow" = "moveWordBackward:";
|
||||
"Control-LeftArrow" = "moveToBeginningOfLine:";
|
||||
"Control-Shift-LeftArrow" = "selectLine:";
|
||||
"Alternate-RightArrow" = "moveWordForward:";
|
||||
"Control-RightArrow" = "moveToEndOfLine:";
|
||||
"Control-Shift-RightArrow" = "selectLine:";
|
||||
|
||||
"Delete" = "deleteForward:";
|
||||
"Home" = "moveToBeginningOfDocument:";
|
||||
"Shift-Home" = "selectAll:";
|
||||
"Begin" = "moveToBeginningOfLine:";
|
||||
"End" = "moveToEndOfDocument:";
|
||||
"Shift-End" = "selectAll:";
|
||||
"PageUp" = "pageUp:";
|
||||
"PageDown" = "pageDown:";
|
||||
|
||||
/* Emacs keybindings */
|
||||
"Alternate-<" = "moveToBeginningOfDocument:";
|
||||
"Alternate->" = "moveToEndOfDocument:";
|
||||
"Control-a" = "moveToBeginningOfLine:";
|
||||
"Control-b" = "moveLeft:";
|
||||
"Alternate-b" = "moveWordBackward:";
|
||||
"Control-d" = "deleteForward:";
|
||||
"Control-e" = "moveToEndOfLine:";
|
||||
"Control-f" = "moveRight:";
|
||||
"Alternate-f" = "moveWordForward:";
|
||||
"Control-n" = "moveDown:";
|
||||
"Control-p" = "moveUp:";
|
||||
"Control-v" = "pageDown:";
|
||||
"Alternate-v" = "pageUp:";
|
||||
}
|
35
KeyBindings/GNUmakefile
Normal file
35
KeyBindings/GNUmakefile
Normal file
|
@ -0,0 +1,35 @@
|
|||
#
|
||||
# Copyright (C) 2001 Free Software Foundation, Inc.
|
||||
#
|
||||
# Author: Nicola Pero <n.pero@mi.flashnet.it>
|
||||
#
|
||||
# This file is part of the GNUstep GUI Library.
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU Library General Public
|
||||
# License as published by the Free Software Foundation; either
|
||||
# version 2 of the License, or (at your option) any later version.
|
||||
#
|
||||
# This library 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
|
||||
# Library General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Library General Public
|
||||
# License along with this library; see the file COPYING.LIB.
|
||||
# If not, write to the Free Software Foundation,
|
||||
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
include $(GNUSTEP_MAKEFILES)/common.make
|
||||
|
||||
include $(GNUSTEP_MAKEFILES)/rules.make
|
||||
|
||||
$(GNUSTEP_RESOURCES)/KeyBindings:
|
||||
$(MKINSTALLDIRS) $@
|
||||
|
||||
after-install:: $(GNUSTEP_RESOURCES)/KeyBindings
|
||||
$(INSTALL_DATA) DefaultKeyBindings.dict \
|
||||
$(GNUSTEP_RESOURCES)/KeyBindings/
|
||||
|
||||
after-uninstall::
|
||||
rm -f $(GNUSTEP_RESOURCES)/KeyBindings/DefaultKeyBindings.dict
|
Loading…
Reference in a new issue