sh-mode-map

sh-mode-map is a variable defined in `sh-script.el'.
Its value is shown below.
  • This variable may be risky if used as a file-local variable.

Documentation:
Keymap used in Shell-Script mode.

Value:

(keymap (menu-bar keymap (sh-script "Sh-Script" keymap (sh-backslash-region menu-item "Backslash region" sh-backslash-region :help "Insert, align, or delete end-of-line backslashes on the lines in the region.") (sh-set-shell menu-item "Set shell type..." sh-set-shell :help "Set this buffer's shell to SHELL (a string)") (sh-exec-interpret menu-item "Execute script..." executable-interpret :help "Run script with user-specified args, and collect output in a buffer") (sh-exec menu-item "Execute region" sh-execute-region :help "Pass optional header and region to a subshell for noninteractive execution") (sh-s1 "--") (sh-case menu-item "Case Statement" sh-case :help "Insert a case/switch statement") (sh-for menu-item "For Loop" sh-for :help "Insert a for loop") (sh-if menu-item "If Statement" sh-if :help "Insert an if statement") (sh-select menu-item "Select Statement" sh-select :help "Insert a select statement ") (sh-indexed-loop menu-item "Indexed Loop" sh-indexed-loop :help "Insert an indexed loop from 1 to n.") (sh-getopts menu-item "Options Loop" sh-while-getopts :help "Insert a while getopts loop.") (sh-while menu-item "While Loop" sh-while :help "Insert a while loop") (sh-repeat menu-item "Repeat Loop" sh-repeat :help "Insert a repeat loop definition") (sh-until menu-item "Until Loop" sh-until :help "Insert an until loop") (sh-add menu-item "Addition..." sh-add :help "Insert an addition of VAR and prefix DELTA for Bourne (type) shell") (sh-function menu-item "Function..." sh-function :help "Insert a function definition") (sh-s0 "--") (sh-pair menu-item "Insert braces and quotes in pairs" electric-pair-mode :button (:toggle bound-and-true-p electric-pair-mode) :help "Inserting a brace or quote automatically inserts the matching pair") (sh-set-indent menu-item "Set indentation" sh-set-indent :help "Set the indentation for the current line") (sh-show-indent menu-item "Show indentation" sh-show-indent :help "Show the how the current line would be indented") (sh-learn-line-indent menu-item "Learn line indentation" sh-learn-line-indent :help "Learn how to indent a line as it currently is indented") (sh-learn-buffer-indent menu-item "Learn buffer indentation" sh-learn-buffer-indent :help "Learn how to indent the buffer the way it currently is."))) (remap keymap (forward-sentence . sh-end-of-command) (backward-sentence . sh-beginning-of-command) (delete-backward-char . backward-delete-char-untabify)) (27 keymap (24 . sh-execute-region)) (61 . sh-assignment) (3 keymap (58 . sh-set-shell) (26 . sh-show-shell) (4 . sh-cd-here) (14 . sh-send-line-or-region-and-step) (24 . executable-interpret) (43 . sh-add) (28 . sh-backslash-region) (62 . sh-learn-buffer-indent) (60 . sh-learn-line-indent) (61 . sh-set-indent) (63 . sh-show-indent) (3 . sh-case) (6 . sh-for) (9 . sh-if) (12 . sh-indexed-loop) (15 . sh-while-getopts) (18 . sh-repeat) (19 . sh-select) (20 . sh-tmp-file) (21 . sh-until) (23 . sh-while) (40 . sh-function)))