Skip to content

Instantly share code, notes, and snippets.

View pauldan's full-sized avatar

Paul Dan pauldan

View GitHub Profile
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": [
"comment",
"comment.block",
"comment.block.documentation",
"comment.line",
"constant",
"constant.character",
f, err := os.OpenFile("tmp/info.log", os.O_RDWR|os.O_CREATE, 0666)
if err != nil {
log.Fatal(err)
}
defer f.Close()
infoLog := log.New(f, "INFO ", log.Ldate|log.Ltime)
set ts=2
set sts=2
set number
set et
" move to beginning/end of line
nnoremap B ^
nnoremap E $
" $/^ doesn't do anything
nnoremap $ <nop>