0
votes
2answers
50 views
+100
changing the meta key in emacs
I am running emacs 24.3 through the terminal on OS X 10.8.4. I would like to modify the meta-key which is currently set to be the ESC key. I have successfully changed the meta-key from ESC to ...
0
votes
0answers
64 views
“Home” and “End” HotKeys in Vim INSERT Mode with MacBook Pro
I am pretty new to Vim and to Mac, I have a MacBook Pro with Retina Display running OS X 10.8.3, which do NOT have naive Home, End, PageUp and PageDown keys.
I know the Fn + arrow keys can work in ...
0
votes
0answers
65 views
Terminal tab keyboard shortcut (cmd+[0-9])
Is it possible to have keyboard shortcuts to terminal tabs with numbers. I know its possible to cycle through tabs. I am looking for something like in iTerm (cmd + [0-9]) directly taking to that tab.
...
1
vote
2answers
93 views
Use Cmd as Ctrl key in vim
How can I input commands such as <Ctrl-W> and <Ctrl-]> in vim using Cmd instead of Ctrl? The reason why I want to do it is because it's more comfortable. When I need to switch to a ...
3
votes
5answers
193 views
Are there any global key combinations suitable or specifically reserved on OS X for user assignment?
I'm trying to identify an appropriate global hotkey to set in iTerm2's preferences for showing/hiding it:
I'd like to avoid any conflicts with other applications' hotkeys or other future use. Are ...
0
votes
1answer
67 views
Set Keystroke for Service from Terminal
I created some services to be used in Finder. Now I wanted to create some keystrokes to call these services. That would be easy in the System Settings, however, I would like to add them from the ...
2
votes
2answers
306 views
Can a Mac boot when the right shift key is broken in the pressed position?
Here's the thing, the right shift key of my macbook is stuck, so it always boots in safe mode once I turn the machine on. Worse, I cannot log in since my password has lower case letters.
I tried ...
2
votes
2answers
264 views
How to customise .inputrc to make command-delete and alt delete delete line and word in terminal?
I'd like to add a little bit of consistency between editing text on the terminal and editing text in normal OSX programs. I use iTerm2, but I imagine any solution would involve using readline and ...
2
votes
1answer
113 views
How do I make ⌘← and ⌘→ work for home/end combo for Terminal?
Why does fn-⇧-→ (or others) do a home/end in Terminal but a ⌘-→ works everywhere else?
So just to be clear the question is how to make Terminal take Command + ← and → for home and end?
0
votes
1answer
79 views
Why does Terminal swallow Ctrl+up/down keystrokes?
In Terminal.app on Snow Leopard, the key combinations Ctrl+↑ and Ctrl+↓ don't get passed through correctly. Instead Terminal.app receives a single ↑ or ↓ key stroke.
I have verified this by running ...
1
vote
2answers
115 views
Disable ⌘+p and ⌘+s in Terminal.app
I continually hit ⌘-P and ⌘-S while Terminal is in focus, due to alt-tabbing between my text editor and other programs.
Does anyone know how to disable these keys in Terminal.app?
10
votes
4answers
791 views
Switching from Ubuntu to OS X and I'm lost
Situation
I got tired of some bugs/annoyments in Ubuntu(=some programs coming along with it). For example after using compiz for a few days I found bugs that were
distracting my work flow pretty bad ...
3
votes
1answer
493 views
How can I add reminders via the command line?
Once in a while it may be useful to add some reminders to Reminders.app from the command line — especially because they are synced to iCloud. Is there any way to do so?
A solution that does not rely ...
2
votes
2answers
358 views
Terminal won't receive Control+← or Control+→
I just upgraded to Mountain Lion and I'm perplexed to find that neither iTerm 2 or the standard terminal will not receive Control ⌃+← or ⌃+→, which I typically use to jump words on the command line. I ...
3
votes
1answer
97 views
How does one change Terminal.app profile for all open tabs using a keyboard shortcut?
Would love to know if there is a way to switch all my current Terminal.app tabs to a different profile on the fly.
The use-case being to change Terminal profile from a dark to a light theme, and vice ...
3
votes
2answers
242 views
How can I change Terminal so that I don't have to press ESC every time I want to type a meta-modified key?
Currently in emacs/terminal, I have to press ESC every time I want to send an escaped keystroke, eg: to go forwards two words, I have to press:
ESC+f; ESC+f
How do I change the system so that I ...
-5
votes
3answers
2k views
How to press Control key on Mac
I cannot seem to find out how to hit the ctrl key on a Mac. When I open a terminal and I want to exit an editor such as nano as I cannot since I don't know how to exit and save. How would I do this? I ...
1
vote
2answers
699 views
On OS X Lion 10.7.4 in Terminal.app I cannot type `C-M-@` or `C-M-%`, why?
On my MacBook Pro running OS X Lion 10.7.4, there seems to be a keyboard issue. I first noticed this problem when I tried to use the default keybinding to execute mark-sexp and query-replace-regexp in ...
10
votes
3answers
1k views
Disable Command-W in the terminal
Is there any way to disable Command+W in the terminal?
On several occasions I have accidentally closed a terminal window containing important information when I meant to close a Safari tab and did ...
4
votes
2answers
447 views
Is there a better way to shutdown/restart OSX?
Whenever I want to shutdown/restart OSX I click on the menu, select shutdown, and then click the box for not saving the session, and then click OK. Then there's always at least one program that ...
8
votes
4answers
688 views
Option + click in iTerm
In Terminal, Option + click allows me to place my cursor at any point on the current line-- great for editing really long commands.
How can I do this in iTerm2?
Update: According to this page, the ...
1
vote
0answers
168 views
How to make this kind of global hotkey? [duplicate]
Possible Duplicate:
Create global shortcut to run command line applications
I want to assign a command to a certain key. This command will fire no matter what window is active. It will do ...
3
votes
3answers
446 views
Terminal shortcut keys
I've recently immigrated from Ubuntu to Mac OSX Snow Leopard. I use the terminal (iterm2) extensively, and I am a great fan of shortcut keys.
The standard shortcut keys (which work in any GUI ...
3
votes
1answer
852 views
Are there any keyboard shortcuts to switch between tabs in terminal?
Are there any keyboard shortcuts to switch between tabs in terminal?
1
vote
1answer
880 views
How can I press escape on a Bluetooth keyboard with my iPhone?
I sometimes use a BlueTooth keyboard with my iPhone, which is lovely for writing emails, but I run into difficulties when using terminal on the iPhone - I like to edit files with vi(m), which requires ...
4
votes
2answers
289 views
Is there a UNIX-style triple click to select path in Terminal.app?
In Red Hat, if there is a path somewhere on my terminal window and I triple click it, the whole path is selected. I can then easily copy it using middle-click or a regular copy-paste.
This doesn't ...
2
votes
1answer
97 views
How can I switch terminal settings using a keyboard shortcut?
Usually I need different settings in my terminal depending on what I'm working on. For example, change the opacity to see some info on the back.
I think an option is to set different setting schemas, ...
1
vote
1answer
224 views
Map keyboard key to unix command
Simple I am looking for a way to map a keyboard key to a unix command. It could be as simple as literal as opening up terminal and pasting a required bit of text.
3
votes
1answer
1k views
How do I send C-/ (that is, control-slash) to the terminal?
I'm trying to run Emacs in a terminal. I've turned on the "use option as meta" in terminal preferences and so it's about 95% working right.
The key sequence ctrl-/ (or in Emacs notation C-/) is ...
8
votes
1answer
4k views
Open Finder window from current Terminal location?
If I am in a specific path in a Terminal window, how can I open that same window in a new Finder window?
Note: This is the opposite of opening a Terminal from Finder.
1
vote
1answer
633 views
Is there a keyboard shortcut to move cursor one word at a time in Terminal?
I love CMD-Ö and CMD-Ä (in German keyboards). Navigating through tabs is intuitive and comfortable.
But navigating through a command already typed into the terminals a pain in the ... - especially ...
1
vote
4answers
323 views
How can I map keyboard keys to mouse axes in Terminal?
How can I map the mouse axes to my keyboard keys in the Mac OSX 10.6 Terminal? For example, moving the mouse up (positive x) triggers a keypress of W. Is this built in, or do I need a software ...
2
votes
4answers
154 views
Cursor navigation in Terminal
I quite often find myself needing to move the cursor to the beginning or the end of the line.
Is there a keyboard shortcut or other magic trick to move the cursor apart from the arrow keys.
7
votes
4answers
3k views
Home and end keys with Terminal on macbook pro?
I saw in other questions that home and end keys on a macbook pro can be emulated with fn + left arrow or fn + right arrow. Or sometimes with the apple key instead of fn. But none of that works in ...
1
vote
2answers
793 views
Weird keybindings in Mac OS X Terminal.app
I am trying to use the key "shift-tab" in emacs running purely under Terminal.app, but got an error saying there is no keybinding for "M-[ z" (where M is the meta key, set to be the option key under ...
1
vote
1answer
862 views
Mac OS X Terminal [Use option as meta key] overrides backslash in spanish keyboard
I already posted this question in stackoverflow:
http://stackoverflow.com/questions/4811282/mac-os-x-terminal-use-option-as-meta-key-overrides-backslash-in-spanish-keyboar
but I was informed there ...
1
vote
2answers
790 views
ctrl-o behavior in Terminal.app
I often use the ctrl-o shortcut in bash (from "Learning the bash Shell"):
[G]o back to [a command in history] and press CTRL-O instead of RETURN. This will execute the command and bring up the ...
5
votes
6answers
1k views
OS X Terminal equivalent of Ctrl+Left / Ctrl+Right
In Windows and Linux I could always hit ctrl+← or ctrl+→ to skip a word to the left or right in the terminal. In text editors it seems that ⌥+←/→ works, but no dice ...
1
vote
2answers
246 views
Equivalent to alt-. in terminal
I am curious as to whether there is an equivalent to the Alt-. command on Mac. On my computer it inserts the following character: ≥, instead of showing the preceding lines final parameter.
2
votes
2answers
742 views
How to skip system hotkeys when using terminal emacs?
I like to run GNU emacs in a Terminal window under Mac OS X 10.6.4.
Unfortunately, whenever I hit a hot key for emacs I often "trip" on an OS X system hot key.
For instance, when I hit Ctrl + space ...
12
votes
13answers
24k views
Is there a way to start the Terminal with a keyboard short cut?
Sort of like the Windows+R command in the windows world? That actually just lets you run a command but you get the idea.