new conky, rust routine, no polybar
This commit is contained in:
11
vim/.vim/ftplugin/go.vim
Normal file
11
vim/.vim/ftplugin/go.vim
Normal file
@@ -0,0 +1,11 @@
|
||||
" 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 %
|
||||
@@ -4,6 +4,5 @@ setlocal spell spelllang=de_de
|
||||
" Begin Shortcuts
|
||||
|
||||
" Compilation
|
||||
map <C-c><C-c> <Esc>:RunBackgroundCommand pandoc <C-r>% --pdf-engine=xelatex -o <C-r>%<Del><Del>pdf<Enter>:redraw!
|
||||
map <C-c><C-d> <Esc>:silent exec "!evince <C-r>%<Del><Del>pdf &"<Enter>
|
||||
|
||||
map <C-c><C-c> <Esc>:RunBackgroundCommand pandoc <C-r>% --pdf-engine=xelatex -o <C-r>%<Del><Del>pdf<Enter>
|
||||
map <C-c><C-d> <Esc>:silent exec "!evince <C-r>%<Del><Del>pdf &>/dev/null &"<Enter>
|
||||
|
||||
Reference in New Issue
Block a user