Mappings
Panes
M-\
-- Horizontal split
M-|
-- Vertical split
M-=
-- Even out splits horizontally
M-+
-- Even out splits vertically
C-h
-- Move to left split
C-j
-- Move to lower split
C-k
-- Move to upper split
M-\
-- Horizontal split
M-|
-- Vertical split
M-=
-- Even out splits horizontally
M-+
-- Even out splits vertically
C-h
-- Move to left split
C-j
-- Move to lower split
C-k
-- Move to upper split
<?xml version="1.0"?> | |
<root> | |
<vkopenurldef> | |
<name>KeyCode::VK_OPEN_URL_SHELL_mpc_playpause</name> | |
<url type="shell"> | |
<![CDATA[ | |
MPC=/usr/local/bin/mpc | |
if $MPC status | grep -q 'playing' | |
then |
describe 'shared/some_partial.html.erb' do | |
before(:all) { layout = self.class.metadata[:description] } | |
# ... | |
end |
# Suspend | |
vsall() { | |
vagrant global-status --prune | grep running | awk '{system("vagrant suspend "$1)}' | |
} | |
# Halt | |
vhall() { | |
vagrant global-status --prune | grep running | awk '{system("vagrant halt "$1)}' | |
} |
defaults write com.apple.dock tilesize -int <SizeInPixels> && killall Dock |
defaults write com.apple.dock persistent-apps -array-add '{ "tile-type" = "spacer-tile"; }' && killall Dock |
<snippet> | |
<content><![CDATA[ | |
register_post_type('${1:slug}', array( | |
${2:'labels' => array( | |
${3:'name' => _x( '${4:Plural Name}', '${5:translation context}', '${6:translation domain}' ),} | |
${8:'singular_name' => _x( '${9:Singular Name}', '${10:translation context}', '${6:translation domain}' ),} | |
${11:'add_new' => _x( '${12:Add new}', '$9', '${6:translation domain}' ),} | |
${13:'add_new_item' => __( '$12 $9', '${6:translation domain}' ),} | |
${14:'edit_item' => __( 'Edit ${15:$9}', '${6:translation domain}' ),} | |
${16:'new_item' => __( 'New ${17:$9}', '${6:translation domain}' ),} |
<?php | |
abstract class ValidatingModel extends \Eloquent | |
{ | |
public $errors; | |
public static function boot() | |
{ | |
parent::boot(); |
- .Spotlight-*/ | |
- .Trashes | |
- .DocumentRevisions-*/ | |
- /.dbfseventsd | |
- .fseventsd/ | |
- /tmp/* | |
- /Network/* | |
- /cores/* | |
- /afs/* | |
- /automount/* |