Skip to content

Instantly share code, notes, and snippets.

# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
$script = <<SCRIPT
sudo apt-get update
sudo apt-get -y install vim-gtk git-core
git clone https://github.com/nicwest/QQ.vim.git .vim
SCRIPT
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
$script = <<SCRIPT
sudo apt-get update
sudo apt-get -y install vim-gtk git-core
git clone https://github.com/nicwest/QQ.vim.git .vim
SCRIPT
" vim: set ft=vim ts=2 sw=2 tw=78 et :
" vim:fdm=marker
set nocompatible
filetype plugin indent on
" Config: {{{1
let g:nicwest_remote = 1
let g:nicwest_os = 'linux'
" vim: set ft=vim ts=2 sw=2 tw=78 et :
" vim:fdm=marker
set nocompatible
filetype plugin indent on
" Config: {{{1
let g:nicwest_remote = 1
let g:nicwest_os = 'linux'
" vim: set ft=vim ts=2 sw=2 tw=78 et :
" vim:fdm=marker
set nocompatible
filetype plugin indent on
" Config: {{{1
let g:nicwest_remote = 1
let g:nicwest_os = 'linux'
import jedi
import fnmatch
import os
import json
DIRNAME = 'django-1.7.4/django'
def get_filepaths():
filepaths = []
@nicwest
nicwest / indj
Last active August 29, 2015 14:15
#!/bin/python
import json
import sys
import difflib
import os
import argparse
BASEDIR = os.path.dirname(os.path.realpath(__file__))
if __name__ == "__main__":
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.synced_folder ".", "/django-things"
config.vm.provider "virtualbox" do |v|
v.memory = 1024
end
@nicwest
nicwest / workman.vim
Last active August 29, 2015 14:16 — forked from MattWoelk/workman.vim
"A blatant workman ripoff of bmx 007's beautiful colemak version called 'colqer' http://www.vim.org/scripts/script.php?script_id=2865 It makes vim so that you can insert and Ex mode in the workman keyboard layout, but can do the rest in qwerty.
"usage: put it in ~/.vim/plugin/ as workman.vim
"press \; in normal mode to activate/deactivate it.
"Keyboard is qwerty
" we want workman in insert mode
function IMapColemak()
if s:imap_colemak == 0
noremap! q q
noremap! w d
import argparse
def get_args():
parser = argparse.ArgumentParser(
description='command line lookup for django objects')
parser.add_argument('query')
parser.add_argument('-e, --exact')
parser.add_argument('-v, --version')
parser.add_argument('-i, --index-only')