1
vote
2answers
2k views

How do I create a terminal shortcut to this path?

So I'm having a problem creating a shortcut to a deep folder. None of the examples I've seen on Superuser have helped :( This is my path: cd / Applications / MAMP / htdocs / whoat / solr / whoat I ...
0
votes
2answers
51 views

Custom command with option

I'm using "ls -l" a lot is there a way say define a shortcut for that so i could call it "ll"? This way I can go and use short instead? Any pointers appreciated. Thanks. Michael
0
votes
1answer
204 views

Shift+Alt key combination blocks input in terminal (Ubuntu 10.04)

I have a weird problem with polish accents on Ubuntu 10.04 in terminal (no X server). When I try to type big letter Ł, it works when it is typed by pressing right Alt+Shift+L. BUT when you press Shift ...
4
votes
2answers
1k views

How to disable Alt-f shortcut binding from file menu access key under Cinnamon Mint 13 (Maya)?

I'm running Cinnamon on Linux Mint 13 (Maya). I want to disable the terminal file menu access shortcut as it's bound to Alt+f and I'd rather use that shortcut to move forward a word in bash. I ...
6
votes
3answers
12k views

Vim in OSX: How to do page-up/page-down/go to EOL through a vim file opened in terminal?

In putty, which is how I primarily used VIM, I could do the following: Page up/down : Using the native Page up/down key. In Mac, the alternative is Fn + Up/Down, which doesn't work in the terminal ...
3
votes
2answers
3k views

How to let Ctrl + Page Down switch tabs inside Vim in Terminal.app?

When running vim inside the Terminal in Ubuntu, I can use Ctrl + Page Up or Page Down to switch between the vim tabs. How do I set up this for Terminal.app or iTerm2 for Mac OS X? I have a Macbook Air ...
0
votes
1answer
92 views

On Mac OS X, can I use Cmd + 1(to 9) keys to switch between tabs in Terminal?

On Mac OS X, can I use Cmd + 1(to 9) keys to switch between tabs in Terminal? Right now it switches between Terminal "Windows" but I like the tabs better. I know I can use Cmd + [ or Cmd + ] to go ...
4
votes
4answers
5k views

Creating Mac OS terminal shortcuts [duplicate]

Possible Duplicate: How to build a custom command with options I want to create a terminal short that takes me to a deeply-nested folder. For example, I just want to type in "star" every ...
2
votes
1answer
352 views

How can I map something to Shift+Alt+O in Vim?

I want to create a mapping for Shift+Alt+O in Vim. It works good in GUI version (gvim), but in console Vim decides that I do command "insert a row above this line and insert insert mode" (Shft+O). My ...
3
votes
2answers
1k views

Terminal: What is the shortcut to clean your command line

If I have this: $ bla bla bla bla Is there any shortcut for Terminal (MacOS) to clean the entire line?
22
votes
5answers
6k views

Is there a shortcut to mkdir foo and immediately cd into it?

This is something I do frequently $ mkdir foo $ cd foo This works as a single command, but it's more keystrokes and saves no time. $ mkdir foo && cd foo Is there a shortcut for this? ...
16
votes
9answers
42k views

How to create an ssh connection Terminal shortcut on Mac OS X Snow Leopard?

It sucks to open Terminal each time and write a complete ssh command. I also have a custom port to connect to.
4
votes
2answers
1k views

How do I create a terminal shortcut to open to a particular folder?

I've recently switched to a Mac and want to improve my workflow a bit. I often need to run scripts using the terminal that are in several different folders. How do I create something like Windows ...