Tweaks for ledger and removed most vim plugins

clean_emacs
Tuan-Dat Tran 2019-06-18 15:56:39 +02:00
parent 4561645145
commit 2d9a91bbc3
11 changed files with 63 additions and 27 deletions

View File

@ -99,14 +99,15 @@ for_window [title="^Steam Keyboard$"] floating enable
############################################################################### ###############################################################################
exec --no-startup-id setxkbmap us,de; setxkbmap -option ctrl:nocaps; setxkbmap -option grp:lalt_lshift_toggle exec --no-startup-id setxkbmap us,de; setxkbmap -option ctrl:nocaps; setxkbmap -option grp:lalt_lshift_toggle
exec --no-startup-id feh --randomize --bg-fill /usr/share/backgrounds/gnome/* exec --no-startup-id feh --randomize --bg-fill /home/tuan/Pictures/Wallpaper/*
exec --no-startup-id compton -b exec --no-startup-id compton -b
exec --no-startup-id nextcloud exec --no-startup-id nextcloud --background
exec --no-startup-id udiskie exec --no-startup-id udiskie
exec --no-startup-id conky -c ~/.conky/syclo-crimson-bottomleft.conkyrc exec --no-startup-id conky -c ~/.conky/syclo-crimson-bottomleft.conkyrc
exec --no-startup-id urxvtd exec --no-startup-id urxvtd
exec --no-startup-id light-locker exec --no-startup-id light-locker
exec --no-startup-id synergyd exec --no-startup-id synergyc -f --no-tray --debug INFO --name genesis --enable-crypto 192.168.178.38:24800
exec --no-startup-id /home/tuan/workspace/go/monthlyLedger/main /home/tuan/Templates/ledger/*
# exec --no-startup-id polybar beep -r # exec --no-startup-id polybar beep -r
# exec --no-startup-id polybar boop -r # exec --no-startup-id polybar boop -r
# exec --no-startup-id nm-applet # exec --no-startup-id nm-applet
@ -141,6 +142,7 @@ bindsym XF86AudioPrevious exec "playerctl previous; cmus-remote -r"
# Application Shortcuts # Application Shortcuts
bindsym $mod+b exec firefox bindsym $mod+b exec firefox
bindsym $mod+p exec firefox --private-window https://mos4.de
bindsym $mod+e exec urxvtc -e ranger bindsym $mod+e exec urxvtc -e ranger
bindsym $mod+Shift+e exec nautilus bindsym $mod+Shift+e exec nautilus
bindsym $mod+m exec thunderbird bindsym $mod+m exec thunderbird

View File

@ -12,6 +12,34 @@ magenta = ${xrdb:color5:#e16}
cyan = ${xrdb:color6:#098} cyan = ${xrdb:color6:#098}
white = ${xrdb:color7:#cdd} white = ${xrdb:color7:#cdd}
[bar/systray]
width = 100%
height = 25
radius = 6.0
fixed-center = true
tray-position = right
tray-padding = 0
background = #00000000
foreground = ${colors.foreground}
module-margin-left = 1
module-margin-right = 1
font-0 = fixed:pixelsize=10;1
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
font-2 = siji:pixelsize=10;1
font-3 = FontAwesome:style=Regular:pixelsize=10
modules-left =
modules-center = i3
modules-right =
cursor-click = pointer
cursor-scroll = ns-resize
[bar/beep] [bar/beep]
width = 100% width = 100%

View File

@ -1,6 +1,7 @@
':/home/tuan/Desktop ':/home/tuan
u:/home/tuan/Documents/Uni/Studium u:/home/tuan/Documents/Uni/Studium
p:/home/tuan/Documents/Protokolle/FSE p:/home/tuan/Documents/Protokolle/FSE
o:/home/tuan/.dotfiles/config o:/home/tuan/.dotfiles/config
w:/home/tuan/Documents/Collection/wiki w:/home/tuan/Documents/Collection/wiki
m:/run/media/tuan m:/run/media/tuan
a:/home/tuan/Documents/Arbeit

View File

@ -1,5 +1,6 @@
[General] [Install4F96D1932A9F858E]
StartWithLastProfile=1 Default=2x4tnepw.default
Locked=1
[Profile0] [Profile0]
Name=default Name=default
@ -7,3 +8,7 @@ IsRelative=1
Path=2x4tnepw.default Path=2x4tnepw.default
Default=1 Default=1
[General]
StartWithLastProfile=1
Version=2

View File

@ -21,3 +21,9 @@ Host github.com
Port 22 Port 22
User git User git
IdentityFile /mnt/veracrypt1/git IdentityFile /mnt/veracrypt1/git
Host toya
Hostname 192.168.178.25
Port 22
User toya
IdentityFile /mnt/veracrypt1/raspberry

View File

@ -1,8 +1,5 @@
" Shortcuts " Shortcuts
imap ;main package main<Enter><Enter>import (<Enter>"fmt"<Enter>)<Enter><Enter>func main() {<Enter>}<Esc>O 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 " Compiling

View File

@ -21,7 +21,7 @@ vmap "" 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> -
":command! -complete=file -nargs=1 Rpdf :r !pdftotext -nopgbrk <q-args> - | fmt -csw78 ":command! -complete=file -nargs=1 Rpdf :r !pdftotext -nopgbrk <q-args> - | fmt -csw78
" Compilation " Compilation
map <C-c><C-c> <Esc>:RunBackgroundCommand latexmk -pdf -silent <C-r>%<Enter>:redraw!<Enter> map <C-c><C-c> <Esc>:RunBackgroundCommand latexmk -pdf -silent "<C-r>%"<Enter>:redraw!<Enter>
map <C-c><C-v> <Esc>:RunBackgroundCommand latexmk -c<Enter> map <C-c><C-v> <Esc>:RunBackgroundCommand latexmk -c<Enter>
map <C-c><C-d> <Esc>:silent exec "!evince <C-r>%<Del><Del><Del>pdf &>/dev/null &"<Enter> map <C-c><C-d> <Esc>:silent exec "!evince <C-r>%<Del><Del><Del>pdf &>/dev/null &"<Enter>

View File

@ -618,3 +618,11 @@ flag
false false
if if
q3 q3
Excel
Powerpoint
zweitsprachig
C2
Schülerpraktikum
Cirriculum
of
VCS

Binary file not shown.

View File

@ -5,10 +5,7 @@ filetype off
set rtp+=~/.vim/bundle/Vundle.vim set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin() call vundle#begin()
Plugin 'VundleVim/Vundle.vim' Plugin 'VundleVim/Vundle.vim'
Plugin 'vim-pandoc/vim-pandoc' Plugin 'sheerun/vim-polyglot'
Plugin 'vim-pandoc/vim-pandoc-syntax'
Plugin 'vimwiki/vimwiki'
Plugin 'neoclide/coc.nvim'
call vundle#end() call vundle#end()
filetype plugin indent on filetype plugin indent on
@ -62,13 +59,16 @@ nnoremap <C-L> <C-W><C-L>
nnoremap <C-H> <C-W><C-H> nnoremap <C-H> <C-W><C-H>
nnoremap J :bn<Enter> nnoremap J :bn<Enter>
nnoremap K :bp<Enter> nnoremap K :bp<Enter>
noremap <leader>y "+y
noremap <C-E> :tabedit<Space>
noremap <F1> :ter<Enter>
nmap 0 ^ nmap 0 ^
" Latex " Latex
"let g:tex_nospell=1 "let g:tex_nospell=1
" Shortcuts " Shortcuts
inoremap ;date <C-R>=strftime("%Y/%m/%d")<Enter> inoremap <leader>date <C-R>=strftime("%Y/%m/%d")<Enter>
inoremap ;time <C-R>=strftime("%H:%M:%S")<Enter> inoremap <leader>time <C-R>=strftime("%H:%M:%S")<Enter>
" Diaeresis for e.g. german " Diaeresis for e.g. german
inoremap a" ä inoremap a" ä
inoremap o" ö inoremap o" ö
@ -80,7 +80,6 @@ inoremap jj <Esc>
inoremap ;s ß inoremap ;s ß
inoremap ;e inoremap ;e
" This callback will be executed when the entire command is completed " This callback will be executed when the entire command is completed
function! BackgroundCommandClose(channel) function! BackgroundCommandClose(channel)
" Read the output from the command into the quickfix window " Read the output from the command into the quickfix window
@ -107,12 +106,3 @@ endfunction
" So we can use :BackgroundCommand to call our function. " So we can use :BackgroundCommand to call our function.
command! -nargs=+ -complete=shellcmd RunBackgroundCommand call RunBackgroundCommand(<q-args>) command! -nargs=+ -complete=shellcmd RunBackgroundCommand call RunBackgroundCommand(<q-args>)
" Vimwiki
let g:vimwiki_list =[
\{'path':'~/Documents/Collection/wiki'},
\{'path_html':'~/Documents/Collection/wiki_html'}
\]
" Pandoc
let g:pandoc#modules#disabled = [ "spell" ]

View File

@ -6,7 +6,6 @@ export LEDGER_FILE="/home/tuan/Documents/Finanzen/Ledger/MyBudget.ledger"
# Alias # Alias
alias background='feh --randomize --bg-fill /usr/share/backgrounds/*' alias background='feh --randomize --bg-fill /usr/share/backgrounds/*'
alias hledger-web='hledger-web --serve'
alias gowinbuild='GOOS=windows GOARCH=amd64 go build' alias gowinbuild='GOOS=windows GOARCH=amd64 go build'
alias pwgen='pwgen -y 20 1' alias pwgen='pwgen -y 20 1'
alias q="exit" alias q="exit"