Skip to content

Instantly share code, notes, and snippets.

Antoine Lehurt kewah

Block or report user

Report or block kewah

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
kewah / vimUserSettings.js
Last active Jul 17, 2019
Personal User Settings for Vim plugin
View vimUserSettings.js
"vim.surround": true,
"vim.sneak": true,
"vim.easymotion": true,
"vim.easymotionMarkerFontFamily": "Inconsolata",
"vim.easymotionMarkerHeight": 15,
"vim.easymotionMarkerFontSize": "14",
"vim.easymotionMarkerYOffset": 1,
"vim.useSystemClipboard": true,
"vim.leader": "space",
kewah / lethargy.js
Last active Aug 29, 2015
Module that kills inertia on scroll and returns direction
View lethargy.js
// From and lightly modified
module.exports = function(stability, sensitivity, tolerance) {
return new Lethargy(stability, sensitivity, tolerance);
function Lethargy(stability, sensitivity, tolerance) {
// Defaults
View .vimrc
set nocompatible
" change the mapleader from / to ,
let mapleader=","
execute pathogen#infect()
execute pathogen#helptags()
filetype plugin indent on " enable detection, plugins and indenting in one step
syntax on
kewah / css-animation.js
Created Jan 9, 2013
JavaScript snippet to get CSS Animation event types (animationstart, animationend, animationiteration).
View css-animation.js
var CSSAnimation = (function(window, document, undefined) {
'use strict';
function camelCaseEventTypes(prefix) {
prefix = prefix || '';
return {
start: prefix + 'AnimationStart',
end: prefix + 'AnimationEnd',
iteration: prefix + 'AnimationIteration'
kewah /
Last active Dec 11, 2017
Sublime Text 2 - Shortcuts


  • alt+shift+w: Wrapping content with tag
  • super+shift+a: Select content into tag


  • super+f2: Toggle bookmark
  • f2: Next bookmark
  • shift+f2: Previous bookmark
View _media-queries.scss
// Media Queries in Sass 3.2
// These mixins make media queries a breeze with Sass.
// The media queries from mobile up until desktop all
// trigger at different points along the way
// And important point to remember is that and width
// over the portrait width is considered to be part of the
// landscape width. This allows us to capture widths of devices
// that might not fit the dimensions exactly. This means the break
You can’t perform that action at this time.