Changed shortcuts for Umlaute and improved compiling shortcuts

This commit is contained in:
TuDatTr
2020-01-20 01:04:10 +01:00
parent 5c0c9da67a
commit 229e27c84c
10 changed files with 32 additions and 30 deletions

View File

@@ -4,5 +4,6 @@ imap ;main package main<CR><CR>import (<CR>"fmt"<CR>)<CR><CR>func main() {<CR>}<
" Compiling
map <C-c><C-c> <Esc>:!clear; go run %<CR>
map <C-c><C-b> <Esc>:!clear; go build %; ./%<<CR>
map <C-c><C-w> <Esc>:!clear; GOOS=windows GOARCH=386 go build -o %<.exe %
map <C-c><C-b> <Esc>:!clear; go build %; ./%<<CR><CR>
map <C-c><C-t> <Esc>:!clear; go test & detatch<CR><CR>
map <C-c><C-w> <Esc>:!clear; GOOS=windows GOARCH=386 go build -o %<.exe %<CR><CR>

View File

@@ -0,0 +1,10 @@
" setlocal spell spelllang=de_de
" set nospell
" Begin Shortcuts
" Compilation
map <C-c><C-c> <Esc>:!pandoc <C-r>% -o <C-r>%<Del><Del>pdf --from gfm --template $HOME/Templates/Pandoc/eisvogel --listings &>/dev/null & disown <CR><CR>
map <C-c><C-d> <Esc>:!evince <C-r>%<Del><Del>pdf &>/dev/null & disown <CR><CR>

View File

@@ -1,10 +0,0 @@
" setlocal spell spelllang=de_de
" set nospell
" Begin Shortcuts
" Compilation
map <C-c><C-c> <Esc>:!pandoc <C-r>% --pdf-engine=xelatex -o <C-r>%<Del><Del>pdf &>/dev/null & disown <CR>
map <C-c><C-d> <Esc>:!evince <C-r>%<Del><Del>pdf &>/dev/null & disown <CR>

View File

@@ -5,7 +5,7 @@
imap <leader>ifm if<Space>__name__<Space>==<Space>'__main__':<CR>
" Compiling
map <C-c><C-c> <Esc>:!clear; python %<CR>
map <C-c><C-c> <Esc>:!clear; python %<CR><CR>
" Use the below highlight group when displaying bad whitespace is desired.
highlight BadWhitespace ctermbg=red guibg=red

View File

@@ -1,3 +1,3 @@
" Compilation
map <C-c><C-c> <Esc>:!clear&./%<CR>
map <C-c><C-c> <Esc>:!clear&./%<CR><CR>

View File

@@ -24,7 +24,7 @@ vnoremap "" da"`<C-R>""'<Esc>
":command! -complete=file -nargs=1 Rpdf :r !pdftotext -nopgbrk <q-args> -
":command! -complete=file -nargs=1 Rpdf :r !pdftotext -nopgbrk <q-args> - | fmt -csw78
" Compilation
noremap <C-c><C-c> <Esc>:!latexmk -pdf -silent "<C-r>%" &>/dev/null & disown <CR>:redraw!<CR>
noremap <C-c><C-v> <Esc>:!latexmk -c &>/dev/null & disown <CR>
noremap <C-c><C-c> <Esc>:!latexmk -pdf -silent "<C-r>%" &>/dev/null & disown <CR>:redraw!<CR><CR>
noremap <C-c><C-v> <Esc>:!latexmk -c &>/dev/null & disown <CR><CR>
noremap <C-c><C-d> <Esc>:!evince <C-r>%<Del><Del><Del>pdf &>/dev/null & disown <CR><CR>

View File

@@ -16,11 +16,11 @@ nmap 0 ^
nmap ' `
" Diaeresis for e.g. german
inoremap a" ä
inoremap o" ö
inoremap u" ü
inoremap A" Ä
inoremap U" Ü
inoremap O" Ö
inoremap s" ß
inoremap e"
inoremap a<leader> ä
inoremap o<leader> ö
inoremap u<leader> ü
inoremap A<leader> Ä
inoremap U<leader> Ü
inoremap O<leader> Ö
inoremap s<leader> ß
inoremap e<leader>