📓What are the keyboard shortcuts for Craft?

Keyboard Shortcuts

Craft supports a number of markdown style shortcuts to make editing and writing faster for those of you who prefer these. Below is the complete list:

General
Exit Selection: ESC or Mac, ⌘ . on iPad

Navigation
Navigate Forward / In to Block: ⌘ → or ⌘ ]
Navigate Back : ⌘ ← or ⌘ [

Search
Open Search: ⌘ F
Quick Open: ⌘ O or ⌘ ⇧ O

New Document
New Document:⌘ N
Quick New Document (Jump to content): ⌘ ⇧ N

Editing
Edit selected block: Enter or ⇧ + Enter for pages
Exit Editing: Esc
Insert new block below selection: Space
Insert new block above selection: ⇧ Space
Undo: ⌘ Z
Redo: ⌘ ⇧ Z
Delete: Delete

Styling
Increase Size: ⌘ +
Decrease Size: ⌘ –

Decorations
Focus: ⌘ ⇧ |
Block: ⌘ ⇧ ‘

Indentation
Increase Indent: Tab
Decrease Indent: ⇧ Tab

Text Style
Title: ⌃ 1
Subtitle: ⌃ 2
Heading: ⌃ 3
Strong: ⌃ 4
Body: ⌃ 5
Caption: ⌃ 6
Page: ⌘ ⇧ P
Card: ⌘ ⇧ L

Lists, Todo
Make Todo: ⌘ ⇧ 9
Toggle Completion: ⌘ T
Bullet List: ⌘ ⇧ 8
Numbered List: ⌘ ⇧ 7
No List: ⌘ ⇧ 0

Inline Styles
Bold: ⌘ B
Italic: ⌘ I
Code: ⌘ ⇧ C
Strikethrough: ⌘ ⇧ –
Link: ⌘ K
Page/Block Link: ⌘ ⇧ K
Highlight: ⌘ ⇧ B

Organize
Move Selected Blocks Up: ⌘ ↑
Move Selected Blocks Down: ⌘ ↓
Move Selected Blocks To Top: ⌘ ⌥ ↑
Move Selected Blocks To Bottom: ⌘ ⌥ ↓

Grouping
Group Selected Blocks: ⌘ G
Ungroup Selected Block: ⌘ ⇧ G

Cut, Copy Paste:
Cut: ⌘ X
Copy: ⌘ C
Paste: ⌘ V

Windows
Open selected Page/Document in new Window: ⌘ CTRL N
Close Current Tab or Window: ⌘ W
Minimize Window: ⌘ M

Tabs
Switch To Tap: ⌘ 1-9
Switch To Next Tab: ⌘ ⌥ → or ⌘ ⌥ ]
Switch To Previous Tab: ⌘ ⌥ ← or ⌘ ⌥ [

Markdown Style Shortcuts

Craft Supports a number of markdown style shortcuts to make editing and writing faster. Here is a list of the supported commands:

Full Block Commands

# followed by a space to create a title

## followed by a space to create a subtitle

### followed by a space to create a heading

#### followed by a space to create a strong block

x or [] followed by a space to create an uncompleted todo

[x] followed by a space to create an completed todo

– or * followed by a space to create a bullet list

1., 2., 3., 4. etc followed by a space to create a bullet list

> or | followed by a space to create a block quote

“` or ”’ followed by a space to create a code block Inline Commands

Wrap words between * and * or _ and _ for italic

Wrap words between ** and ** or __ and __ for bold

Wrap words between *** and *** or ___ and ___ for bold&italic

Wrap words between ~~ and ~~ for strikethrough

Wrap words between :: and :: or == and == for highlight

Use the notation [link name](url) to insert a link

Wrap words between ` and ` for inline code

Type – – – to insert a horizontal rule

How to Browse The Web In #Privacy Mode

Google Chrome

image

Google Chrome can be forced to run in “Incognito” – private browsing mode when you launch it, by adding a simple command line switch. In Windows, right click on the Chrome shortcut and select properties. In the target area, just add –incognito to the end of the string. For profiles, use:

C:\Users\<username>\AppData\Local\Google\Chrome\Application\chrome.exe -incognito –user-data-dir=”..\User Data\<username>”

Mozilla Firefox

image

Firefox can be made to run in default private browsing mode, by adding the command line switch –private to the end of the target.

Internet Explorer

image

As with Firefox, add the command line switch -private to launch Internet Explorer in InPrivate mode.

Opera

image

Since Opera has per-tab private browsing (unlike the others), adding the        -newprivatetab switch will load both a blank, private tab and whatever your startup preference is set to (last tabs, speed dial, etc.) in standard browsing mode.

🔍 Learn Google’s search operators

Google is a very powerful search engine, however many of us only perform very basic searches. In the post, I discuss my favorite advanced searches that can be performed. This list was compiled from various sources on the web including various Google ‘cheat sheets’.

The Cache Command

image

Google takes a snapshot of each page it searches and caches (stores) that page as a backup. The cached version is what Google uses to judge if a web page is a good match for your search query. The cache command shows the cached snapshot of any page on the web. For example Cache of http://www.thewebpitch.com. Google typically caches the first 101K of a page and not the images. It’s a great way to discover how a web page looked before it was updated.

The Filetype Command

image 

Google indexes more than just web pages, the filetype command is a great one to use if you need to identify a particular file type as part of your search. For example, here’s a search for PDFs that contain the word iPad.  The command works equally well for PPTX, DOCX etc.

The Site Command

image

The site command restricts a Google keyword search to a single site. For example, if I wanted to see all references to ‘Microsoft’ in my blog, I would type:  site:www.thewebpitch.com Microsoft

This is a very handy command, especially if you looking for certain keyword on a website that has no search capability. The site command can either include or remove the ‘www’ in a web domain, removing the www will show all the sub domains from the domain which Google has found.

The Link Command

image

Google’s link command lists pages which “link back” to the specified website. These links are also known as “inbound Links” or “IBLs”. For example, here’s a link search for www.thewebpitch.com

In general terms, a site with more link backs is more of an authority than a site with fewer link backs. However, not all link backs are of equal ranking!

The Related Command

image

The related command allows you to find pages which discuss a similar topic to a website that you have already found. For example, here’s a  related:www.thewebpitch.com search.

The Info Command

image

This command shows some limited information about a particular page that Google has in its index. Typically, the command shows the page snippet and title as well as links to the cache or related pages. For example, here’s an info search for www.thewebpitch.com

The Define Command

image

The define command displays Google’s glossary of definitions for a particular searched term, for example: define: Semantic Web results in definitions for ‘semantic web’ in a bullet point format with a link to the authoritative URL.

The Allintitle Command
 image

This command restricts a Google search so that all the listed keywords must appear in a page’s title tag. For example: allintitle: apple iPad shows a good example of this.

The NCR Command

This command is particularly useful if you are abroad, and Google redirects your search page to the local country you are in. If you type /ncr after google address, no redirection is made.  For example:

http://www.google.com/ncr = google.com
http://www.google.co.uk/ncr = google.co.uk

This should equally work for other countries.

Other useful search commands include:

The Allinurl Command
Restrict a search so that all of the keywords must appear in the page results. For example, here is a simple search for pages with 720p and video in their URLs.

The Allintext Command
Restrict a search so that all of the keywords must appear in the body text  For example here is a simple search for pages with 720p and video in their body text.