Vim Configs and some i3 tweaks
parent
64f483c954
commit
a3c7525dd9
|
@ -120,9 +120,8 @@ for_window [instance="^sun-awt-X11-XDialogPeer$" title="^Complete Installation$"
|
||||||
############################ Startup Applications #############################
|
############################ Startup Applications #############################
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
exec --no-startup-id setxkbmap us,de
|
exec --no-startup-id setxkbmap us,de; setxkbmap -option ctrl:swapcaps
|
||||||
exec --no-startup-id setxkbmap -option ctrl:swapcaps
|
exec --no-startup-id feh --bg-scale ~/Pictures/Iroh-at-Tree.png; compton -b
|
||||||
exec --no-startup-id nitrogen --restore; compton -b
|
|
||||||
exec --no-startup-id nextcloud
|
exec --no-startup-id nextcloud
|
||||||
exec --no-startup-id emacs --daemon
|
exec --no-startup-id emacs --daemon
|
||||||
exec --no-startup-id udiskie
|
exec --no-startup-id udiskie
|
||||||
|
|
|
@ -5,5 +5,6 @@ map f console scout -ftsea%space
|
||||||
map gg console mkdir%space
|
map gg console mkdir%space
|
||||||
map np shell cp -r ~/Templates/LaTeX/Protokoll $(date +%g.%m.%%d)
|
map np shell cp -r ~/Templates/LaTeX/Protokoll $(date +%g.%m.%%d)
|
||||||
map ny shell cp %f ../Protokoll_$(echo $(basename $(pwd)) | awk '{gsub("\\.","-");print}' $2).pdf
|
map ny shell cp %f ../Protokoll_$(echo $(basename $(pwd)) | awk '{gsub("\\.","-");print}' $2).pdf
|
||||||
map nr shell cp ~/Templates/LaTeX/Invoice/invoice.tex Gefeba_Engineering_-_Rechnung_$(date +%g.%m)_-Elektro.tex
|
map nrk shell cp ~/Templates/LaTeX/Invoice/elektro_invoice.tex Gefeba_Engineering_-_Rechnung_$(date +%g.%m)_-Elektro.tex
|
||||||
|
map nrn shell cp ~/Templates/LaTeX/Invoice/engineering_invoice.tex Gefeba_Engineering_-_Rechnung_$(date +%g-%m)_-Engineering.tex
|
||||||
|
|
||||||
|
|
|
@ -77,4 +77,3 @@ color14 = #a1efe4
|
||||||
# white
|
# white
|
||||||
color7 = #f8f8f2
|
color7 = #f8f8f2
|
||||||
color15 = #f9f8f5
|
color15 = #f9f8f5
|
||||||
|
|
||||||
|
|
|
@ -1,93 +0,0 @@
|
||||||
[options]
|
|
||||||
allow_bold = true
|
|
||||||
audible_bell = false
|
|
||||||
clickable_url = true
|
|
||||||
#dynamic_title = false
|
|
||||||
font = Droid Sans Mono for Powerline
|
|
||||||
#fullscreen = true
|
|
||||||
#geometry = 640x480
|
|
||||||
#icon_name = terminal
|
|
||||||
mouse_autohide = true
|
|
||||||
#scroll_on_output = false
|
|
||||||
#scroll_on_keystroke = true
|
|
||||||
# Length of the scrollback buffer, 0 disabled the scrollback buffer
|
|
||||||
# and setting it to a negative value means "infinite scrollback"
|
|
||||||
scrollback_lines = -1
|
|
||||||
search_wrap = true
|
|
||||||
#urgent_on_bell = true
|
|
||||||
hyperlinks = true
|
|
||||||
|
|
||||||
# $BROWSER is used by default if set, with xdg-open as a fallback
|
|
||||||
#browser = xdg-open
|
|
||||||
|
|
||||||
# "system", "on" or "off"
|
|
||||||
cursor_blink = system
|
|
||||||
|
|
||||||
# "block", "underline" or "ibeam"
|
|
||||||
cursor_shape = ibeam
|
|
||||||
|
|
||||||
# Hide links that are no longer valid in url select overlay mode
|
|
||||||
#filter_unmatched_urls = true
|
|
||||||
|
|
||||||
# Emit escape sequences for extra modified keys
|
|
||||||
#modify_other_keys = false
|
|
||||||
|
|
||||||
# set size hints for the window
|
|
||||||
#size_hints = false
|
|
||||||
|
|
||||||
# "off", "left" or "right"
|
|
||||||
scrollbar = off
|
|
||||||
|
|
||||||
|
|
||||||
[colors]
|
|
||||||
|
|
||||||
# special
|
|
||||||
foreground = #eceff1
|
|
||||||
foreground_bold = #eceff1
|
|
||||||
cursor = #eceff1
|
|
||||||
background = rgba(38, 50, 56, 1.0)
|
|
||||||
|
|
||||||
# black
|
|
||||||
color0 = #263238
|
|
||||||
color8 = #37474f
|
|
||||||
|
|
||||||
# red
|
|
||||||
color1 = #ff9800
|
|
||||||
color9 = #ffa74d
|
|
||||||
|
|
||||||
# green
|
|
||||||
color2 = #8bc34a
|
|
||||||
color10 = #9ccc65
|
|
||||||
|
|
||||||
# yellow
|
|
||||||
color3 = #ffc107
|
|
||||||
color11 = #ffa000
|
|
||||||
|
|
||||||
# blue
|
|
||||||
color4 = #03a9f4
|
|
||||||
color12 = #81d4fa
|
|
||||||
|
|
||||||
# magenta
|
|
||||||
color5 = #e91e63
|
|
||||||
color13 = #ad1457
|
|
||||||
|
|
||||||
# cyan
|
|
||||||
color6 = #009688
|
|
||||||
color14 = #26a69a
|
|
||||||
|
|
||||||
# white
|
|
||||||
color7 = #cfd8dc
|
|
||||||
color15 = #eceff1
|
|
||||||
|
|
||||||
[hints]
|
|
||||||
#font = Monospace 12
|
|
||||||
#foreground = #dcdccc
|
|
||||||
#background = #3f3f3f
|
|
||||||
#active_foreground = #e68080
|
|
||||||
#active_background = #3f3f3f
|
|
||||||
#padding = 2
|
|
||||||
#border = #3f3f3f
|
|
||||||
#border_width = 0.5
|
|
||||||
#roundness = 2.0
|
|
||||||
|
|
||||||
# vim: ft=dosini cms=#%s
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
feh --bg-scale $1;
|
||||||
|
wal -i $1 -n;
|
|
@ -4,11 +4,14 @@
|
||||||
(quote
|
(quote
|
||||||
(("schulden" "%(binary) -f %(ledger-file) bal ^Schulden")
|
(("schulden" "%(binary) -f %(ledger-file) bal ^Schulden")
|
||||||
("acclist" "%(binary) -f %(ledger-file) accounts")
|
("acclist" "%(binary) -f %(ledger-file) accounts")
|
||||||
("spendable" "%(binary) -f %(ledger-file) reg Girokonto$ Brieftasche$")
|
("spendable" "%(binary) -f %(ledger-file) reg Girokonto$ Brieftasche$ --real")
|
||||||
("monthly" "%(binary) -f %(ledger-file) -M --period-sort \"amount\" reg ^Ausgaben")
|
("monthly" "%(binary) -f %(ledger-file) -M --period-sort \"amount\" reg ^Ausgaben --real")
|
||||||
("bal" "%(binary) -f %(ledger-file) bal")
|
("bal" "%(binary) -f %(ledger-file) bal --real")
|
||||||
("reg" "%(binary) -f %(ledger-file) reg")
|
("reg" "%(binary) -f %(ledger-file) reg --real")
|
||||||
("payee" "%(binary) -f %(ledger-file) reg @%(payee)")
|
("payee" "%(binary) -f %(ledger-file) reg @%(payee) --real")
|
||||||
("acc" "%(binary) -f %(ledger-file) reg %(account)"))))
|
("acc" "%(binary) -f %(ledger-file) reg %(account) --real")
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
)
|
)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
let g:netrw_dirhistmax =10
|
||||||
|
let g:netrw_dirhist_cnt =3
|
||||||
|
let g:netrw_dirhist_1='/home/tuan/Nextcloud/Templates/LaTeX/Protokoll'
|
||||||
|
let g:netrw_dirhist_2='/home/tuan/Nextcloud/Templates/LaTeX/Protokoll/INCL'
|
||||||
|
let g:netrw_dirhist_3='/home/tuan/Nextcloud/Documents/Git/infrastruktur/mailing_lists'
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 9a38216a1c0c597f978d73547d37681fc689c90d
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit d0911146c68512defcf9d947542b06d7f7eed37e
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 56e8e41ef863a0a7d33d85c3c0c895aa6e9e62d3
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,7 @@
|
||||||
|
" Shortcuts
|
||||||
|
imap ;default package main<Enter><Enter>import (<Enter>"fmt"<Enter>)<Enter><Enter>func main() {<Enter>}<Esc>O
|
||||||
|
|
||||||
|
" Compiling
|
||||||
|
map <C-c><C-c> <Esc>:!go run %<Enter>
|
||||||
|
map <C-c><C-b> <Esc>:!go build %; ./%<<Enter>
|
||||||
|
map <C-c><C-w> <Esc>:!GOOS=windows GOARCH=386 go build -o %<.exe %
|
|
@ -0,0 +1,9 @@
|
||||||
|
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>
|
||||||
|
map <C-c><C-d> <Esc>:silent exec "!evince %<.pdf &"<Enter>
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
setlocal spell spelllang=de_de
|
||||||
|
|
||||||
|
" Begin Shortcuts
|
||||||
|
map <C-B> YpkI\begin{<Esc>A}<Esc>jI\end{<Esc>A}<Esc>ko
|
||||||
|
map! <C-B> <Esc>YpkI\begin{<Esc>A}<Esc>jI\end{<Esc>A}<Esc>ko
|
||||||
|
|
||||||
|
imap ;item \begin{itemize}<Enter>\end{itemize}<Esc>ko\item<Space>
|
||||||
|
imap ;- \item
|
||||||
|
|
||||||
|
":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
|
||||||
|
map <C-c><C-c> <Esc>:RunBackgroundCommand pdflatex -interaction nonstopmode <C-r>%<Enter>
|
||||||
|
map <C-c><C-d> <Esc>:silent exec "!evince %<.pdf &"<Enter>
|
||||||
|
|
|
@ -0,0 +1,29 @@
|
||||||
|
FSR
|
||||||
|
Marecel
|
||||||
|
Zutter
|
||||||
|
FSK
|
||||||
|
Karbe
|
||||||
|
ICB
|
||||||
|
tabbing
|
||||||
|
Fotoboxen
|
||||||
|
Datenschutzgrundverordnung
|
||||||
|
DSGVO
|
||||||
|
Freiverzehrkarte
|
||||||
|
Busse
|
||||||
|
StuPa
|
||||||
|
Docs
|
||||||
|
Busticket
|
||||||
|
Studierendenwerk
|
||||||
|
Softgetränke
|
||||||
|
Water
|
||||||
|
Science
|
||||||
|
Micha
|
||||||
|
Katha
|
||||||
|
Komedia
|
||||||
|
Tuan
|
||||||
|
Planungstreffen
|
||||||
|
FSRs
|
||||||
|
Medizintechik
|
||||||
|
Gästeliste
|
||||||
|
VVK
|
||||||
|
Tagesordnugnspunkte
|
Binary file not shown.
Binary file not shown.
|
@ -7,7 +7,6 @@ call vundle#begin()
|
||||||
Plugin 'VundleVim/Vundle.vim'
|
Plugin 'VundleVim/Vundle.vim'
|
||||||
Plugin 'vim-pandoc/vim-pandoc'
|
Plugin 'vim-pandoc/vim-pandoc'
|
||||||
Plugin 'vim-pandoc/vim-pandoc-syntax'
|
Plugin 'vim-pandoc/vim-pandoc-syntax'
|
||||||
Plugin 'terryma/vim-multiple-cursors'
|
|
||||||
call vundle#end()
|
call vundle#end()
|
||||||
|
|
||||||
" Filetypes
|
" Filetypes
|
||||||
|
@ -16,8 +15,6 @@ au BufNewFile,BufRead *.tex set filetype=tex
|
||||||
au BufNewFile,BufRead config set filetype=config
|
au BufNewFile,BufRead config set filetype=config
|
||||||
" Functions
|
" Functions
|
||||||
|
|
||||||
" Arch defaults
|
|
||||||
|
|
||||||
"" Move the swap file location to protect against CVE-2017-1000382
|
"" Move the swap file location to protect against CVE-2017-1000382
|
||||||
if exists('$XDG_CACHE_HOME')
|
if exists('$XDG_CACHE_HOME')
|
||||||
let &g:directory=$XDG_CACHE_HOME
|
let &g:directory=$XDG_CACHE_HOME
|
||||||
|
@ -33,8 +30,9 @@ endif
|
||||||
" Basics
|
" Basics
|
||||||
syntax on
|
syntax on
|
||||||
filetype indent plugin on
|
filetype indent plugin on
|
||||||
|
set background=dark
|
||||||
|
colorscheme PaperColor
|
||||||
set encoding=utf-8
|
set encoding=utf-8
|
||||||
colorscheme monokai
|
|
||||||
set autowrite
|
set autowrite
|
||||||
set smartcase
|
set smartcase
|
||||||
set incsearch
|
set incsearch
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 9a38216a1c0c597f978d73547d37681fc689c90d
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit dd9289af03abafa76b28c503e20747ff7d7d89e5
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit d0911146c68512defcf9d947542b06d7f7eed37e
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 56e8e41ef863a0a7d33d85c3c0c895aa6e9e62d3
|
|
@ -46,13 +46,13 @@ alias q="exit"
|
||||||
alias ranger='ranger --choosedir=$HOME/.rangerdir; LASTDIR=`cat $HOME/.rangerdir`; cd "$LASTDIR"'
|
alias ranger='ranger --choosedir=$HOME/.rangerdir; LASTDIR=`cat $HOME/.rangerdir`; cd "$LASTDIR"'
|
||||||
alias rm="rm -I"
|
alias rm="rm -I"
|
||||||
alias steam='steam'
|
alias steam='steam'
|
||||||
alias stunden="et $HOME/Nextcloud/Arbeit/Stunden/Stundenzettel.xlsx &; disown %1;"
|
|
||||||
alias vpn_eu='sudo openvpn --config Downloads/AirVPN_Europe_UDP-443.ovpn'
|
alias vpn_eu='sudo openvpn --config Downloads/AirVPN_Europe_UDP-443.ovpn'
|
||||||
alias vpn_us='sudo openvpn --config Downloads/AirVPN_America_UDP-443.ovpn'
|
alias vpn_us='sudo openvpn --config Downloads/AirVPN_America_UDP-443.ovpn'
|
||||||
alias vrc='vim ~/.vimrc'
|
alias vrc='vim ~/.vimrc'
|
||||||
alias vudget="vim $HOME/Nextcloud/orgs/Budget/MyBudget.ledger"
|
alias vudget="vim $HOME/Nextcloud/orgs/Budget/MyBudget.ledger"
|
||||||
alias watch='watch --color'
|
alias watch='watch --color'
|
||||||
alias zrc='vim ~/.zshrc'
|
alias zrc='vim ~/.zshrc'
|
||||||
|
alias wallpaper='~/.scripts/colorscheme.sh'
|
||||||
|
|
||||||
|
|
||||||
source $ZSH/oh-my-zsh.sh
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
@ -64,7 +64,7 @@ export EDITOR='vim'
|
||||||
export GOPATH="$HOME/workspace/go/"
|
export GOPATH="$HOME/workspace/go/"
|
||||||
export GPG_TTY=$(tty)
|
export GPG_TTY=$(tty)
|
||||||
export HIGHLIGHT_DATADIR="~/.config/highlight/"
|
export HIGHLIGHT_DATADIR="~/.config/highlight/"
|
||||||
export LC_ALL=en_GB.UTF-8
|
export LC_ALL=en_US.UTF-8
|
||||||
export STEAM_FRAME_FORCE_CLOSE=1
|
export STEAM_FRAME_FORCE_CLOSE=1
|
||||||
export TERM="xterm-256color" # in case you are using urxvt, to bypass an error during sshing
|
export TERM="xterm-256color" # in case you are using urxvt, to bypass an error during sshing
|
||||||
export VISUAL=$EDITOR
|
export VISUAL=$EDITOR
|
||||||
|
|
Loading…
Reference in New Issue