| 1 | # remap_keybindings.bash
|
|---|
| 2 | # Author: Noah Friedman <[email protected]>
|
|---|
| 3 | # Created: 1992-01-11
|
|---|
| 4 | # Last modified: 1993-02-03
|
|---|
| 5 | # Public domain
|
|---|
| 6 |
|
|---|
| 7 | # Conversion to bash v2 syntax done by Chet Ramey
|
|---|
| 8 |
|
|---|
| 9 | # Commentary:
|
|---|
| 10 | # Code:
|
|---|
| 11 |
|
|---|
| 12 | #:docstring remap_keybindings:
|
|---|
| 13 | # Usage: remap_keybindings old_function new_function
|
|---|
| 14 | #
|
|---|
| 15 | # Clear all readline keybindings associated with OLD_FUNCTION (a Readline
|
|---|
| 16 | # function) rebinding them to NEW_FUNCTION (`self-insert' by default)
|
|---|
| 17 | #
|
|---|
| 18 | # This requires bash version 1.10 or newer, since previous versions did not
|
|---|
|
|---|