Some ranger shortcuts and cava color theme change

clean_emacs
Tuan-Dat Tran 2018-11-30 22:27:56 +01:00
parent db834c2d0d
commit 160743e2e7
No known key found for this signature in database
GPG Key ID: 0DA1B0B23302CA72
9 changed files with 35 additions and 11 deletions

View File

@ -103,9 +103,12 @@
# or remain commented out. 1 = on, 0 = off. Warning: for certain terminal emulators cava will # or remain commented out. 1 = on, 0 = off. Warning: for certain terminal emulators cava will
# not able to restore color definitions on exit, simply restart your terminal to restore colors. # not able to restore color definitions on exit, simply restart your terminal to restore colors.
gradient = 1 gradient = 1
# Cool Blues
gradient_color_1 = '#2193b0'
gradient_color_2 = '#6dd5ed'
# Quepal # Quepal
gradient_color_1 = '#11998e' ; gradient_color_1 = '#11998e'
gradient_color_2 = '#38ef7d' ; gradient_color_2 = '#38ef7d'
# Teal Love # Teal Love
; gradient_color_1 = '#11FFBD' ; gradient_color_1 = '#11FFBD'
; gradient_color_2 = '#AAFFA9' ; gradient_color_2 = '#AAFFA9'

View File

@ -3,8 +3,8 @@ set vcs_aware true
map f console scout -ftsea%space 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); ~/Templates/LaTeX/fsrprotokoll.sh
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 nrk shell cp ~/Templates/LaTeX/Invoice/elektro_invoice.tex Gefeba_Engineering_-_Rechnung_$(date +%g.%m)_-Elektro.tex map nrg shell cp ~/Templates/LaTeX/Invoice/elektro_invoice.tex Gefeba_Engineering_-_Rechnung_$(date +%g.%m)_-Elektro.tex; ~/Templates/LaTeX/Invoice/InvNum.sh
map nrn shell cp ~/Templates/LaTeX/Invoice/engineering_invoice.tex Gefeba_Engineering_-_Rechnung_$(date +%g-%m)_-Engineering.tex map nrb shell cp ~/Templates/LaTeX/Invoice/engineering_invoice.tex Gefeba_Engineering_-_Rechnung_$(date +%g-%m)_-Engineering.tex; ~/Templates/LaTeX/Invoice/InvNum.sh

View File

@ -1,7 +1,8 @@
let g:netrw_dirhistmax =10 let g:netrw_dirhistmax =10
let g:netrw_dirhist_cnt =5 let g:netrw_dirhist_cnt =6
let g:netrw_dirhist_1='/home/tuan/Nextcloud/Templates/LaTeX/Protokoll' 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_2='/home/tuan/Nextcloud/Templates/LaTeX/Protokoll/INCL'
let g:netrw_dirhist_3='/home/tuan/Nextcloud/Documents/Git/infrastruktur/mailing_lists' let g:netrw_dirhist_3='/home/tuan/Nextcloud/Documents/Git/infrastruktur/mailing_lists'
let g:netrw_dirhist_4='/home/tuan/.dotfiles/config/.config/termite' let g:netrw_dirhist_4='/home/tuan/.dotfiles/config/.config/termite'
let g:netrw_dirhist_5='/home/tuan/Nextcloud/Protokolle/Rechenschaftsbericht' let g:netrw_dirhist_5='/home/tuan/Nextcloud/Protokolle/Rechenschaftsbericht'
let g:netrw_dirhist_6='/etc/modules-load.d'

View File

@ -1,7 +1,11 @@
" Shortcuts " Shortcuts
imap ;default 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
map <C-c><C-c> <Esc>:!go run %<Enter> map <C-c><C-c> <Esc>:!clear; go run %<Enter>
map <C-c><C-b> <Esc>:!go build %; ./%<<Enter> map <C-c><C-b> <Esc>:!clear; go build %; ./%<<Enter>
map <C-c><C-w> <Esc>:!GOOS=windows GOARCH=386 go build -o %<.exe % map <C-c><C-w> <Esc>:!clear; GOOS=windows GOARCH=386 go build -o %<.exe %

View File

@ -0,0 +1,4 @@
imap { {<Enter>}<Esc>kA
imap ( ()<Esc>i
imap () ()

View File

@ -5,7 +5,7 @@
imap <leader>ifm if<Space>__name__<Space>==<Space>'__main__':<Enter> imap <leader>ifm if<Space>__name__<Space>==<Space>'__main__':<Enter>
" Compiling " Compiling
map <C-c><C-c> <Esc>:!python %<Enter> map <C-c><C-c> <Esc>:!clear; python %<Enter>
" Use the below highlight group when displaying bad whitespace is desired. " Use the below highlight group when displaying bad whitespace is desired.
highlight BadWhitespace ctermbg=red guibg=red highlight BadWhitespace ctermbg=red guibg=red

3
vim/.vim/ftplugin/sh.vim Normal file
View File

@ -0,0 +1,3 @@
" Compilation
map <C-c><C-c> <Esc>:!clear&./%<Enter>

View File

@ -214,3 +214,12 @@ Fachschaftsraum
Ambient Ambient
Lights Lights
Buildcount Buildcount
Stoppanweisung
IF
SKIP
GOTO
THEN
GOTOSTART
M1
M2
x

Binary file not shown.