Skip to content

Instantly share code, notes, and snippets.

View romainl's full-sized avatar
💰
Alwayz Into Somethin'

Romain Lafourcade romainl

💰
Alwayz Into Somethin'
  • Razorfish France
  • Paris, France
View GitHub Profile
Large Object Motions:
(
)
{
}
[[
[]
][
]]
[m
@romainl
romainl / gist:2e1f7936f8179b38f84b
Last active August 29, 2015 14:10 — forked from dahu/gist:f3f8dd2b93db253c1c1d
Possible Title Ideas

Possible Title Ideas

  • The Patient Vimmer
  • Vim from the Bottom Up
  • The Competent Vimmer
  • Versed in Vim
  • Cultivating Vimmers
  • Grooming Vimmers
  • The Vim of Editing
  • Vim is Beautiful -- Editing as if People Mattered
@romainl
romainl / 256color.pl
Last active August 29, 2015 14:14 — forked from hSATAC/256color.pl
#!/usr/bin/perl
# Author: Todd Larason <jtl@molehill.org>
# $XFree86: xc/programs/xterm/vttests/256colors2.pl,v 1.2 2002/03/26 01:46:43 dickey Exp $
# use the resources for colors 0-15 - usually more-or-less a
# reproduction of the standard ANSI colors, but possibly more
# pleasing shades
# colors 16-231 are a 6x6x6 color cube
for ($red = 0; $red < 6; $red++) {
TabLineFill _TabLineFill ModeMsg _ModeMsg
TabLine _TabLine DiffAdd _DiffAdd
LineNr _LineNr Search _Search
Ignore _Ignore PmenuSel _PmenuSel
CursorColumn _CursorColumn PmenuThumb _PmenuThumb
CursorLine _CursorLine CursorLineNr _CursorLineNr
SignColumn _SignColumn TabLineSel _TabLineSel
Pmenu _Pmenu Visual _Visual
FoldColumn _FoldColumn WildMenu _WildMenu
Folded _Folded DiffText _DiffText
@romainl
romainl / .slate
Created May 6, 2015 15:52
My Slate config
# ~/.slate
# Aliases
alias top-left screenOriginX+screenSizeX/8;screenOriginY+screenSizeY/8
alias width-height (screenSizeX/8)*6;(screenSizeY/8)*6
# Config
config defaultToCurrentScreen true
config resizePercentOf screenSize
@romainl
romainl / fontawesome.txt
Created August 30, 2015 08:33
font-awesome dictionary
fa
fa-2x
fa-3x
fa-4x
fa-500px
fa-5x
fa-adjust
fa-adn
fa-align-center
fa-align-justify
@romainl
romainl / .gitconfig
Last active September 17, 2015 08:59
Shut up, FileMerge.
[diff]
tool = opendiff
[difftool]
cmd = /path/to/git_diff_wrapper
[merge]
tool = opendiff
[mergetool]
cmd = /path/to/git_diff_wrapper
# top-most EditorConfig file
root = true
[*.lf]
end_of_line=lf
tab_width=5
[*.crlf]
end_of_line=crlf
@romainl
romainl / jq.js
Last active January 18, 2016 20:31
Painless jQuery in a CommonJS context
module.exports = function() {
// install jQuery in the global scope
global.jQuery = global.$ = require("jquery");
}();
" if there's an .editorconfig file, use it
" * parse it
" * create a list of dicts, one for each pattern
" * build autocommands for each dict
" * install autocommands
" if not, do like YAIFA
function! Indentist()
let config_file_path = findfile(".editorconfig", ".;")
if len(config_file_path) == 0