Update dotfiles

This commit is contained in:
CramMK
2020-07-14 23:40:21 +02:00
parent aa4213fb7a
commit ec4c1f8a31
4 changed files with 20 additions and 24 deletions

View File

@@ -31,9 +31,3 @@ My personal configurations, managed with the 'dotdrop' submodule.
+ Notifications: `dunst` + Notifications: `dunst`
+ PDF-Viewer: `zathura` + PDF-Viewer: `zathura`
+ Transparency: `compton` + Transparency: `compton`
## Profiles
+ `laptop`: All of the dotfiles
+ `win-sub`: Linux Subsystem in Windows
+ `work`: Everything I need for work
+ `dev`: Working on remote (dev-)servers

View File

@@ -1,6 +1,6 @@
configuration { configuration {
show-icons: true; show-icons: true;
font: "Inconsolata Nerd Font Mono 11"; font: "InconsolataLGC Nerd Font Mono 11";
drun-display-format: "{icon} {name}"; drun-display-format: "{icon} {name}";
display-run: " "; display-run: " ";
display-drun: " "; display-drun: " ";
@@ -58,7 +58,7 @@ inputbar {
prompt { prompt {
enabled: true; enabled: true;
font: "InconsolataLGC Nerd Font Mono 16"; font: "InconsolataLGC Nerd Font Mono 16";
padding: 5 -12 0 12; padding: 7 -12 0 12;
text-color: @accent; text-color: @accent;
} }

View File

@@ -6,11 +6,17 @@ call vundle#begin()
Plugin 'VundleVim/Vundle.vim' Plugin 'VundleVim/Vundle.vim'
Plugin 'tpope/vim-fugitive' " Git wrapper " Show git-branch
Plugin 'tmsvg/pear-tree' " parathesis matching Plugin 'tpope/vim-fugitive'
" Markdown " match parents
Plugin 'dhruvasagar/vim-table-mode' " manage markdown tables Plugin 'tmsvg/pear-tree'
" tex helper
Plugin 'lervag/vimtex'
" manage markdown tables (:TableModeToggle)
Plugin 'dhruvasagar/vim-table-mode'
" fzf " fzf
if executable("fzf") if executable("fzf")
@@ -41,10 +47,6 @@ let g:pear_tree_pairs = {
\ '<': {'closer': '>'} \ '<': {'closer': '>'}
\ } \ }
" Vimwiki
let g:vimwiki_list = [{'path': '~/vimwiki/',
\ 'syntax': 'markdown', 'ext': '.md'}]
" Airline " Airline
let g:airline_theme='nord' let g:airline_theme='nord'
let g:airline_powerline_fonts = 1 let g:airline_powerline_fonts = 1
@@ -57,6 +59,9 @@ let g:nord_bold = 0
let g:nord_italic = 1 let g:nord_italic = 1
let g:nord_underline = 1 let g:nord_underline = 1
" vimtex
let g:vimtex_view_general_viewer = 'zathura'
" fzf " fzf
nmap <C-f> :Files<CR> nmap <C-f> :Files<CR>
" ------------------------------------- Colors --------------------------------- " ------------------------------------- Colors ---------------------------------
@@ -110,6 +115,10 @@ let &t_SI = "\<Esc>[6 q"
let &t_SR = "\<Esc>[4 q" let &t_SR = "\<Esc>[4 q"
let &t_EI = "\<Esc>[2 q" let &t_EI = "\<Esc>[2 q"
" ------------------------------------- vimtex ---------------------------------
nmap <C-c> :VimtexCompile <CR>
nmap <C-t> :VimtexTocToggle <CR>
" ------------------------------------- netrw ---------------------------------- " ------------------------------------- netrw ----------------------------------
nmap <C-e> :Ex <CR> nmap <C-e> :Ex <CR>
@@ -122,8 +131,3 @@ cmap Wq wq
cmap Q q cmap Q q
cmap W w cmap W w
cmap q1 q! cmap q1 q!
" ------------------------------------- Pandoc ---------------------------------
nmap <leader>c :w! \| !~/scripts/pandoc-comp <c-r>%<CR><CR>
nmap <leader>o :!~/scripts/open-pdf <c-r>%<CR><CR>

View File

@@ -10,7 +10,6 @@ zstyle ':vcs_info:git:*' formats '%b '
export RPROMPT="" export RPROMPT=""
## Exports ## Exports
export TERM="xterm-256color"
export EDITOR="vim" export EDITOR="vim"
export LANG="en_US.UTF-8" export LANG="en_US.UTF-8"
export PATH=$PATH:$HOME/.local/bin:$HOME/scripts export PATH=$PATH:$HOME/.local/bin:$HOME/scripts
@@ -26,7 +25,6 @@ alias fonts="/home/$USER/.local/share/fonts"
alias listfonts="fc-list :scalable=true:spacing=mono: family" alias listfonts="fc-list :scalable=true:spacing=mono: family"
alias cachefonts="fc-cache -f -v" alias cachefonts="fc-cache -f -v"
alias w="vim ~/vimwiki/index.md"
alias r="ranger" alias r="ranger"
alias s="cd ~/scripts/" alias s="cd ~/scripts/"
alias c='clear' alias c='clear'