📄 keyboard.html
字号:
<HTML><HEAD><TITLE> Basic Operation </TITLE></HEAD><BODY><A NAME="Keyboard_Shortcuts"></A><H2> Keyboard Shortcuts </H2><P>Most of the keyboard shortcuts in NEdit are shown on the right hand sides ofthe pull-down menus. However, there are more which are not as obvious. Theseinclude; dialog button shortcuts; menu and dialog mnemonics; labeled keyboardkeys, such as the arrows, page-up, page-down, and home; and optional Shiftmodifiers on accelerator keys, like [Shift]Ctrl+F.</P><P><H3>Menu Accelerators</H3></P><P>Pressing the key combinations shown on the right of the menu items is ashortcut for selecting the menu item with the mouse. Some items have the shiftkey enclosed in brackets, such as [Shift]Ctrl+F. This indicates that the shiftkey is optional. In search commands, including the shift key reverses thedirection of the search. In Shift commands, it makes the command shift theselected text by a whole tab stop rather than by single characters.</P><P><H3>Menu Mnemonics</H3></P><P>Pressing the Alt key in combination with one of the underlined characters inthe menu bar pulls down that menu. Once the menu is pulled down, typing theunderlined characters in a menu item (without the Alt key) activates thatitem. With a menu pulled down, you can also use the arrow keys to select menuitems, and the Space or Enter keys to activate them.</P><P><H3>Keyboard Shortcuts within Dialogs</H3></P><P>One button in a dialog is usually marked with a thick indented outline. Pressing the Return or Enter key activates this button.</P><P>All dialogs have either a Cancel or Dismiss button. This button can beactivated by pressing the Escape (or Esc) key.</P><P>Pressing the tab key moves the keyboard focus to the next item in a dialog. Within an associated group of buttons, the arrow keys move the focus among thebuttons. Shift+Tab moves backward through the items.</P><P>Most items in dialogs have an underline under one character in their name. Pressing the Alt key along with this character, activates a button as if youhad pressed it with the mouse, or moves the keyboard focus to the associatedtext field or list.</P><P>You can select items from a list by using the arrow keys to move theselection and space to select.</P><P>In file selection dialogs, you can type the beginning characters of the filename or directory in the list to select files</P><P><H3>Labeled Function Keys</H3></P><P>The labeled function keys on standard workstation and PC keyboards, like thearrows, and page-up and page-down, are active in NEdit, though not shown in thepull-down menus.</P><P>Holding down the control key while pressing a named key extends the scope ofthe action that it performs. For example, Home normally moves the insertcursor the beginning of a line. Ctrl+Home moves it to the beginning of thefile. Backspace deletes one character, Ctrl+Backspace deletes one word.</P><P>Holding down the shift key while pressing a named key begins or extends aselection. Combining the shift and control keys combines their actions. Forexample, to select a word without using the mouse, position the cursor at thebeginning of the word and press Ctrl+Shift+RightArrow. The Alt key modifiesselection commands to make the selection rectangular.</P><P>Under X and Motif, there are several levels of translation between keyboardkeys and the actions they perform in a program. The "<A HREF="customize.html#Customizing_NEdit">Customizing NEdit</A>", and"<A HREF="resources.html#X_Resources">X Resources</A>" sections of the Help menu have more information on this subject. Because of all of this configurability, and since keyboards and standards forthe meaning of some keys vary from machine to machine, the mappings may bechanged from the defaults listed below.</P><P><H3>Modifier Keys (in general)</H3></P><P><PRE> Ctrl Extends the scope of the action that the key would otherwise perform. For example, Home normally moves the insert cursor to the beginning of a line. Ctrl+Home moves it to the beginning of the file. Backspace deletes one character, Ctrl+ Backspace deletes one word.</PRE></P><P><PRE> Shift Extends the selection to the cursor position. If there's no selection, begins one between the old and new cursor positions.</PRE></P><P><PRE> Alt When modifying a selection, makes the selection rectangular.</PRE></P><P>(For the effects of modifier keys on mouse button presses, see the sectiontitled "<A HREF="mouse.html#Using_the_Mouse">Using the Mouse</A>")</P><P><H3>All Keyboards</H3></P><P><PRE> Escape Cancels operation in progress: menu selection, drag, selection, etc. Also equivalent to cancel button in dialogs.</PRE></P><P><PRE> Backspace Delete the character before the cursor</PRE></P><P><PRE> Ctrl+BS Delete the word before the cursor</PRE></P><P><PRE> Arrows --</PRE></P><P><PRE> Left Move the cursor to the left one character</PRE></P><P><PRE> Ctrl+Left Move the cursor backward one word (Word delimiters are settable, see "<A HREF="customize.html#Customizing_NEdit">Customizing NEdit</A>", and "<A HREF="resources.html#X_Resources">X Resources</A>")</PRE></P><P><PRE> Right Move the cursor to the right one character</PRE></P><P><PRE> Ctrl+Right Move the cursor forward one word</PRE></P><P><PRE> Up Move the cursor up one line</PRE></P><P><PRE> Ctrl+Up Move the cursor up one paragraph. (Paragraphs are delimited by blank lines)</PRE></P><P><PRE> Down Move the cursor down one line.</PRE></P><P><PRE> Ctrl+Down Move the cursor down one paragraph.</PRE></P><P><PRE> Ctrl+Return Return with automatic indent, regardless of the setting of Auto Indent.</PRE></P><P><PRE> Shift+Return Return without automatic indent, regardless of the setting of Auto Indent.</PRE></P><P><PRE> Ctrl+Tab Insert an ASCII tab character, without processing emulated tabs.</PRE></P><P><PRE> Alt+Ctrl+<c> Insert the control-code equivalent of a key <c></PRE></P><P><PRE> Ctrl+/ Select everything (same as Select All menu item or ^A)</PRE></P><P><PRE> Ctrl+\ Unselect</PRE></P><P><PRE> Ctrl+U Delete to start of line</PRE></P><P><H3>PC Standard Keyboard</H3></P><P><PRE> Ctrl+Insert Copy the primary selection to the clipboard (same as Copy menu item or ^C) for compatibility with Motif standard key binding Shift+Ctrl+ Insert Copy the primary selection to the cursor location.</PRE></P><P><PRE> Delete Delete the character before the cursor. (Can be configured to delete the character after the cursor, see "<A HREF="customize.html#Customizing_NEdit">Customizing NEdit</A>", and "<A HREF="resources.html#X_Resources">X Resources</A>")</PRE></P><P><PRE> Ctrl+Delete Delete to end of line.</PRE></P><P><PRE> Shift+Delete Cut, remove the currently selected text and place it in the clipboard. (same as Cut menu item or ^X) for compatibility with Motif standard key binding Shift+Ctrl+ Delete Cut the primary selection to the cursor location.</PRE></P><P><PRE> Home Move the cursor to the beginning of the line</PRE></P><P><PRE> Ctrl+Home Move the cursor to the beginning of the file</PRE></P><P><PRE> End Move the cursor to the end of the line</PRE></P><P><PRE> Ctrl+End Move the cursor to the end of the file</PRE></P><P><PRE> PageUp Scroll and move the cursor up by one page.</PRE></P><P><PRE> Ctrl+PageUp Scroll and move the cursor left by one page. PageDown Scroll and move the cursor down by one page.</PRE></P><P><PRE> Ctrl+PageDown Scroll and move the cursor right by one page.</PRE></P><P><PRE> F10 Make the menu bar active for keyboard input (Arrow Keys, Return, Escape, and the Space Bar)</PRE></P><P><H3>Specialty Keyboards </H3></P><P>On machines with different styles of keyboards, generally, text editingactions are properly matched to the labeled keys, such as Remove,Next-screen, etc.. If you prefer different key bindings, see the sectiontitled "<A HREF="binding.html#Key_Binding">Key Binding</A>" under the Customizing heading in the Help menu.<P><HR></P><P></P></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -