Skip to content

Instantly share code, notes, and snippets.

Avatar
💰
Alwayz Into Somethin'

Romain Lafourcade romainl

💰
Alwayz Into Somethin'
  • Razorfish France
  • Paris, France
View GitHub Profile
View gist:f8f36634f267222bbbfa
Large Object Motions:
(
)
{
}
[[
[]
][
]]
[m
View gist:2e1f7936f8179b38f84b

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
View 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++) {
View apprentice_color_wall
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
My Slate config
View .slate
# ~/.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 Aug 30, 2015
font-awesome dictionary
View fontawesome.txt
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 Sep 17, 2015
Shut up, FileMerge.
View .gitconfig
[diff]
tool = opendiff
[difftool]
cmd = /path/to/git_diff_wrapper
[merge]
tool = opendiff
[mergetool]
cmd = /path/to/git_diff_wrapper
View .editorconfig
# 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 Jan 18, 2016
Painless jQuery in a CommonJS context
View jq.js
module.exports = function() {
// install jQuery in the global scope
global.jQuery = global.$ = require("jquery");
}();
View editorconfig-wip.vim
" 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