^W + ^=
Make split windows equal size.@:
Repeat the last Ex command.gv
Select last visual select.=
Auto-indent.=G
Auto-indent to the end of the file.=i}
Auto-indent inside de bracket.s
Deletes the character and enters Insert mode.f
Searches for character in line.;
searches for next instance,,
searches for previous instance.*
Searches for all occurrences of word that's under the cursor.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- This works: --> | |
<div class="cardset"> | |
<div class="card"></div> | |
<div class="card"></div> | |
</div> | |
<style> | |
.card { | |
lost-column: 1/2; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Options +FollowSymLinks | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteCond %{HTTPS} !on | |
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} | |
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "roots/bedrock", | |
"type": "project", | |
"license": "MIT", | |
"description": "A modern WordPress stack", | |
"homepage": "http://roots.io/wordpress-stack/", | |
"authors": [ | |
{ | |
"name": "Scott Walkinshaw", | |
"email": "[email protected]", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.tmuxinator/pp.yml | |
name: pp | |
root: ~/Sites/paprikapatterns/web/app/themes/paprikapatterns/ | |
windows: | |
- theme: | |
layout: 15b0,204x46,0,0[204x40,0,0,0,204x5,0,41{102x5,0,41,3,50x5,103,41,4,50x5,154,41,6}] | |
panes: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# TODO: | |
# - Maximize and restore a pane with Up-arrow and Down-arrow | |
# - Fix probleem met lijnregels als je kopieert uit Vim | |
# Set new leader | |
unbind C-b | |
set -g prefix C-a | |
# Set index of window and pane | |
set -g base-index 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Breakpoints | |
%breakpoint-half { | |
@media only screen and ($media-type: $media-tablet-portrait) { @include grid(24, .5); } | |
} | |
%breakpoint-one-third { | |
@media only screen and ($media-type: $media-tablet-portrait) { @include grid(16, .5); } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require("gulp"); | |
var gulpLoadPlugins = require("gulp-load-plugins"); | |
var plugins = gulpLoadPlugins(); | |
var browserSync = require("browser-sync"); | |
// Set paths for tasks | |
var paths = { | |
scss: ['_/scss/*.scss', '_/scss/**/*.scss'], | |
js: ['_/js-src/*.js'], | |
svg: ['_/img-src/icons/*'], |
As configured in my dotfiles.
start new:
tmux
start new with session name:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* TODO: | |
* Banner | |
* Grunt icon | |
*/ | |
var gulp = require('gulp'), | |
rename = require('gulp-rename'), | |
clean = require('gulp-clean'), | |
sass = require('gulp-ruby-sass'), |