Skip to content

Instantly share code, notes, and snippets.

@jrmce
jrmce / keybase.md
Last active December 13, 2018 14:10

Keybase proof

I hereby claim:

  • I am jrmce on github.
  • I am jrmce (https://keybase.io/jrmce) on keybase.
  • I have a public key whose fingerprint is BBDC F8FE 0EE4 6597 D42A B0F1 B7AB D6E7 7145 A8F5

To claim this, I am signing this object:

# act like vim
setw -g mode-keys vi
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind-key -r C-h select-window -t :-
bind-key -r C-l select-window -t :+
# act like GNU screen
@jrmce
jrmce / .vimrc
Created February 19, 2018 00:45
call plug#begin('~/.vim/plugged')
Plug 'ctrlpvim/ctrlp.vim'
Plug 'w0rp/ale'
Plug 'HerringtonDarkholme/yats.vim'
Plug 'Chiel92/vim-autoformat'
Plug 'ervandew/supertab'
call plug#end()
set nocompatible
filetype plugin indent on
@jrmce
jrmce / gist:9bc072708048e19b92a7
Created August 7, 2014 12:05
Create multiple directories
# Create directories 1a - 70a
mkdir {1..70}a
@jrmce
jrmce / gist:d6a19d391616699dcc73
Created August 7, 2014 12:00
Copy directory contents to multiple directories
#Copy the contents of directory 44d to directories 1a - 70a
echo {1..70}a | xargs -n 1 cp 44d/*