start new:
tmux
start new with session name:
tmux new -s myname
| package main | |
| import ( | |
| "context" | |
| "flag" | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "os" | |
| "os/signal" |
| set noswapfile " removes annoying .swp files when opening the same file multiple times | |
| set number " line numbers | |
| syntax on " try to autoread syntax (based on filename) | |
| " relative line numbers below > VIM 7.4 | |
| " set relativenumber | |
| " Tab stuff, I perfer to use two spaces instead of hard tabs | |
| set tabstop=2 " this is when you open a file with hard tabs in it, <TAB> | |
| set softtabstop=2 " these are tabs when editing, so pressing TAB in insert mode |