
- #Iterm keyboard shortcuts how to
- #Iterm keyboard shortcuts install
- #Iterm keyboard shortcuts software
- #Iterm keyboard shortcuts code
Then, if you're using oh-my-zsh, simply search for the plugins variable in the ~/.zshrc file and add autojump to the list.
#Iterm keyboard shortcuts install
If you have brew installed, which you totally should, run brew install autojump. This is a nice post about git aliases: Autojump #Īutojump is an awesome tool for moving where you need to go in the terminal super fast. You can now use delete-merged in the terminal in any git repository to delete branches which have been merged to either trunk, develop or master. Use the latter only if you're using Z-shell (or echo $SHELL outputs something like /bin/zsh).Īlias delete-merged = 'git branch -merged | grep -v "\*" | grep -v master | grep -v trunk | grep -v develop | xargs -n 1 git branch -d' (This only deletes them locally and does not affect the remote in any way.)Īdd this line to your ~/.bash_profile or ~/.zshrc file.


If you want to have these shortcuts jump to the beginning or end of a line, follow these instructions (you can skip the instructions for the ⌥ + arrow shortcuts, as the previous step already took care of that) Git # Delete merged branches # ⌘ + ← and ⌘ + → enables you to switch to the next or previous tab if you have multiple open at once. To enable this in your terminal, go to iTerm 2 → Preferences → Profiles → keys, Click Load Preset. In normal text editors on your mac, you can navigate through text quickly using ⌥ + ← or ⌥ + →. ⌘ + ⌥ + l now properly indents your code.
#Iterm keyboard shortcuts code
Reformats your code according to what you have setup in your code style settings ( PhpStorm → Preferences → Editor → Code Style → Can be used to select a word, a statement or variable, a line, a function or a class and so on. Pressing it repeatedly, increases the scope in which code is selected. Selects, or extends, the selection of text in your editor. Or press the return key directly for the previous file. Select by typing the name of the file or moving up and down with arrow keys. Note: Most of these instructions assume you're working with OSX. This is an ever-growing list feel free to add to it!
#Iterm keyboard shortcuts software
Here's a few things you could do or learn to make your life a bit easier when it comes to software development.

#Iterm keyboard shortcuts how to
This tutorial walks you through the details on how to set up this keyboard shortcut!īy default, there’s no keyboard shortcut to duplicate a tab for the same folder. When using iTerm, you can create a key binding to duplicate an existing terminal tab and create a new session in the same folder.

Besides the frontend compilation, you may start a frontend or backend server handling incoming requests. For example, you may have a compile step to bundle up the final JavaScript file that will be delivered to the browser. Modern development environments sometimes require more than a single command line tab to run a project.
