# This file controls the behaviour of line input editing for # programs that use the Gnu Readline library. Existing programs # include FTP, Bash, and Gdb. # # You can re-read the inputrc file with C-x C-r. # Lines beginning with '#' are comments. # # +chris+ 22jan2002 # 11jan2012 +chris+ # use a visible bell if one is available # dont. 06jan2012 set bell-style none # disable bracketed paste set enable-bracketed-paste off $if Bash "\C-x\C-e": shell-expand-line # Here is one for editing my path. "\C-xp": "PATH=${PATH}\e\C-e\C-a\ef\C-f" # prepare to type a quoted word -- insert open and close double quotes # and move to just after the open quote "\C-x\"": "\"\"\C-b" "\C-x'": "''\C-b" # Quote the current or previous word "\C-xq": "\eb\"\ef\"" # Edit variable on current line. "\M-\C-v": "\C-a\C-k$\C-y\M-\C-e\C-a\C-y=" "\C-xd": dump-macros #"\C-xD": dump-functions "\C- ": set-mark $endif $if guile # Insert a pair of parens. (Weird syntax doesn't cause cursor jumping.) "\C-x(": ")\C-b(" $endif $if Rc set expand-tilde on set match-hidden-files off $endif