Skip to content

Instantly share code, notes, and snippets.

View matason's full-sized avatar

Chris Maiden matason

View GitHub Profile
{
"type": "package",
"package": {
"name": "imag/ldap-bundle",
"version": "dev-master",
"source": {
"url": "https://github.com/matason/LdapBundle",
"type": "git",
"reference": "origin/master"
}
jQuery(document).ready(function($) {
var parametersToPersist = ['region', 'community', 'content_types', 'page'];
var currentParams = getUrlVars(window.location.href);
var queryString = buildQuery(currentParams);
console.log(decodeURIComponent(queryString));
jQuery("a").not("a.ext").each(function(){
var href = jQuery(this).attr('href');
$thing_path = libraries_get_path('thing');
require_once($thing_path . '/thing.php');
$thing = new thing();
exit();
:help
vimtutor
http://vimcasts.org/ - simply brilliant Vim screencasts.
http://pragprog.com/book/dnvim/practical-vim - buy it!
http://vimeo.com/vimlondon - videos from Vim London sessions.
http://vim-adventures.com/ - learn Vim while playing a game, unlock levels, pay for.
http://vimgolf.com/ - Pick a challenge, fire up Vim, and show us what you got.
https://github.com/carlhuda/janus/ - the Janus Vim distribution provides a minimal working environment using the most popular plug-ins and the most common mappings.
https://drupal.org/project/vimrc - customizes the vim text editor for editing Drupal-related files.
https://drupal.org/node/29325 - Configuring Vim
@matason
matason / vimbingo
Last active December 29, 2015 02:19
Vim Bingo at DrupalCampNW13, add your name on a new line and attend my talk on Sunday to be in with a chance of winning the book Practical Vim, signed by the author Drew Neil!
czettnersandor
janetrimmer
Eli-TW
@matason
matason / .vimrc
Created September 27, 2013 10:23
noremap <Up> <NOP>
inoremap <Up> <NOP>
vnoremap <Up> <NOP>
noremap <Down> <NOP>
inoremap <Down> <NOP>
vnoremap <Down> <NOP>
noremap <Left> <NOP>
inoremap <Left> <NOP>
vnoremap <Left> <NOP>
noremap <Right> <NOP>