diff options
-rwxr-xr-x | bin/.local/bin/ls-chars | 11 | ||||
-rw-r--r-- | mbsync/.mbsyncrc | 1 | ||||
-rw-r--r-- | vim/.vimrc | 21 | ||||
-rw-r--r-- | xdg-open/.config/mimeapps.list | 12 |
4 files changed, 31 insertions, 14 deletions
diff --git a/bin/.local/bin/ls-chars b/bin/.local/bin/ls-chars new file mode 100755 index 0000000..ec05af2 --- /dev/null +++ b/bin/.local/bin/ls-chars @@ -0,0 +1,11 @@ +#!/bin/bash +for range in $(fc-match --format='%{charset}\n' "$1"); do + for n in $(seq "0x${range%-*}" "0x${range#*-}"); do + printf "%04x\n" "$n" + done +done | while read -r n_hex; do + count=$((count + 1)) + printf "%-5s\U$n_hex\t" "$n_hex" + [ $((count % 10)) = 0 ] && printf "\n" +done +printf "\n" diff --git a/mbsync/.mbsyncrc b/mbsync/.mbsyncrc index b8ab811..f598684 100644 --- a/mbsync/.mbsyncrc +++ b/mbsync/.mbsyncrc @@ -11,6 +11,7 @@ SSLType IMAPS CertificateFile /etc/ssl/certs/ca-certificates.crt IMAPAccount Enpc +Port 993 Host messagerie.enpc.fr User urbain.vaes@enpc.fr PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.password-store/email/urbain.vaes@enpc.fr.gpg" @@ -11,7 +11,7 @@ let maplocalleader = "," "" Plugins {{{1 call plug#begin('~/.vim/plugged') -Plug 'andymass/vim-matchup' +" Plug 'andymass/vim-matchup' Plug 'PotatoesMaster/i3-vim-syntax' Plug 'SirVer/ultisnips' Plug 'airblade/vim-gitgutter' @@ -43,6 +43,7 @@ Plug 'tpope/vim-dispatch' Plug 'tpope/vim-eunuch' Plug 'tpope/vim-flagship' Plug 'tpope/vim-fugitive' +Plug 'tpope/vim-markdown' Plug 'tpope/vim-obsession' Plug 'tpope/vim-projectionist' Plug 'tpope/vim-repeat' @@ -68,10 +69,11 @@ if has("nvim") && hostname() != "peuplier" Plug '~/dotfiles/plugins/nvim-i3scratchpad' Plug 'neovim/nvim-lspconfig' " Plug 'VonHeikemen/lsp-zero.nvim' - " Plug 'hrsh7th/nvim-cmp' - " Plug 'nvim-treesitter/nvim-treesitter' - " Plug 'hrsh7th/nvim-cmp', { 'branch': 'main' } - " Plug 'nvim-treesitter/playground' + Plug 'nvim-treesitter/nvim-treesitter' + Plug 'hrsh7th/nvim-cmp', { 'branch': 'main' } + Plug 'nvim-treesitter/playground' + Plug 'jmbuhr/otter.nvim' + Plug 'quarto-dev/quarto-nvim' endif " Colors @@ -81,6 +83,7 @@ Plug 'junegunn/seoul256.vim' Plug 'romainl/Apprentice' Plug 'JuliaEditorSupport/julia-vim' Plug 'arcticicestudio/nord-vim' +Plug 'ellisonleao/gruvbox.nvim' " Plug 'axvr/zepl.vim' call plug#end() @@ -298,8 +301,8 @@ nnoremap <silent> <Plug>AddWhiteSpaceBefore i <Esc>l:silent call repeat#set("\<P nmap ]w <Plug>AddWhiteSpaceAfter nmap [w <Plug>AddWhiteSpaceBefore -nnoremap <Leader>w :update<cr> -nnoremap <Leader>q :q<cr> +nnoremap <Leader>w :w<cr> +nnoremap <Leader>q :QuartoPreview<cr> nnoremap <Leader>d :bd!<cr> nnoremap <c-d> :q<cr> @@ -412,7 +415,7 @@ set notermguicolors colo darjeeling " set termguicolors -" colo nord +" colo gruvbox " highlight Comment ctermfg=66 guifg=#5f8787 " highlight SignColumn ctermbg=234 ctermfg=232 guibg=#1c1c1c guifg=#080808 @@ -445,6 +448,7 @@ if has("nvim") && hostname() != "peuplier" try " lua require('lspconfig').pyls.setup{} lua require('lspconfig').julials.setup{} + lua require('lspconfig').pyright.setup{} lua require('lspconfig').texlab.setup{} " autocmd Filetype python setlocal omnifunc=v:lua.vim.lsp.omnifunc autocmd Filetype julia setlocal omnifunc=v:lua.vim.lsp.omnifunc @@ -489,4 +493,5 @@ function! Get_surrounding() endif endfunction +let g:markdown_folding = 0 " vim: nospell diff --git a/xdg-open/.config/mimeapps.list b/xdg-open/.config/mimeapps.list index 70a049f..c536352 100644 --- a/xdg-open/.config/mimeapps.list +++ b/xdg-open/.config/mimeapps.list @@ -15,10 +15,10 @@ image/jpg=feh.desktop; image/x-eps=org.pwmt.zathura.desktop; image/vnd.djvu=org.pwmt.zathura.desktop; inode/directory=vifm.desktop;nautilus.desktop; -text/html=org.qutebrowser.qutebrowser.desktop;firefox.desktop; -text/x-c++=org.qutebrowser.qutebrowser.desktop;firefox.desktop; +text/html=firefox.desktop;org.qutebrowser.qutebrowser.desktop; +text/x-c++=firefox.desktop;org.qutebrowser.qutebrowser.desktop; application/pdf=org.pwmt.zathura.desktop; -x-scheme-handler/http=org.qutebrowser.qutebrowser.desktop; -x-scheme-handler/https=org.qutebrowser.qutebrowser.desktop; -x-scheme-handler/about=org.qutebrowser.qutebrowser.desktop; -x-scheme-handler/unknown=org.qutebrowser.qutebrowser.desktop; +x-scheme-handler/http=firefox.desktop;org.qutebrowser.qutebrowser.desktop; +x-scheme-handler/https=firefox.desktop;org.qutebrowser.qutebrowser.desktop; +x-scheme-handler/about=firefox.desktop;org.qutebrowser.qutebrowser.desktop; +x-scheme-handler/unknown=firefox.desktop;org.qutebrowser.qutebrowser.desktop; |