The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
10 views

How can I get bash to perform case insensitive tab-completion for my aliases and functions?

I have a alias like this: alias sshUntrusted='ssh -X -C -c blowfish-cbc,arcfour' when I type: $ sshun bash does not complete this alias I have put set completion-ignore-case on #ignore case ...
1
vote
1answer
115 views

Keystrokes and commands for my inputrc — key-combination for “Shift-Space”, remap “Ctrl-PageUp/PageDown” to something without Page-keys

I need to add some things to my inputrc. I'm using bash 4, as OS I'm using debian and OSX. My terminal emulators are rxvt-unicode-256 on debian and Terminal.app on OSX. My new macbook has no ...
0
votes
0answers
27 views

Keybinding in inputrc

In emacs I set: <find> u to be the keybinding for the beginning of the line. (I configured my keyboard to have a key mapped to <find>) Can I set the same keybinding in inputrc?
0
votes
0answers
31 views

Why is the Python interpreter provided by Django suddenly showing me Python tab completion upon a single Tab press?

This issue seems to have just started happening; basically I just noticed that whenever I press the Tab key in the Python interpreter that comes with Django, it gives me the Display all ... ...
1
vote
0answers
32 views

How do I get `set show-all-if-ambiguous on` in my .inputrc to play nice with the Python interpreter?

I noticed that after I added the set show-all-if-ambiguous on line to my ~/.inputrc, whenever I pressed tab to indent a block, it would show me the bash Display all ... possibilities? (y or n) prompt, ...
1
vote
0answers
77 views

.inputrc, TAB and CTRL-i

Apparently, when we hit TAB in Terminal, CTRL+i is send instead, so we cannot have different bindings for these keypresses in our .inputrc: "\C-i": forward-char TAB: complete This makes TAB move ...
1
vote
0answers
81 views

Getting bash history-complete-backwards/fowards and vi-mode to work with tmux

I'm using bash on Ubuntu 12.04 my inputrc contains: "\e[A": history-search-backward "\e[B": history-search-forward set show-all-if-ambiguous on set completion-ignore-case on"" for my history ...
0
votes
0answers
164 views

Home and End keys don't work work in Cygwin Vim editor when $TERM=linux

I have the latest Cygwin installed on a Windows 7 PC. When using the Vim editor, my Home and End keys don't work when $TERM=linux. If I change to $TERM=xterm, these keys work OK. When $TERM=linux ...
0
votes
0answers
43 views

Can FIGNORE be limited to specific applications?

I know that you can use FIGNORE to remove filename completion from suffixes. For example, to avoid a lot of garbage files produced by LaTeX, I've been using: ...
0
votes
1answer
32 views

Partial ignore case tab completion

First, let me go through a specific case and then explain the general case. Suppose I have two directories A and B. The contents of A are: foo Bar The contents of B are foobar Foobar I would ...
2
votes
2answers
213 views

~/.inputrc causes CTRL+arrows not to work

When ~/.inputrc does not exist, hitting Ctrl+Left Arrow and Ctrl+Right Arrow on a Bash command line moves the cursor back and forward by one word, respectively. However, if ~/.inputrc exists ...
1
vote
0answers
88 views

Binding .inputrc on Mac?

On Linux I had this line on my .inputrc: "\C-/": undo which doesn't work on Mac. Is there a way to make it work? On another note, is there a way to bind command keys on inputrc?
1
vote
1answer
792 views

Enable alt/ctrl + left/right on CentOS command line

My hoster recently updated to a new CentOS and I've been 'personalizing' it and now I'm missing something. On my home Ubuntu Server I can forward-word and backward-word with ALT + RIGHT / LEFT. I ...
12
votes
1answer
458 views

Why do `bind` and `.inputrc` behave differently?

I'm trying to do the right thing and put my key bindings into ~/.inputrc. However, it turns out that I have to change bind '"\e\C-j":"\e[1~quiet \e[4~\n"' into "\e\C-j": "\eOHquiet \eOF\n" Now ...
2
votes
2answers
514 views

page up/down print ~ instead of history search in terminal

I am on a Macbook Pro with mac os x 10.8.2 I have set: page up: \033[5~ page down: \033[6~ in terminal keyboard settings (pressing esc to get \033). My ~/.xinputrc is: # Be 8 bit clean. set ...
1
vote
0answers
38 views

Making M-u, M-l, and M-c apply to whole words in readline

This is what I've come up with so far: "\C-\eU": upcase-word "\C-\eL": downcase-word "\C-\eC": capitalize-word "\eu": "\C-f\eb\C-\eU" "\el": "\C-f\eb\C-\eL" "\ec": "\C-f\eb\C-\eC" Is there some ...
2
votes
2answers
463 views

How to override default bash key-bindings?

I write this config file: # ~/.inputrc Control-d: "\C-udate +'%F %T'\C-m" I want to run date command when I type Ctrl-d. But I cannot override the default behavior(exit). Thanks for your help.
12
votes
1answer
1k views

How do I reload .inputrc using a bash script?

This question explains how to reload .inputrc using C-x C-r. But how would one reload it using commands in a bash script?
4
votes
2answers
514 views

Bash's equivalent of Tcsh's ESC+p

I'm moving from Tcsh to Bash, and I would like to take the ESC+p feature with me. If I type , say git cl, and then press ESC+p, it should complete automatically to the last command that starts with ...
10
votes
4answers
951 views

Is there any way to save a keyboard macro in bash?

I would like to permanently save a keyboard macro that I've recorded using C-x ( and C-x ). Is there an easy way to "see the source" for my newly recorded macro so that I can bind it to a keyboard ...
10
votes
1answer
2k views

Understanding control characters in .inputrc

My Linux account in a remote machine comes with the following pre-defined .inputrc "\e[1~": beginning-of-line "\e[4~": end-of-line “\e[5~”: history-search-backward “\e[6~”: history-search-forward ...
2
votes
1answer
523 views

Recommended bash key bindings in .inputrc file? [closed]

I have a few simple key bindings such as reverse-search-history. I saw an article a while ago with some other great ideas for key bindings. Was wondering what other people out there had configured.
24
votes
2answers
6k views

How do I reload .inputrc?

Background (probably wrong) I have heard that the readline module is reading ~/.inputrc and that is how it changes the behaviour of keystrokes under programs such as bash. Question How can I reload ...
7
votes
4answers
5k views

change bash shortcut keys such as Ctrl-C?

I am using Kubuntu 10.04. I would like to change some of the standard shortcut keys for bash (terminal). Here are the shortcuts I would like to set up: Ctrl-C to copy the selected text in the ...
0
votes
1answer
267 views

/etc/inputrc does not seem to be recognized as user on Ubuntu 8.04.2 LTS

On a new installation of Ubuntu 8.04.2 LTS, logging in as a standard user does not maintain the keybindings (whether through sudo su - or direct from ssh). As the root user everything is fine and ...
11
votes
2answers
4k views

Putty SSH: CTRL+Cursor keys don't work skip to previous/next word

When I am connected to my local Ubuntu dev server with putty (from my Windows 7 box) via SSH, the following key combinations don't work to move the cursor forward and backward on word boundaries: ...
0
votes
3answers
1k views

.inputrc settings: delete-char and [] keybindings not working

I am using mingw under windows. When I am using ruby (irb) my 'special' characters like []{} and \ are not working. This is because of my german keyboard, where these keys are used together with AltGr ...