Tested in Mac OS X: super == command
Open/Goto
- super+t: go to file
- super+ctrl+p: go to project
- super+r: go to methods
<?php | |
// Run this code on 'after_theme_setup', when plugins have already been loaded. | |
add_action('after_setup_theme', 'my_load_plugin'); | |
// This function loads the plugin. | |
function my_load_plugin() { | |
// Check to see if your plugin has already been loaded. This can be done in several | |
// ways - here are a few examples: |
<?php | |
//Enable sessions i wordpress | |
if ( !session_id() ) | |
add_action( 'init', 'session_start' ); | |
?> |
<!--[if IE]> | |
According to the conditional comment this is IE<br /> | |
<![endif]--> | |
<!--[if IE 6]> | |
According to the conditional comment this is IE 6<br /> | |
<![endif]--> | |
<!--[if IE 7]> | |
According to the conditional comment this is IE 7<br /> |
<?php get_header(); ?> |
<!-- wordpress head functions --> | |
<?php wp_head(); ?> | |
<!-- end of wordpress head --> |
.ir { | |
border: 0; | |
font: 0/0 a; | |
text-shadow: none; | |
color: transparent; | |
background-color: transparent; | |
} |
h1. Sublime Text 2 - Useful Shortcuts (PC) | |
Loosely ordered with the commands I use most towards the top. Sublime also offer "full documentation":http://www.sublimetext.com/docs/2/. | |
h2. Editing | |
| *Ctrl+C* | copy current line (if no selection) | | |
| *Ctrl+X* | cut current line (if no selection) | | |
| *Ctrl+⇧+K*| delete line | | |
| *Ctrl+↩* | insert line after | |