Skip to content

Instantly share code, notes, and snippets.

@lesguillemets
Last active December 11, 2016 15:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lesguillemets/e4d706d800b43818556d3dd005ba17aa to your computer and use it in GitHub Desktop.
Save lesguillemets/e4d706d800b43818556d3dd005ba17aa to your computer and use it in GitHub Desktop.
"romainl/Apprentice"
"jacoborus/tender.vim"
"reedes/vim-colors-pencil"
"freeo/vim-kalisi"
"AlessandroYorba/Alduin"
"Haron-Prime/Antares"
"jeetsukumaran/vim-nefertiti"
"KKPMW/moonshine-vim"
#!/usr/bin/env python3
from __future__ import braces
import math as m
class Foo(object):
""" docstring """
def __init__(self):
self.num = 3*14 + 1.592
self.string = "a\tstring"
self.bool = True and False
self.f = lambda x: x*3
@decorator
def foo(self, n):
for i in range(n):
if (world[i] is None):
try:
self.populate(world, i)
except Exception as e:
pass # TODO
syntax on
filetype plugin on
filetype indent on
set smartindent smarttab
set tabstop=4 softtabstop=4 shiftwidth=4
set expandtab ruler title number
set showcmd showmode showtabline=1 laststatus=2
set cursorline
set nocursorcolumn
set conceallevel=1
set matchpairs=(:),{:},[:]
set t_Co=256
set termguicolors
set fillchars=vert:║,fold:-
set statusline=[%n]\ %f\ %m\ %y\ %<[%{fnamemodify(getcwd(),':~')}]\ %=[%{&ff}]\ L[%2.l/%2.L]\ C[%2.c]%5P
" $ vim -u vimrc.vim -N sample_colors.py vimrc.vim -p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment