From ee07f3a792cb0a09fcd87dd31eb8ea596b8365a3 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Thu, 30 Sep 2021 20:48:21 +0200 Subject: Minor changes --- i3/.config/i3/config | 8 ++++---- mutt/.mutt/colors.muttrc | 2 +- vim/.vim/after/ftplugin/tex/mappings.vim | 28 ++++++++++++++++++++-------- vim/.vim/spell/en.utf-8.add.spl | Bin 1207 -> 1220 bytes vim/.vimrc | 11 ++++++++--- 5 files changed, 33 insertions(+), 16 deletions(-) diff --git a/i3/.config/i3/config b/i3/.config/i3/config index c55e14c..fa11b47 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -177,10 +177,10 @@ bindsym $mod+Shift+n exec $HOME/.local/bin/workspace mc bindsym $mod+Shift+x move to output left; focus output left # Programs and commands -bindsym $mod+b exec --no-startup-id qutebrowser -bindsym Print exec --no-startup-id xfce4-screenshooter -bindsym $mod+Escape exec --no-startup-id i3lock -c 000000 && systemctl suspend -bindsym $mod+Shift+w exec --no-startup-id feh --bg-fill --randomize /usr/share/backgrounds +bindsym $mod+b exec --no-startup-id qutebrowser +bindsym Print exec --no-startup-id xfce4-screenshooter +bindsym $mod+Shift+Escape exec --no-startup-id i3lock -c 000000 && systemctl suspend +bindsym $mod+Shift+w exec --no-startup-id feh --bg-fill --randomize /usr/share/backgrounds # Sound bindsym XF86AudioRaiseVolume exec amixer -D pulse sset Master 5%+ diff --git a/mutt/.mutt/colors.muttrc b/mutt/.mutt/colors.muttrc index 8b53d72..5d5cc13 100644 --- a/mutt/.mutt/colors.muttrc +++ b/mutt/.mutt/colors.muttrc @@ -11,13 +11,13 @@ color sidebar_flagged color6 default color sidebar_indicator color232 color178 color sidebar_new color2 default +color index color172 default "~X 1-" color index color248 default "~R" color index color253 default "~p" color index color195 default "~U" color index color2 default "~Q" color index color1 default "~D" color index color167 default "~F" -color index color172 default "~X 1-" color quoted cyan default color quoted1 magenta default diff --git a/vim/.vim/after/ftplugin/tex/mappings.vim b/vim/.vim/after/ftplugin/tex/mappings.vim index 2b25c4a..a69f752 100644 --- a/vim/.vim/after/ftplugin/tex/mappings.vim +++ b/vim/.vim/after/ftplugin/tex/mappings.vim @@ -1,35 +1,47 @@ +" iabbrev (( \left( +" iabbrev )) \right) +" iabbrev {{ \left\{ +" iabbrev }} \right\} +" iabbrev [[ \left[ +" iabbrev ]] \right] +iabbrev :: \colon +inoremap ^^ ^{} +inoremap __ _{} + iabbrev ga \alpha iabbrev gb \beta iabbrev gc \xi -iabbrev gg \gamma iabbrev gd \delta iabbrev ge \varepsilon -iabbrev gz \zeta -iabbrev gy \eta +iabbrev gf \phi +iabbrev gg \gamma iabbrev gh \theta iabbrev gi \iota iabbrev gk \kappa iabbrev gl \lambda iabbrev gm \mu iabbrev gn \nu -iabbrev gx \chi +iabbrev gp \pi +iabbrev gq \psi iabbrev gr \rho iabbrev gs \sigma iabbrev gt \tau -iabbrev gf \phi -iabbrev gp \pi iabbrev gw \omega +iabbrev gx \chi +iabbrev gy \eta +iabbrev gz \zeta iabbrev gB \Beta iabbrev gC \Xi -iabbrev gG \Gamma iabbrev gD \Delta +iabbrev gF \Phi +iabbrev gG \Gamma iabbrev gH \Theta iabbrev gL \Lambda iabbrev gP \Pi +iabbrev gQ \Psi iabbrev gS \Sigma iabbrev gW \Omega -iabbrev gF \Phi nnoremap i :VimtexCompile nnoremap e :VimtexErrors diff --git a/vim/.vim/spell/en.utf-8.add.spl b/vim/.vim/spell/en.utf-8.add.spl index 8a0bad8..94a2c8d 100644 Binary files a/vim/.vim/spell/en.utf-8.add.spl and b/vim/.vim/spell/en.utf-8.add.spl differ diff --git a/vim/.vimrc b/vim/.vimrc index 64961e0..d88bb1c 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -64,8 +64,8 @@ endif if has("nvim") && hostname() != "peuplier" Plug '~/dotfiles/plugins/nvim-i3scratchpad' Plug 'neovim/nvim-lspconfig' - Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} - Plug 'nvim-treesitter/playground' + " Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} + " Plug 'nvim-treesitter/playground' endif " Colors @@ -212,7 +212,9 @@ let g:tex_conceal= '' let g:tex_flavor='latex' augroup latex + autocmd! autocmd FileType tex let b:surround_124 = "\\lvert \r \\rvert" + autocmd FileType tex let b:surround_110 = "\\lVert \r \\rVert" augroup END "" Vim options {{{1 @@ -393,7 +395,7 @@ if has("nvim") nnoremap t :b term \| norm A endif -if has("nvim") +if has("nvim") && &runtimepath =~ 'treesitter' lua < -- cgit v1.2.3