Off to a new start
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
" Shortcuts
|
||||
imap ;main package main<Enter><Enter>import (<Enter>"fmt"<Enter>)<Enter><Enter>func main() {<Enter>}<Esc>O
|
||||
imap { {<Enter>}<Esc>kA
|
||||
imap ( ()<Esc>i
|
||||
imap () ()
|
||||
|
||||
|
||||
" Compiling
|
||||
map <C-c><C-c> <Esc>:!clear; go run %<Enter>
|
||||
map <C-c><C-b> <Esc>:!clear; go build %; ./%<<Enter>
|
||||
map <C-c><C-w> <Esc>:!clear; GOOS=windows GOARCH=386 go build -o %<.exe %
|
||||
Reference in New Issue
Block a user