The tag has no usage guidance.

learn more… | top users | synonyms

6
votes
3answers
4k views

Can I interchange my “Home, End” keys with “PageUp, PageDown” keys on dell latitude laptop?

The Home,End keys are at the top row in my laptop, and I use them most while selecting the entire line by pressing (Shift+Home, Shift+End) - it is very inconvenient. On the other hand, "PageUp, ...
5
votes
4answers
3k views

ALT+arrow moving between words in zsh and iTerm2

I logged in on one of hosting provider servers and noticed ALT + left and ALT + right moved between words in a shell prompt in GNU Screen. What kind of key bindings I need to configure and where to ...
2
votes
1answer
423 views

Emacs rebind C-i while keeping <tab> bindings

I'm using Aquamacs. It can distinguish between <tab>, the actual tab key, and TAB, which comes from typing C-i. I want to bind C-i to 'next-line permanently. This works for that: ...
2
votes
1answer
66 views

How to map // to ~/?

Is it possible to remap ~/ to //? I want to be able to do something like cat //something.txt and have it be running cat ~/something.txt Or if this isn't possible, mapping ~ to something easier to ...
1
vote
1answer
475 views

Gnome 3 global keybinds gone after update

Yesterday I did a full system update (the old one dates back less than a month) and now all my global keybindings don't work anymore. They are created via "gconf-editor" and are located in ...
0
votes
1answer
737 views

Can LALT+TAB be re-binded to another combination?

In Windows 7, could the "cycle windows", by default bound to LALT+TAB, be re-binded to another combination (without altering the keyboard layout itself).
1
vote
0answers
47 views

compiling c and running code via keybinding

I want to compile and run my c code via key binding gnome-terminal -e make ~/Graphics && /home/johnr/Graphics/se so i add that to command one and get the global key <Alt>r as the ...
5
votes
1answer
801 views

How to remap control keys in MS Layout Creator

edit: I successfully user KeyTweak to remap the keys. However doing so remaps them for all keyboard layouts. Is there a way to remap them only for my custom layout (created, as I said earlier, with MS ...
2
votes
3answers
2k views

Enable Ctrl (or Alt) + arrow keys to mimic 'home' and 'end' functionality

I am a long time Mac user and I'm now using a Ubuntu machine for development, and while I'm more or less used to a lot of the keyboard shortcuts, one thing I can't get used to is using the 'Home' and ...
1
vote
0answers
156 views

keymapping when ssh-ing from mac to linux

I'm using Lion to ssh -X to a linux machine and work on some code thats located on it. I open up an editor on the remote machine (usually matlab) and program on it. My problem is that in the linux ...
2
votes
3answers
932 views

fish control-left control-right keybindings

I'm using terminator along with fish and I want to use Alt-Left etc for navigating terminator and Ctrl-Left and Ctrl-right to move the cursor by word. The problem is when I do bind \cleft ...
4
votes
1answer
151 views

In Emacs, how to define a keyboard shortcut to quickly enclose highlighted text with <tag> and </tag>?

In Emacs, how to define a keyboard shortcut to quickly enclose highlighted text with <tag> and </tag>, optionally prompting for inputting the tag name tag?
1
vote
1answer
272 views

How can I get outlook to do emacs bindings?

I'm not even sure that this is possible. However, here goes. I am a follower of the true church of Emacs. My fingers know the key bindings, and they just do stuff. Normally this is great. The ...
1
vote
1answer
5k views

How to remap HID keyboard keys?

I got some "close to useless" USB sleep buttons for computers from a marketing campaign and was wondering how to use it to something cooler. Like.. Playing sad trombone when pressed. So I went around ...
3
votes
2answers
643 views

How to define a shortcut (key combination) to insert “<tag></tag>” in Emacs?

I want to define a shortcut to enter XML tag pairs. Pressing key combination key1-key2 which should prompt for entering a tag name, .e.g. "foo", and automatically insert "<foo></foo>". ...
11
votes
1answer
373 views

Is there a way of using ctrl-r after typing part of command in bash?

In bash the Ctrl+r command is very useful, I type Ctrl+r whatever and it searchs my history for commands containing the word whatever. But if I type whatever and realize that I would like search that ...
2
votes
1answer
583 views

How to efficiently type in a pair of XML tags in Emacs?

How to efficiently type in a pair of XML tags such as <tag></tag> in Emacs? I am hoping some sort of auto-complete behavior.
0
votes
3answers
209 views

How to indent a block of text rightward by 2 whitespace characters in Emacs?

How to indent a block of text rightward by 2 whitespace characters in Emacs? How to indent a block of text rightward by 4 whitespace characters in Emacs? [EDIT] I need a method that doesn't ...
9
votes
1answer
2k views

Looking for non-conflicting cross-platform keybinding consistency

I use Mac OS X and Arch Linux and occasionally log into FreeBSD and Debian servers by ssh. My favoured tools are zsh, ssh, tmux, git, vim and irssi. I use iTerm2 on Mac OS X and unicode-rxvt on Arch ...
5
votes
1answer
2k views

Bind Ctrl-Tab to cycle through windows in tmux

I'm trying to figure out how to bind ctrl-tab to cycle through all open windows, I've tried: bind-key -n C-Tab select-window -t :.+ which says Unknown key. What am I missing? Note: I don't want to ...
1
vote
0answers
505 views

Spacebar not working (Ubuntu server / MAC client)

I am having the following problem. When I press spacebar on the server, the client receives this sequence META+SHIFT+Z. Thus, I can't input any space in the client. Server is an Ubuntu 11.10, client ...
1
vote
1answer
1k views

Ctrl+Shift+I in Windows 7

Pressing Ctrl+Shift+I in Windows 7 results in a Tab character being inserted, regardless of the application. Since it conflicts with the default "Inspect" key binding in Eclipse, I would like to ...
3
votes
1answer
939 views

How do I keep mac terminal keybindings when connected via ssh to a linux server?

My Setup computer: Macbook pro OS: OS X Snow Leopard Software: Terminal.app, GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin10.0) The Server's Setup Hardware: Not sure OS: ...
2
votes
1answer
964 views

