These looks similar to bash shell prompt binding:īut could just use arrow keys. (Gnome3 use vertical stacked workspace and use mouse wheel to nagivate.Įditor keybind that will probably never use:Ĭontrol-LĜenter the cursor or selection in the visible area.Ĭontrol-O Insert a new line after the insertion point.Ĭontrol-T Swap the character behind the insertion point with the character in front of the insertion point. Īlt-Lf/Rg ^Lf/Rg Word left/right, even in TerminalĪlt-Up/Dn Hm/End v,b Begining/End of lineĬmd-Lf/Rg Hm/End Begining/End of line ģfinger swipe Lf/Rg SPACES (workspace) Left/Right ^-Sh-Power/Eject # blank screen (lock after additional preset num of min)įn Power/Eject # bring up lock/sleep/power off menu (closest thing to Windows-L) png on desktop.Ĭtrl-Cmd-Sh-3 (^cmd-#) # screenshot of the entire screen, send to clipboard (no saving to file)Ĭmd-, # Preferences: Open preferences for the front app. send to clipboard (no saving to file)Ĭmd-Sh-3 # screenshot of the entire screen, save to. Chrome "BACK" and "FWD" on page (URL) navigation.Ĭmd-Sh-4 ( cmd-$) # cropping method. Some less intuitive keyboard binding from a windoze/linux user perspective:Ĭmd-Tab Switch apps: Switch to the next most recently used app among your open apps.Ĭmd-` Switch windows w/in app, within SAME WORKSPACE (works in Terminal and firefox)Ĭmd-Sh ~ (Cmd-Tilde) Switch windows: Switch to the next most recently used window of the front app.Ĭmd- Lf/Rg cycle thru windows in Terminal app, ACROSS workSpaces. Keyboard shortcuts keyboard shortcuts from apple support ^ Fn+UpArrow ^PgUp previous tab in mate-terminal On the opening dialog, type the combination you want to map, for example alt + d, and select Send escape sequence from the drop down Then on the last textbox insert the escape sequence character you want to send (typically the same pressed along the meta key).? Ins # No way to emulate an insert key on the laptop :( :( :( Select Normal instead of +Esc and, for each key shortcut you want to map, click on the + button. This can be done in the same window as before. Another way to achieve what we want is to manually map all the meta key shortcuts. Set it up to the last option (+Esc) as shown in the screenshot, and then the alt key in iTerm will be sending the shell the adequate escape sequence so all meta mappings work as expected.ĮDIT (): looks like this breaks some of the characters that are used by typing the meta key, i.e. Now, on the bottom of the keymap lists, you will see that you can configure the behaviour of the option key. You just need to go to the Profiles menu, edit your profile (which is most likely to be the default one), and then go to the keys tab. Instead of moving forward or backward a word, you will see that some weird character is written on the command line.įortunately this is really easy to fix in iTerm. Now, if you open a shell in iTerm and press C-b or C-f, the output will be as expected, but not if you press M-b or M-f. In Mac OS X, the meta key is mapped to the alt key, but as you may very well know, this alt key is known as the option key, and has its peculiarities. In most keyboards (or keymaps to be precise), the control key is mapped to the ctrl key and the meta key is mapped to the alt key. The C stands for control key, while the M stands for meta key. Doing if with M-b or M-f does the same but with a word (if you are an Emacs user you will be familiar with those key shortcuts). Pressing C-b or C-f moves the cursor one character back or forward. This movements, unless you redefine it in your global or local bashrc profile (or any similar shell you maybe using), are done with the keys b and f. Using the arrow keys is usually enough, but more often than not you need to move between words. Chances are, too, that you are using iTerm instead of the system provided Terminal app. If you use your Mac OS X as a development machine and are a regular user of the shell, chances are you are going to be using the movement commands a lot.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |