Tag Info

Hot answers tagged

18

zsh like most modern shells have a choice between two different keyboard mappings for command-line editing: a vi one and an emacs one. In some shells (like tcsh or readline-based ones like bash), the emacs one is the default and probably the one you expect. With zsh, you get emacs mode by default unless $EDITOR or $VISUAL contains vi (if you're a ...


1

To search backward in your ksh command history, Ctrl-R in emacs mode ought to work, even if you're running an old version such as ksh88. It is not an incremental character-by-character search like in bash. You have to type Ctrl-R, then the string you want to search for, then Enter.


1

In the old days, men were real men, women were real women, small furry creatures from Alpha Centauri were real small furry creatures from Alpha Centauri, and Anglo-Saxon programmers thought that 95 printable characters and 33 control characters was enough for everybody. Bytes were pretty much 8-bit large all around, but 7 bits were enough for all the ...


1

Urxvt has the excellent urxvt-perls collection of scripts that allow you to operate on text in the terminal without resorting to the rodent. In addition to copy and paste, you can select URLs and open them in your browser or yank them to the clipboard, search the scrollback, and generally treat the text as if you were in your $EDITOR.


1

If you're dealing with files discovered via ls, I usually find it easiest to tab-complete or glob them: if I want to act on report.tex, for example, it's faster to do vim re<TAB> than to copy-paste. But copy-paste does have its uses, certainly. I do most of my work in tmux with vi bindings. If you have emacs bindings (the default) the approach is ...


1

It seems elementary-tweaks has no longer key bindings in elementary Freya. But luckily there is mode to bind keys in Freya also. You can use program named xbindkeys. Details about how to configure and use it you can find here. excerpt We only need xbindkeys, a simple yet powerful command line tool to bind commands to a certain key or keys ...


1

In recent GNOME use: gsettings set org.gnome.mutter overlay-key '' and to restore the default keybinding use: gsettings set org.gnome.mutter overlay-key 'Super_L' borrowed from here.



Only top voted, non community-wiki answers of a minimum length are eligible