Questions tagged [key-bindings]

6 questions
56
votes
3 answers

Isn't Ctrl-Alt-Delete on Linux *really* dangerous?

Is the default Ctrl-Alt-Delete shutdown -r functionality on Linux systems a dangerous feature? Years ago, when I deployed physical systems with attached keyboards and monitors, I'd sometimes modify the /etc/inittab on Red Hat systems to disable the…
ewwhite
  • 194,921
  • 91
  • 434
  • 799
5
votes
1 answer

Problem with Ctrl tab keybinding in Emacs in gnome-terminal

I want to be able to flip back and forwards between two buffers in Emacs in the same way I can flip between tabs in some other editors. The following Ctrl + TAB key binding works nicely in XEmacs: (defun buffer-shimmy () "Back to the previous…
Tom
  • 4,157
  • 11
  • 41
  • 52
3
votes
1 answer

disabling specific byobu/screen keybindings that conflict with vim keybindings

ctrl + a under byobu has either emacs mode or screen mode. However, I need keybindings like ctrl + a for vim's "increment value" method. How would I prevent byobu/screen from blocking certain keyboard shortcuts? Note: I get that the function…
dan
  • 31
  • 1
  • 2
1
vote
2 answers

How do I configure MySQL command line client key bindings?

I often use the mysql command-line client on an Ubuntu box. It works fine, except that the key bindings are wrong. Specifically, pressing "Home", "End", or "Delete" makes it output a ~ (tilde) character, and beep. I've determined that Home/End can…
Will Martin
  • 2,381
  • 5
  • 18
  • 18
0
votes
0 answers

Bash vi-bindings position of last CLI character

I'll use ls -la as an example. On Iterm2 (xterm-color256 vi-bindings), when I use the up arrow to go to the last command, the cursor is placed to the right of the 'a'. When I hit the left hand cursor key, the cursor moves so it's on the 'a'. When I…
volvox
  • 202
  • 1
  • 2
  • 8
0
votes
0 answers

Why does zsh behave differently when executed inside tmux?

I have zsh configured to browse command history with prefix search. For example when I type ssh and press ↑, only my last ssh commands are being displayed. However, when I use zsh within tmux session, it stops working. The shell goes back to…
emesik
  • 113
  • 4