I hereby claim:
- I am tpope on github.
- I am tpope (https://keybase.io/tpope) on keybase.
- I have a public key whose fingerprint is 8818 04A5 DA54 1152 FA12 C105 E09E 474A 404A 3A45
To claim this, I am signing this object:
set keymap vi-insert | |
Control-a: beginning-of-line | |
Control-b: backward-char | |
Control-d: delete-char | |
Control-e: end-of-line | |
Control-f: forward-char | |
Control-k: kill-line | |
Control-n: next-history | |
Control-p: previous-history | |
set keymap emacs-ctlx |
#compdef gem gem1.9 | |
gem_general_flags=("(-h --help)"{-h,--help}"[Get help on this command]" | |
"(-V --verbose)"{-V,--verbose}"[Set the verbose level of output]" | |
"(-q --quiet)"{-q,--quiet}"[Silence commands]" | |
"--config-file[Use this config file instead of default]:file:_files" | |
"--backtrace[Show stack backtrace on errors]" | |
"--debug[Turn on Ruby debugging]" | |
$nul_arg | |
) |
ActiveRecord::Base.connection.select_all(scope.arel).tap do |result| | |
result.map do |attrs| | |
attrs.each do |k, v| | |
attrs[k] = result.column_types[k].type_cast(v) | |
end | |
end | |
end |
if !exists('s:path') | |
if type(get(g:, 'lua_path')) == type([]) | |
let s:path = g:lua_path | |
else | |
let s:path = split(system('lua -e "print(package.path)"')[0:-2], ';') | |
if v:shell_error | |
let path = [] | |
endif | |
endif | |
endif |
" Place in ~/.vim/after/plugin/speeddating.vim | |
" In Vim, -4 % 3 == -1. Let's return 2 instead. | |
function! s:mod(a,b) | |
if (a:a < 0 && a:b > 0 || a:a > 0 && a:b < 0) && a:a % a:b != 0 | |
return (a:a % a:b) + a:b | |
else | |
return a:a % a:b | |
endif | |
endfunction |
/* vim: set ft=c sw=4 et: */ | |
{ | |
"^u" = "deleteToBeginningOfParagraph:"; | |
"^v" = "pageDown:"; | |
"^w" = "deleteWordBackward:"; | |
"~/" = "complete:"; | |
"~<" = "moveToBeginningOfDocument:"; | |
"~>" = "moveToEndOfDocument:"; | |
"~b" = "moveWordBackward:"; | |
"~d" = "deleteWordForward:"; |
#!/usr/bin/env ruby | |
# Install in PATH as foremux | |
if %w(help --help -h).include?(ARGV.first) | |
$stderr.puts <<-help | |
Usage: | |
foremux [PROCESS] | |
Options: | |
-e, [--env=ENV] # Specify an env file to load, defaults to .env |
I hereby claim:
To claim this, I am signing this object:
[extensions] | |
color = |