How to configure SHIFT+LEFT, SHIFT+RIGHT, SHIFT+HOME and SHIFT+END keys in terminal on Mac?

To configure the Home and End keys in terminal on MacBook Air (OS X 10.7.2) I defined in Terminal -> Preferences -> Keyboard: Key Action ---- ------ Home \033OH End \033OF What ...
1
vote
2answers
881 views

Searching for a certain word and modifying them within Sublime Text 2 and Vim

I am trying learn the keybindings of vim one by one. I thing that I thought I should get good at early is to find a string of text and replace them with something else. I had successfully done this ...
2
votes
2answers
2k views

How to change sublimtext2 command mode's cursor so that it is a bar instead of underscore

I just switched to a Mac and started using sublimetext 2 for coding because it has the command mode and the comfort of textmate. When I was on Windows the e-texteditor has those two traits as well ...
6
votes
2answers
2k views

How can I change the scroll wheel behavior in vim, so that it scrolls instead of moving the cursor?

I would like scrolling up to be equivalent to c-y c-y c-y, and scrolling down to be equivalent to c-e c-e c-e. The documentation here seems to suggest that this should already be the case, or I can ...
3
votes
3answers
500 views

Can I change the mouse button bindings in Netbeans?

Is it possible to change the bindings for mouse4 and mouse5 (the thumb buttons) in Netbeans? I can't find any option in the NB keymapper, nor can I find anything on Google! I'm using Netbeans v7.0.1. ...
5
votes
2answers
2k views

How to bind command key in zsh?

It is possible to bind Command Key from mac os x in zsh? I can't find any information about that.
1
vote
1answer
1k views

How do I enable CTRL right/right arrow key to move word wise in shell?

I tried all the tips mentioned in this article: http://stackoverflow.com/questions/5029118/bash-ctrl-to-move-cursor-between-words-strings But non work for me... Is there a way to work it out ?
1
vote
0answers
322 views

Map keyboard keys in Mac OS X (Unix)

Currently, when you're inside a terminal, CTRL+a move the cursor to the beginning, while CTRL+e move it to the end. I use those key combinations a lot since I don't have the home and end buttons on my ...
4
votes
2answers
3k views

Is there an “LFD” key on my keyboard?

