Skip to content

anhtaiH/keyboard_shortcuts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 

Repository files navigation

Shortcut Commands

Alfred

install it here

You can use Alfred to

  • open an app
  • search google
  • search wikipedia
  • create custom search
  • use as calculator, press enter to copy result
  • define a word
  • get spelling on a word, press enter to copy proper spelling into clipboard

Gmail

  1. Setup keyboard shortcuts for gmail inside gmail settings.
  2. Setup priority inbox inside the gmail settings - in the inbox pane

? : show keyboard shortcuts

j : move downward

k : move upward

o : open

s (while open) : star / unstar

r : reply

a : reply all

u : return to main window

gi : return to inbox

OSX

command tab : switch open applications

command ` : (when already in command tab) switch open applications in reverse

command ` : goes between different windows of current program

command q (while in open applications) : quit an application

command d : when given "don't save, cancel, and save", triggers "don't save"; also short for saving something to the desktop

Chrome / Sublime / Bash / most apps with tabs

command n : create new window (shift command n for Sublime)

command t : create new tab (command n for Sublime)

command w : close tab or window if only one tab

shift command w : close window with multiple open tabs

command q : quit application

command shift ] or ctrl tab : move right one tab

command shift [ or ctrl shift tab : move left one tab

command NUMBER : move to tab number NUMBER (not in Bash)

fn up : page up

fn down : page down

alt command arrow keys : move right or left tabs

Vimium

Install it first

? : show commands

j : scroll down

k : scroll up

f : show links

F : show links to be opened in new tab

option f : open multiple links in different tabs

gg : go to top of page

G : go to bottom of page

u : scroll up more quickly

d : scroll down more quickly

yy : copy clipboard contents

r : reload the page

x : close tab

gi : go to first text field...tab to switch between them

gu : up the URL hierarchy

gU : to the root URL

/ : find mode...return to toggle

yt : duplicate current tab

gE : edit current URL then open in a new tab

H : go back in history

L : go forward in history

option p : pin a tab

Chrome

command r : reload page

command option j : open the javascript console

command ] : move forward through history

command [ : move backward through history

command shift t : reopen last closed tab (up to 10)

command l : select address bar

Sublime

command ctrl f : toggle fullscreen

command ctrl shift f : toggle distraction free

option arrows : move one word at a time

command arrows : move to beginning and end of line

shift above commands : select all the text

delete the above : delete all the text

fn delete : delete forward

command k, command k : delete to end of line

command k, command delete : delete to beginning of line

fn up / down : page up / page down

fn right / left : beginning and end of file

command z : undo

command shift z : redo

command y :redo

command / : toggle comment for line

command option / : toggle multi-line comment for selected lines, or open empty multi-line comment

command ] : shift indenting right

command [ : shift indenting left

command l : select the whole line

command c (with selection) : copy selection

command x (with selection) : cut selection

command v : paste most recent cut or copy

command shift v : paste with proper indentation

command x : cut the whole line

command c : copy the whole line

command enter : create new line below

command shift enter : create new line above

command shift d : copy current line below

command control arrows : move entire line up and down

command k, command u : make selection upper case

command k, command l : make selection lower case

command ' : select all within quotes

control m : move to beginning/end of parens and braces

command d : select word(s)

command k while selecting words : don't select word

command ctrl g : select all of words

option mouseDrag : column select

command mouseClick : custom multiple cursor

command shift l : multi line cursor based on selection

command p : goto anything (use with :line_number, @symbol, #term)

command r : search all function names in current file

command shift p : set syntax (and many many other things)

command f : find

command shift f : massive find

command k, command b : toggle file bar

command option NUMBER : split screen

control shift NUMBER : move current file to pane

About

These are some of my favorite keyboard shorcuts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%