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 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 nextcloud
exec --no-startup-id nextcloud --background
exec --no-startup-id udiskie
exec --no-startup-id conky -c ~/.conky/syclo-crimson-bottomleft.conkyrc
exec --no-startup-id urxvtd
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 boop -r
# exec --no-startup-id nm-applet
@ -141,6 +142,7 @@ bindsym XF86AudioPrevious exec "playerctl previous; cmus-remote -r"
# Application Shortcuts
bindsym $mod+b exec firefox
bindsym $mod+p exec firefox --private-window https://mos4.de
bindsym $mod+e exec urxvtc -e ranger
bindsym $mod+Shift+e exec nautilus
bindsym $mod+m exec thunderbird

View File

@ -12,6 +12,34 @@ magenta = ${xrdb:color5:#e16}
cyan = ${xrdb:color6:#098}
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]
width = 100%

View File

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

View File

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

View File

@ -21,3 +21,9 @@ Host github.com
Port 22
User 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
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

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> - | fmt -csw78
" 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-d> <Esc>:silent exec "!evince <C-r>%<Del><Del><Del>pdf &>/dev/null &"<Enter>

View File

@ -618,3 +618,11 @@ flag
false
if
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
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'vim-pandoc/vim-pandoc'
Plugin 'vim-pandoc/vim-pandoc-syntax'
Plugin 'vimwiki/vimwiki'
Plugin 'neoclide/coc.nvim'
Plugin 'sheerun/vim-polyglot'
call vundle#end()
filetype plugin indent on
@ -62,13 +59,16 @@ nnoremap <C-L> <C-W><C-L>
nnoremap <C-H> <C-W><C-H>
nnoremap J :bn<Enter>
nnoremap K :bp<Enter>
noremap <leader>y "+y
noremap <C-E> :tabedit<Space>
noremap <F1> :ter<Enter>
nmap 0 ^
" Latex
"let g:tex_nospell=1
" Shortcuts
inoremap ;date <C-R>=strftime("%Y/%m/%d")<Enter>
inoremap ;time <C-R>=strftime("%H:%M:%S")<Enter>
inoremap <leader>date <C-R>=strftime("%Y/%m/%d")<Enter>
inoremap <leader>time <C-R>=strftime("%H:%M:%S")<Enter>
" Diaeresis for e.g. german
inoremap a" ä
inoremap o" ö
@ -80,7 +80,6 @@ inoremap jj <Esc>
inoremap ;s ß
inoremap ;e
" This callback will be executed when the entire command is completed
function! BackgroundCommandClose(channel)
" Read the output from the command into the quickfix window
@ -107,12 +106,3 @@ endfunction
" So we can use :BackgroundCommand to call our function.
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 background='feh --randomize --bg-fill /usr/share/backgrounds/*'
alias hledger-web='hledger-web --serve'
alias gowinbuild='GOOS=windows GOARCH=amd64 go build'
alias pwgen='pwgen -y 20 1'
alias q="exit"