Changed shortcuts for Umlaute and improved compiling shortcuts
parent
5c0c9da67a
commit
229e27c84c
|
@ -5,8 +5,8 @@ m:/run/media/tuan
|
|||
a:/home/tuan/Documents/Arbeit
|
||||
l:/home/tuan/Local
|
||||
c:/home/tuan/Documents/CTF/picoCTF
|
||||
':/home/tuan/.vim/ftplugin
|
||||
t:/home/tuan/Templates
|
||||
w:/home/tuan/workspace_l/Projects
|
||||
k:/home/tuan/Documents/Fachschaft/Berufungskomission
|
||||
q:/home/tuan/.nextcloud/Quick Drop
|
||||
':/home/tuan/.go/src/github.com/tudattr/favorites_api/requirements
|
||||
|
|
|
@ -10,6 +10,12 @@ Host helios
|
|||
User infra
|
||||
IdentityFile /mnt/veracrypt1/fse
|
||||
|
||||
Host root
|
||||
HostName 132.252.238.06
|
||||
Port 2222
|
||||
User root
|
||||
IdentityFile /mnt/veracrypt1/fse
|
||||
|
||||
Host www
|
||||
HostName 132.252.238.16
|
||||
Port 22
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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> €
|
||||
|
|
|
@ -1,12 +1,10 @@
|
|||
# Paths
|
||||
export ZSH="/home/tuan/.oh-my-zsh"
|
||||
export PATH="$PATH:$HOME/go/bin:$HOME/.local/bin:$HOME/.cargo/bin:$HOME/.dotnet/tools"
|
||||
export LEDGER_FILE="/home/tuan/Documents/Finanzen/Ledger/MyBudget.ledger"
|
||||
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
||||
export DOTNET_ROOT=/opt/dotnet
|
||||
|
||||
# Alias
|
||||
alias gowinbuild='GOOS=windows GOARCH=amd64 go build'
|
||||
alias q="exit"
|
||||
alias ranger='ranger --choosedir=$HOME/.rangerdir; LASTDIR=`cat $HOME/.rangerdir`; cd "$LASTDIR"'
|
||||
alias xsel='xsel -ib'
|
||||
|
@ -23,8 +21,5 @@ plugins=(
|
|||
# History
|
||||
HISTORY_IGNORE='sudo veracrypt *|veracrypt *'
|
||||
|
||||
transfer(){ if [ $# -eq 0 ];then echo "No arguments specified.\nUsage:\n transfer <file|directory>\n ... | transfer <file_name>">&2;return 1;fi;if tty -s;then file="$1";file_name=$(basename "$file");if [ ! -e "$file" ];then echo "$file: No such file or directory">&2;return 1;fi;if [ -d "$file" ];then file_name="$file_name.zip" ,;(cd "$file"&&zip -r -q - .)|curl --progress-bar --upload-file "-" "https://share.mos4.de/$file_name"|tee /dev/null,;else cat "$file"|curl --progress-bar --upload-file "-" "https://share.mos4.de/$file_name"|tee /dev/null;fi;else file_name=$1;curl --progress-bar --upload-file "-" "https://share.mos4.de/$file_name"|tee /dev/null;fi;}
|
||||
|
||||
# Source
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
|
|
Loading…
Reference in New Issue