Emacs uses keybindings with "LFD", the Emacs FAQ provides the following information: LFD: Linefeed or Newline; same as `C-j' Is there a Linefeed button on my keyboard (other than C-j)?
4
votes
2answers
6k views

How can I set an “open with” keyboard shortcut in windows 7?

I have a shortcut to open vim, but I would like to create a shortcut to open the currently selected file in windows explorer with vim (if that is not the program associated with the file's type). ...
3
votes
1answer
1k views

Global emacs-like keybindings in linux

I'm trying to emulate behaviour I get from KeyRemap4MacBook on Mac OS X. It lets me remap control-m to Enter, for instance, globally. Is this possible with X/GNOME? Seems like xmodmap is not suitable ...
2
votes
1answer
587 views

How can I remap Ctrl+C to send an interrupt signal with another key?

I've got a process in bash that I can call to stop using Ctrl+C. As far as I can see, this equals to sending an exit(1) signal. I would like to loop through these processes for a list of different ...
0
votes
1answer
183 views

Remap right command key in windows

I'm using a apple bluetooth KB on windows. How can I remap right command to become CTRL?
2
votes
1answer
789 views

How do I debug why an OSX key binding stopped working?

Recently, I've realized that my ^A key binding has stopped working in OSX. My assumption is that some application has registered ^A as a hotkey, but I don't know that for certain. I don't recall ...
0
votes
1answer
1k views

Simple way to get keys/mouse buttons working in Synergy (mac client, pc server)

I'm trying to get Synergy working running as client on my Mac with SynergyKM Preferences panel. It's performing generally fine (just some real slow downs when my network is under heavy use, usually ...
4
votes
1answer
978 views

How do I make ESC clear a line in Bash Under Windows instead of Ctrl+u?

I use bash in Windows, both in Cygwin and in Git Bash (part of Git for Windows). In bash unlike in the Windows cmd.exe Esc does not clear the line, only Ctrl + U. How can I make clear the line also? ...
1
vote
1answer
189 views

OS X Ignores DefaultKeyBinding Option+U

I'm building a DefaultKeyBinding.dict with some useful functions. One of the functions I'd like is uppercaseWord:, but when I try to bind this to Option+U, OS X ignores this binding. It also ignores ...
2
votes
1answer
1k views

How to get vim key-bindings for GVim in Windows?

GVim for Windows overwrites a lot of useful vim commands, such as ctrl+A and ctrl+Y. Is there a way to get these commands back without writing a remap for each and every command?
2
votes
2answers
1k views

How I handle bindkey in zsh?

There is not a lot of info on that command, I didn't find a manpage nor a info and not more than examples on the web. Is there any tutorial or info on internet?
1
vote
1answer
255 views

In tmux how should I bind a key in the 'emacs-edit' table?

I find that when I am editing a command in tmux, the M-b and M-f are not bound. I tried the following: tmux bind-key -t emacs-edit M-b previous-word But tmux says that's a unknown command. What ...
9
votes
3answers
2k views

Setting major-mode specific keybindings in emacs

In my .emacs file, I want to add a key binding for a specific major mode (setting coffee-compile-file to C-c C-c in coffee-mode). I've found a lot of instructions on using local-set-key and ...
0
votes
2answers
898 views

^C not working in zsh on Mac OSX

Ctrl-C stopped working for me at the terminal when using zsh (on mac osx). I didn't notice the exact moment that it happend so I can't be sure what caused it. I didd't update zsh in a while though. ...
1
vote
1answer
300 views

Disable the caps-lock key under Windows 7? [duplicate]

Possible Duplicate: How to disable and reassign the caps lock key? Is it possible to totally disable the caps lock key under Windows 7? Or reassign it to be another shift key? I have done ...
3
votes
1answer
5k views

How can I bind a keyboard shortcut to start a specific application in Windows 7? [duplicate]

Possible Duplicate: Keyboard shortcut to start Calculator in Windows 7 I would like to bind a keyboard shortcut to the applications I use most so I can start them fast only using the ...
1
vote
1answer
13k views

Using BIND to perform DNS redirection

How can I use BIND software to redirect Domain Names from the DNS or zone files?
1
vote
2answers
1k views

Bind commands to key-up and key-down in AutoHotkey

I have written two functions in an AutoHotkey script: fun1() and fun2(). I now need to bind fun1() to when Pause is pressed down, and bind fun2() to when Pause is released. As an example, I would ...
1
vote
2answers
2k views

How to change windows key bindings to look like mac osX?

Im very used to mac, I use it at work, and when I get home I aways get lost with the keys shortcuts on windows... is there some way to remap those shortcuts in windows 7? To feel like in macos?