diff options
author | Urbain Vaes <urbain@vaes.uk> | 2021-09-30 20:48:21 +0200 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2021-09-30 20:48:21 +0200 |
commit | ee07f3a792cb0a09fcd87dd31eb8ea596b8365a3 (patch) | |
tree | b130fb4be747885e1baec50557141607e7716ca7 | |
parent | 179918a8892a78c428774e35afecfc3df875d3c7 (diff) |
Minor changes
-rw-r--r-- | i3/.config/i3/config | 8 | ||||
-rw-r--r-- | mutt/.mutt/colors.muttrc | 2 | ||||
-rw-r--r-- | vim/.vim/after/ftplugin/tex/mappings.vim | 28 | ||||
-rw-r--r-- | vim/.vim/spell/en.utf-8.add.spl | bin | 1207 -> 1220 bytes | |||
-rw-r--r-- | 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 <buffer> (( \left( +" iabbrev <buffer> )) \right) +" iabbrev <buffer> {{ \left\{ +" iabbrev <buffer> }} \right\} +" iabbrev <buffer> [[ \left[ +" iabbrev <buffer> ]] \right] +iabbrev <buffer> :: \colon +inoremap <buffer> ^^ ^{}<Left> +inoremap <buffer> __ _{}<Left> + iabbrev <buffer> ga \alpha iabbrev <buffer> gb \beta iabbrev <buffer> gc \xi -iabbrev <buffer> gg \gamma iabbrev <buffer> gd \delta iabbrev <buffer> ge \varepsilon -iabbrev <buffer> gz \zeta -iabbrev <buffer> gy \eta +iabbrev <buffer> gf \phi +iabbrev <buffer> gg \gamma iabbrev <buffer> gh \theta iabbrev <buffer> gi \iota iabbrev <buffer> gk \kappa iabbrev <buffer> gl \lambda iabbrev <buffer> gm \mu iabbrev <buffer> gn \nu -iabbrev <buffer> gx \chi +iabbrev <buffer> gp \pi +iabbrev <buffer> gq \psi iabbrev <buffer> gr \rho iabbrev <buffer> gs \sigma iabbrev <buffer> gt \tau -iabbrev <buffer> gf \phi -iabbrev <buffer> gp \pi iabbrev <buffer> gw \omega +iabbrev <buffer> gx \chi +iabbrev <buffer> gy \eta +iabbrev <buffer> gz \zeta iabbrev <buffer> gB \Beta iabbrev <buffer> gC \Xi -iabbrev <buffer> gG \Gamma iabbrev <buffer> gD \Delta +iabbrev <buffer> gF \Phi +iabbrev <buffer> gG \Gamma iabbrev <buffer> gH \Theta iabbrev <buffer> gL \Lambda iabbrev <buffer> gP \Pi +iabbrev <buffer> gQ \Psi iabbrev <buffer> gS \Sigma iabbrev <buffer> gW \Omega -iabbrev <buffer> gF \Phi nnoremap <buffer> <LocalLeader>i :VimtexCompile<CR> nnoremap <buffer> <LocalLeader>e :VimtexErrors<CR> diff --git a/vim/.vim/spell/en.utf-8.add.spl b/vim/.vim/spell/en.utf-8.add.spl Binary files differindex 8a0bad8..94a2c8d 100644 --- a/vim/.vim/spell/en.utf-8.add.spl +++ b/vim/.vim/spell/en.utf-8.add.spl @@ -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 <Leader>t :b term \| norm A<cr> endif -if has("nvim") +if has("nvim") && &runtimepath =~ 'treesitter' lua <<EOF require'nvim-treesitter.configs'.setup { highlight = { enable = true }, @@ -434,3 +436,6 @@ let g:ripple_repls = { \ }, \ "r": "radian" \ } + +" Vim sensible fix +inoremap <c-w> <c-w> |