Changed shortcuts for Umlaute and improved compiling shortcuts
This commit is contained in:
@@ -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>
|
||||
|
||||
10
vim/.vim/ftplugin/markdown.vim
Normal file
10
vim/.vim/ftplugin/markdown.vim
Normal 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>
|
||||
@@ -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>
|
||||
@@ -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
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
" Compilation
|
||||
map <C-c><C-c> <Esc>:!clear&./%<CR>
|
||||
map <C-c><C-c> <Esc>:!clear&./%<CR><CR>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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> €
|
||||
|
||||
Reference in New Issue
Block a user