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`
+ PDF-Viewer: `zathura`
+ 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 {
show-icons: true;
font: "Inconsolata Nerd Font Mono 11";
font: "InconsolataLGC Nerd Font Mono 11";
drun-display-format: "{icon} {name}";
display-run: " ";
display-drun: " ";
@@ -58,7 +58,7 @@ inputbar {
prompt {
enabled: true;
font: "InconsolataLGC Nerd Font Mono 16";
padding: 5 -12 0 12;
padding: 7 -12 0 12;
text-color: @accent;
}

View File

@@ -6,11 +6,17 @@ call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'tpope/vim-fugitive' " Git wrapper
Plugin 'tmsvg/pear-tree' " parathesis matching
" Show git-branch
Plugin 'tpope/vim-fugitive'
" Markdown
Plugin 'dhruvasagar/vim-table-mode' " manage markdown tables
" match parents
Plugin 'tmsvg/pear-tree'
" tex helper
Plugin 'lervag/vimtex'
" manage markdown tables (:TableModeToggle)
Plugin 'dhruvasagar/vim-table-mode'
" fzf
if executable("fzf")
@@ -41,10 +47,6 @@ let g:pear_tree_pairs = {
\ '<': {'closer': '>'}
\ }
" Vimwiki
let g:vimwiki_list = [{'path': '~/vimwiki/',
\ 'syntax': 'markdown', 'ext': '.md'}]
" Airline
let g:airline_theme='nord'
let g:airline_powerline_fonts = 1
@@ -57,6 +59,9 @@ let g:nord_bold = 0
let g:nord_italic = 1
let g:nord_underline = 1
" vimtex
let g:vimtex_view_general_viewer = 'zathura'
" fzf
nmap <C-f> :Files<CR>
" ------------------------------------- Colors ---------------------------------
@@ -67,7 +72,7 @@ filetype indent plugin on
" ------------------------------------- General --------------------------------
set relativenumber
" :highlight LineNr ctermfg=white "color
":highlight LineNr ctermfg=white "color
set showmatch " Highlights paranthesis
set mat=5
set noswapfile
@@ -110,6 +115,10 @@ let &t_SI = "\<Esc>[6 q"
let &t_SR = "\<Esc>[4 q"
let &t_EI = "\<Esc>[2 q"
" ------------------------------------- vimtex ---------------------------------
nmap <C-c> :VimtexCompile <CR>
nmap <C-t> :VimtexTocToggle <CR>
" ------------------------------------- netrw ----------------------------------
nmap <C-e> :Ex <CR>
@@ -122,8 +131,3 @@ cmap Wq wq
cmap Q q
cmap W w
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=""
## Exports
export TERM="xterm-256color"
export EDITOR="vim"
export LANG="en_US.UTF-8"
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 cachefonts="fc-cache -f -v"
alias w="vim ~/vimwiki/index.md"
alias r="ranger"
alias s="cd ~/scripts/"
alias c='clear'