Skip to content

Instantly share code, notes, and snippets.

View eebmagic's full-sized avatar

Everett Bolton eebmagic

View GitHub Profile
set tabstop=4 shiftwidth=4 expandtab
syntax on
nnoremap ; :
" Use tab key for indenting visual blocks
vnoremap <Tab> >gv
vnoremap <S-Tab> <gv
" duplicate highlighted selection under itself
with open('homeworks.txt') as file:
content = file.read().strip()
homeworks = [int(x) for x in content.split('\n')]
with open('tests.txt') as file:
content = file.read().strip()
tests = [int(x) for x in content.split('\n')]
# Fill 100s for remaining grades