From f44ca5c7e63d0d1848255aabf0f37b4e48042790 Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Mon, 4 Oct 2021 21:04:08 +0200 Subject: [PATCH] Up --- conf.d/kitty/tabbar.conf | 23 ++-- conf.d/ncmpcpp/config | 2 +- conf.d/nvim/init.vim | 18 ++- conf.d/nvim/keybindings.vim | 1 + conf.d/nvim/plug.vim | 10 +- conf.d/qutebrowser/autoconfig.yml | 2 + conf.d/qutebrowser/config.py | 42 ++++++- conf.d/qutebrowser/quickmarks | 20 ++- conf.d/ranger/rc.conf | 1 + conf.d/texstudio/profile.txsprofile | 186 ++++++++++++++++++++-------- conf.d/vscode/vscode-settings.json | 4 + conf.d/zim/zimrc | 3 +- conf.d/zim/zshenv | 6 +- conf/tmux.conf | 60 ++------- conf/tmux.conf.local | 2 +- meta/tasks/kitty.yaml | 5 +- 16 files changed, 248 insertions(+), 137 deletions(-) diff --git a/conf.d/kitty/tabbar.conf b/conf.d/kitty/tabbar.conf index e47fc04..80ef903 100644 --- a/conf.d/kitty/tabbar.conf +++ b/conf.d/kitty/tabbar.conf @@ -10,7 +10,7 @@ tab_bar_margin_width 0.0 #: The margin to the left and right of the tab bar (in pts) -tab_bar_style fade +tab_bar_style powerline #: The tab bar style, can be one of: fade, separator or hidden. In the #: fade style, each tab's edges fade into the background color, in the @@ -42,20 +42,29 @@ tab_separator " ┇" #: The separator between tabs in the tab bar when using separator as #: the tab_bar_style. -tab_title_template {title} +tab_powerline_style angled + +#: The powerline separator style between tabs in the tab bar when using +#: powerline as the tab_bar_style, can be one of: angled, slanted, or round. + +tab_title_template {index}: {title} #: A template to render the tab title. The default just renders the #: title. If you wish to include the tab-index as well, use something #: like: {index}: {title}. Useful if you have shortcuts mapped for #: goto_tab N. -active_tab_foreground #000 -active_tab_background #eee -active_tab_font_style bold-italic -inactive_tab_foreground #444 -inactive_tab_background #999 +active_tab_foreground #00FF66 +active_tab_background #000 +active_tab_font_style bold +inactive_tab_foreground #fff +inactive_tab_background #000 inactive_tab_font_style normal #: Tab bar colors and styles +tab_bar_background none + +#: Background color for the tab bar. Defaults to using the terminal background color. + #: }}} diff --git a/conf.d/ncmpcpp/config b/conf.d/ncmpcpp/config index 4b18e14..ca3e4a7 100644 --- a/conf.d/ncmpcpp/config +++ b/conf.d/ncmpcpp/config @@ -84,7 +84,7 @@ visualizer_in_stereo = yes ## Keep in mind that sane values start with >=10. ## # -visualizer_sync_interval = 30 +# visualizer_sync_interval = 30 # ## ## Note: To enable spectrum frequency visualization diff --git a/conf.d/nvim/init.vim b/conf.d/nvim/init.vim index bd2ce61..d18cfd9 100644 --- a/conf.d/nvim/init.vim +++ b/conf.d/nvim/init.vim @@ -1,7 +1,7 @@ " File : init.vim " Author : Jeff LANCE " Date : 15.04.2015 -" Last Modified Date: 04.03.2021 +" Last Modified Date: 06.09.2021 " Last Modified By : Jeff LANCE """""""""""""""""""""""""""""""""""""""""""""" @@ -126,7 +126,7 @@ set clipboard=unnamedplus " With a map leader it's possible to do extra key combinations " like w saves the current file -let g:mapleader = ";" +let mapleader = ";" " Fast saving nmap w :w! @@ -397,6 +397,19 @@ function! g:BuffetSetCustomColors() " """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" Artify {{{ +" ----- + +lua <' S' map " S" map [ S[ map { S{ +map ( S( " " Rewrap paragraph using " map {gq}:echo "Rewrapped paragraph" diff --git a/conf.d/nvim/plug.vim b/conf.d/nvim/plug.vim index 3b83d22..6515b18 100644 --- a/conf.d/nvim/plug.vim +++ b/conf.d/nvim/plug.vim @@ -38,13 +38,12 @@ call plug#begin('~/.local/share/nvim/plugged') " Plugins {{{ " ----- -" Startup screen -Plug 'glepnir/dashboard-nvim' -" Plug 'mhinz/vim-startify' - " Ansible Plug 'pearofducks/ansible-vim' +" Artify +Plug 'delphinus/artify.nvim' + " Deoplete Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } Plug 'Shougo/defx.nvim', { 'do': ':UpdateRemotePlugins' } @@ -55,6 +54,9 @@ Plug 'roxma/vim-hug-neovim-rpc' " Buffer exploration Plug 'bagrat/vim-buffet', { 'as': 'buffet' } +" Dashboard +Plug 'glepnir/dashboard-nvim' + " Editorconfig Plug 'editorconfig/editorconfig-vim' diff --git a/conf.d/qutebrowser/autoconfig.yml b/conf.d/qutebrowser/autoconfig.yml index 2371296..9ffd0ec 100644 --- a/conf.d/qutebrowser/autoconfig.yml +++ b/conf.d/qutebrowser/autoconfig.yml @@ -22,5 +22,7 @@ settings: global: '#f8f8f2' colors.tabs.selected.odd.bg: global: '#282a36' + content.javascript.enabled: + '*://radarr.video/*': true fonts.default_size: global: 12pt diff --git a/conf.d/qutebrowser/config.py b/conf.d/qutebrowser/config.py index da28d1f..3ee6001 100644 --- a/conf.d/qutebrowser/config.py +++ b/conf.d/qutebrowser/config.py @@ -1496,7 +1496,7 @@ c.tabs.select_on_remove = 'prev' ## Page to open if :open -t/-b/-w is used without URL. Use `about:blank` ## for a blank page. ## Type: FuzzyUrl -c.url.default_page = 'https://start.duckduckgo.com/' +c.url.default_page = 'https://start.duckduckgo.com/?key=5f50a4ce56d3b08a34fe92f00b9197dbbb7eee9b54c85de610279d4c30aeba46ac11ed00a02216908a49048b4f9dc5aab4ee45ac19b4396ec0e5e6c2b7a9b4a8' ## URL segments where `:navigate increment/decrement` will search for a ## number. @@ -1599,30 +1599,60 @@ config.unbind('m', mode='normal') config.unbind('M', mode='normal') config.unbind('o', mode='normal') +# global moves config.bind(';;', 'mode-leave', mode='insert') config.bind(';;', 'leave-mode', mode='passthrough') config.bind('', 'reload') +config.bind('', 'set-cmd-text -s :open') +# in page moves config.bind('', 'back') config.bind('', 'forward') - config.bind('', 'home') -config.bind('', 'set-cmd-text -s :open') config.bind('', 'reload') config.bind('', 'stop') + +# tabs movements config.bind('', 'tab-close') config.bind('', 'tab-next') config.bind('', 'tab-prev') - -bind_chained('', 'message-info "Reload config"', 'config-source') -config.bind('', 'close') config.bind('', 'tab-move +') config.bind('', 'tab-move -') +config.bind('tg', 'tab-give') +# windows movements +config.bind('', 'close') + +# quickmarks config.bind('b', 'set-cmd-text -s :quickmark-load') config.bind('B', 'set-cmd-text -s :quickmark-load -t') config.bind('m', 'quickmark-save') +config.bind('dc', 'download-clear') + +# config +bind_chained('', 'message-info "Reload config"', 'config-source') +config.bind('cIH', 'config-cycle -p -u *://*.{url:host}/* content.images ;; reload') +config.bind('cIh', 'config-cycle -p -u *://{url:host}/* content.images ;; reload') +config.bind('cIu', 'config-cycle -p -u {url} content.images ;; reload') +config.bind('cPH', 'config-cycle -p -u *://*.{url:host}/* content.plugins ;; reload') +config.bind('cPh', 'config-cycle -p -u *://{url:host}/* content.plugins ;; reload') +config.bind('cPu', 'config-cycle -p -u {url} content.plugins ;; reload') +config.bind('cSH', 'config-cycle -p -u *://*.{url:host}/* content.javascript.enabled ;; reload') +config.bind('cSh', 'config-cycle -p -u *://{url:host}/* content.javascript.enabled ;; reload') +config.bind('cSu', 'config-cycle -p -u {url} content.javascript.enabled ;; reload') +config.bind('ch', 'back -t') +config.bind('ciH', 'config-cycle -p -t -u *://*.{url:host}/* content.images ;; reload') +config.bind('cih', 'config-cycle -p -t -u *://{url:host}/* content.images ;; reload') +config.bind('ciu', 'config-cycle -p -t -u {url} content.images ;; reload') +config.bind('cl', 'forward -t') +config.bind('cpH', 'config-cycle -p -t -u *://*.{url:host}/* content.plugins ;; reload') +config.bind('cph', 'config-cycle -p -t -u *://{url:host}/* content.plugins ;; reload') +config.bind('cpu', 'config-cycle -p -t -u {url} content.plugins ;; reload') +config.bind('csH', 'config-cycle -p -t -u *://*.{url:host}/* content.javascript.enabled ;; reload') +config.bind('csh', 'config-cycle -p -t -u *://{url:host}/* content.javascript.enabled ;; reload') +config.bind('csu', 'config-cycle -p -t -u {url} content.javascript.enabled ;; reload') + # password_fill config.bind('Qa', "spawn --userscript \ ~/.config/qutebrowser/userscripts/password_fill") diff --git a/conf.d/qutebrowser/quickmarks b/conf.d/qutebrowser/quickmarks index afaee2f..de8b7cc 100644 --- a/conf.d/qutebrowser/quickmarks +++ b/conf.d/qutebrowser/quickmarks @@ -1,17 +1,25 @@ +1.. --- Banque Populaire https://www.rivesparis.banquepopulaire.fr/portailinternet/Pages/default.aspx +2.. --- +Travail - ENT https://ent.iledefrance.fr/timeline/timeline +3.. --- +DAC http://192.168.0.130/playback Diskstation1 - Accueil https://diskstation1.loc:5001/ Diskstation1 - Audio https://diskstation1.loc/audio Diskstation1 - Squeezebox http://diskstation1.loc:9000/ +INA https://ina.mala.fr +MaLa - Cloud https://cloud.mala.fr +4.. -- Gandi - Manager https://id.gandi.net/fr/login?redirect=https%3A%2F%2Fid.gandi.net%2Ffr%2Fauthorize%3Fclient_id%3D56a74aae-7f20-11e5-93d5-00163e60d80f%26response_type%3Dcode%26redirect_uri%3Dhttps%253A%252F%252Fadmin.gandi.net%252Fdashboard%252Fapi%252Fv5%252Flogin%26state%3D3cebeb061b +OVH - Manager https://www.ovh.com/auth/?action=disconnect&onsuccess=https%3A%2F%2Fwww.ovh.com%2Fmanager%2Fweb%2F%23%2Fconfiguration +5.. --- Mail - GMail mathslance https://mail.google.com/mail/u/1/#inbox Mail - GMail jeff.lance https://mail.google.com/mail/u/0/#inbox Mail - OVH https://www.ovh.com/fr/mail/ -MaLa - Cloud https://cloud.mala.fr -Paroles https://cse.google.com/cse?cx=004234001817710914369:abwpkdjsfq7 -OVH - Manager https://www.ovh.com/auth/?action=disconnect&onsuccess=https%3A%2F%2Fwww.ovh.com%2Fmanager%2Fweb%2F%23%2Fconfiguration -Recherche de paroles https://cse.google.com/cse?cx=004234001817710914369:abwpkdjsfq7 +6.. --- RSI - Carte stellaire https://robertsspaceindustries.com/starmap?location=STANTON.MOONS.ARIAL&system=STANTON&camera=76.56,74.11,0.0002,0.0000567,0.0000239 RSI - Accueil https://robertsspaceindustries.com/ RSI - Spectrum https://robertsspaceindustries.com/spectrum/community/SC -Travail - ENT https://ent.iledefrance.fr/timeline/timeline -DAC http://192.168.0.130/playback +7.. --- +Paroles https://cse.google.com/cse?cx=004234001817710914369:abwpkdjsfq7 +Recherche de paroles https://cse.google.com/cse?cx=004234001817710914369:abwpkdjsfq7 diff --git a/conf.d/ranger/rc.conf b/conf.d/ranger/rc.conf index afe6ddd..c9bc6e9 100644 --- a/conf.d/ranger/rc.conf +++ b/conf.d/ranger/rc.conf @@ -330,6 +330,7 @@ map gc cd ~/Cours map gd cd ~/Documents map gh cd ~ map gm cd /media/jeff +map gp cd ~/Projets map gz cd ~/Musique # global dir map gE cd /etc diff --git a/conf.d/texstudio/profile.txsprofile b/conf.d/texstudio/profile.txsprofile index ea6a769..da9c6ad 100644 --- a/conf.d/texstudio/profile.txsprofile +++ b/conf.d/texstudio/profile.txsprofile @@ -893,6 +893,71 @@ data\text\strikeout=false data\text\underline=false data\text\waveUnderline=false data\text\wrapAround=false +data\txs-test-fail\bold=false +data\txs-test-fail\fontFamily= +data\txs-test-fail\foreground=#c00000 +data\txs-test-fail\italic=false +data\txs-test-fail\overline=false +data\txs-test-fail\pointSize=0 +data\txs-test-fail\priority=-1 +data\txs-test-fail\strikeout=false +data\txs-test-fail\underline=false +data\txs-test-fail\waveUnderline=false +data\txs-test-fail\wrapAround=false +data\txs-test-pass\bold=false +data\txs-test-pass\fontFamily= +data\txs-test-pass\foreground=#008000 +data\txs-test-pass\italic=false +data\txs-test-pass\overline=false +data\txs-test-pass\pointSize=0 +data\txs-test-pass\priority=-1 +data\txs-test-pass\strikeout=false +data\txs-test-pass\underline=false +data\txs-test-pass\waveUnderline=false +data\txs-test-pass\wrapAround=false +data\txs-test-qdebug\bold=false +data\txs-test-qdebug\fontFamily= +data\txs-test-qdebug\foreground=#808000 +data\txs-test-qdebug\italic=false +data\txs-test-qdebug\overline=false +data\txs-test-qdebug\pointSize=0 +data\txs-test-qdebug\priority=-1 +data\txs-test-qdebug\strikeout=false +data\txs-test-qdebug\underline=false +data\txs-test-qdebug\waveUnderline=false +data\txs-test-qdebug\wrapAround=false +data\txs-test-summary\bold=true +data\txs-test-summary\fontFamily= +data\txs-test-summary\italic=false +data\txs-test-summary\overline=false +data\txs-test-summary\pointSize=0 +data\txs-test-summary\priority=-1 +data\txs-test-summary\strikeout=false +data\txs-test-summary\underline=false +data\txs-test-summary\waveUnderline=false +data\txs-test-summary\wrapAround=false +data\txs-test-warn\bold=false +data\txs-test-warn\fontFamily= +data\txs-test-warn\foreground=#ea8800 +data\txs-test-warn\italic=false +data\txs-test-warn\overline=false +data\txs-test-warn\pointSize=0 +data\txs-test-warn\priority=-1 +data\txs-test-warn\strikeout=false +data\txs-test-warn\underline=false +data\txs-test-warn\waveUnderline=false +data\txs-test-warn\wrapAround=false +data\txs-test\bold=true +data\txs-test\fontFamily= +data\txs-test\foreground=#0095ff +data\txs-test\italic=false +data\txs-test\overline=false +data\txs-test\pointSize=0 +data\txs-test\priority=-1 +data\txs-test\strikeout=false +data\txs-test\underline=false +data\txs-test\waveUnderline=false +data\txs-test\wrapAround=false data\verbatim\bold=false data\verbatim\fontFamily= data\verbatim\foreground=#008080 @@ -930,7 +995,7 @@ version=1.0 [texmaker] Beamer\Encoding=utf8 -Bibliography\BibFileEncoding=UTF-8 +Bibliography\BibFileEncoding=US-ASCII CentralToolBar=@Invalid() Common%20Encodings=UTF-8, ISO-8859-1, windows-1252, Apple Roman Crash%20Handler%20Type=1 @@ -958,12 +1023,14 @@ Editor\Check%20Syntax=true Editor\Close%20Search%20Replace%20Together=true Editor\Completion=true Editor\Completion%20Auto%20Insert%20Math=true +Editor\Completion%20Auto%20Insert%20Math%20Start=$ +Editor\Completion%20Auto%20Insert%20Math%20Stop=$ Editor\Completion%20Case%20Sensitive=0 Editor\Completion%20Complete%20Common%20Prefix=true Editor\Completion%20EOW%20Completes=false Editor\Completion%20Enable%20Tooltip%20Help=true Editor\Completion%20Enable%20Tooltip%20Preview=true -Editor\Completion%20Files=class-beamer.cwl, "class-scrartcl,scrreprt,scrbook.cwl", fontspec.cwl, geometry.cwl, graphicx.cwl, hyperref.cwl, latex-dev.cwl, latex-document.cwl, latex-mathsymbols.cwl, lipsum.cwl, minted.cwl, multirow.cwl, scrlayer-scrpage.cwl, siunitx.cwl, tasks.cwl, tex.cwl, tikz.cwl, url.cwl +Editor\Completion%20Files=class-beamer.cwl, "class-scrartcl,scrreprt,scrbook.cwl", fontspec.cwl, geometry.cwl, graphicx.cwl, hyperref.cwl, latex-dev.cwl, latex-document.cwl, lipsum.cwl, minted.cwl, multirow.cwl, siunitx.cwl, tasks.cwl, tex.cwl, tikz.cwl, url.cwl Editor\Completion%20Prefered%20Tab=0 Editor\Completion%20Show%20Placeholders=true Editor\Completion%20Tab%20Relative%20Font%20Size%20Percent=100 @@ -975,12 +1042,12 @@ Editor\Double-click%20Selection%20Includes%20Leading%20Backslash=true Editor\Esc%20for%20closing%20log=false Editor\Folding=true Editor\Font%20Family=Inconsolata -Editor\Font%20Size=11 +Editor\Font%20Size=16 Editor\GoToErrorWhenDisplayingLog=true Editor\Hack%20Auto%20Choose=true Editor\Hack%20Disable%20Accent%20Workaround=false Editor\Hack%20Disable%20Fixed%20Pitch=false -Editor\Hack%20Disable%20Line%20Cache=false +Editor\Hack%20Disable%20Line%20Cache=true Editor\Hack%20Disable%20Width%20Cache=false Editor\Hack%20QImage%20Cache=false Editor\Hack%20Render%20Mode=0 @@ -998,7 +1065,9 @@ Editor\Overwrite%20Closing%20Bracket%20Following%20Placeholder=true Editor\Overwrite%20Opening%20Bracket%20Followed%20By%20Placeholder=true Editor\Parentheses%20Completion=true Editor\Parentheses%20Matching=true +Editor\RUNAWAYLIMIT=30 Editor\Real-Time%20Spellchecking=true +Editor\RemoveTrailingWsOnSave=false Editor\Replace%20Quotes=0 Editor\ReplaceTextTabs=true Editor\ScanInstalledLatexPackages=true @@ -1019,6 +1088,7 @@ Editor\Use%20Line%20For%20Search=true Editor\UseEscForClosingEmbeddedViewer=true Editor\UseEscForClosingFullscreen=true Editor\UseQSaveFile=true +Editor\Vertical%20Over%20Scroll=false Editor\Visual%20Column%20Mode=true Editor\Weak%20Indent=false Editor\WordWrapMode=1 @@ -1031,16 +1101,16 @@ Files\AutoDetectEncodingFromLatex=true Files\Autoload=true Files\Autosave=0 Files\Bib%20Paths= -Files\Default%20File%20Filter=Fichiers TeX (*.tex *.bib *.sty *.cls *.mp *.dtx *.cfg *.ins *.ltx *.tikz *.pdf_tex *.ctx) +Files\Default%20File%20Filter=Tous les fichiers (*) Files\Image%20Paths= -Files\Last%20Document=/home/jeff/Cours/informatique/python - 2018.1/python - initiation - 2018.1/python_initiation_2018.1.tex +Files\Last%20Document=/home/jeff/Cours/2nde/2020/calcul mental/calcul mental - 2021.2/calcul_mental_2021.2.tex Files\Max%20Recent%20Files=5 Files\Max%20Recent%20Projects=3 Files\Max%20Recent%20Sessions=5 Files\New%20File%20Encoding=UTF-8 Files\Parse%20BibTeX=true Files\Parse%20Master=false -Files\Recent%20Files=/home/jeff/D\xe9veloppement/perso/latex/latex-homework/shortcuts/shortcuts.sty, /home/jeff/Cours/informatique/python - 2018.1/python - initiation - 2018.1/python_initiation_2018.1.tex, /home/jeff/Cours/informatique/python - 2018.1/python - initiation - 2018.1/partieV.tex, /home/jeff/D\xe9veloppement/perso/latex/latex-homework/commun/commun.sty, /home/jeff/Cours/informatique/python - 2018.1/python - initiation - 2018.1/partieII.tex +Files\Recent%20Files=/home/jeff/Cours/2nde/2020/calcul mental/calcul mental - 2021.2/calcul_mental_2021.2.tex, /home/jeff/Cours/2nde/2020/calcul mental/calcul mental - 2021.2/calcul_mental_100921.tex, /home/jeff/Cours/0tle/generale/analyse/suites/sequence 2 - recurrence et limites/cours - recurrence et limites - 2021.1/eleve - recurrence et limites - 2021.1/partieI.tex, /home/jeff/Cours/0tle/generale/analyse/suites/sequence 2 - recurrence et limites/cours - recurrence et limites - 2021.1/eleve - recurrence et limites - 2021.1/eleve_-_recurrence_et_limites_-_2021.1.tex, /home/jeff/Cours/0tle/generale/analyse/suites/sequence 2 - recurrence et limites/cours - recurrence et limites - 2021.1/prof - recurrence et limites - 2020.1/prof_-_recurrence_et_limites_-_2021.1.tex Files\Recent%20Files%20Highlighting=@Variant(\0\0\0\x7f\0\0\0\x10StringStringMap\0\0\0\0\0) Files\Recent%20Project%20Files=@Invalid() Files\Recent%20Session%20Files=@Invalid() @@ -1049,18 +1119,20 @@ Files\RestoreSession=true Files\Save%20Files%20Before%20Compiling=2 Files\Use%20Native%20File%20Dialog=true FormatToolBar=@Invalid() +GUI\ConfigShorcutColumnWidth=457 +GUI\PDFToobarIconSize=16 GUI\SecondaryToobarIconSize=16 -GUI\Style=false +GUI\Style=0 GUI\SymbolSize=32 GUI\Texmaker%20Palette=false GUI\ToobarIconSize=22 GUI\Use%20System%20Theme=true -Geometries\PdfViewerHeight=1305 -Geometries\PdfViewerLeft=1661 +Geometries\PdfViewerHeight=1311 +Geometries\PdfViewerLeft=1764 Geometries\PdfViewerMaximized=false -Geometries\PdfViewerState=@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\x2\0\0\0\0\0\0\0\0\0\0\0\0\xfc\x2\0\0\0\x3\xfb\0\0\0\xe\0o\0u\0t\0l\0i\0n\0\x65\0\0\0\0\0\xff\xff\xff\xff\0\0\0Y\0\xff\xff\xff\xfb\0\0\0\xe\0p\0\x64\0\x66\0i\0n\0\x66\0o\0\0\0\0\0\xff\xff\xff\xff\0\0\0Y\0\xff\xff\xff\xfb\0\0\0\x10\0o\0v\0\x65\0r\0v\0i\0\x65\0w\0\0\0\0\0\xff\xff\xff\xff\0\0\0Y\0\xff\xff\xff\0\0\0\x3\0\0\0\0\0\0\0\0\xfc\x1\0\0\0\x3\xfb\0\0\0\f\0s\0\x65\0\x61\0r\0\x63\0h\0\0\0\0\0\xff\xff\xff\xff\0\0\x2\x80\0\xff\xff\xff\xfb\0\0\0\n\0\x66\0o\0n\0t\0s\0\0\0\0\0\xff\xff\xff\xff\0\0\0\x46\0\xff\xff\xff\xfb\0\0\0\n\0\x63\0l\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\0:\0\xff\xff\xff\0\0\x3\x83\0\0\x4\xdd\0\0\0\x4\0\0\0\x4\0\0\0\b\0\0\0\b\xfc\0\0\0\x1\0\0\0\x2\0\0\0\x1\0\0\0\xe\0t\0o\0o\0l\0\x42\0\x61\0r\x1\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0) +Geometries\PdfViewerState="@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\x2\0\0\0\0\0\0\0\0\0\0\0\0\xfc\x2\0\0\0\x3\xfb\0\0\0\xe\0o\0u\0t\0l\0i\0n\0\x65\0\0\0\0\0\xff\xff\xff\xff\0\0\0u\0\xff\xff\xff\xfb\0\0\0\xe\0p\0\x64\0\x66\0i\0n\0\x66\0o\0\0\0\0\0\xff\xff\xff\xff\0\0\0u\0\xff\xff\xff\xfb\0\0\0\x10\0o\0v\0\x65\0r\0v\0i\0\x65\0w\0\0\0\0\0\xff\xff\xff\xff\0\0\0u\0\xff\xff\xff\0\0\0\x3\0\0\0\0\0\0\0\0\xfc\x1\0\0\0\x3\xfb\0\0\0\f\0s\0\x65\0\x61\0r\0\x63\0h\0\0\0\0\0\xff\xff\xff\xff\0\0\x2\x7f\0\xff\xff\xff\xfb\0\0\0\n\0\x66\0o\0n\0t\0s\0\0\0\0\0\xff\xff\xff\xff\0\0\0`\0\xff\xff\xff\xfb\0\0\0\n\0\x63\0l\0o\0\x63\0k\0\0\0\0\0\xff\xff\xff\xff\0\0\0;\0\xff\xff\xff\0\0\x3\x1c\0\0\x4\xde\0\0\0\x4\0\0\0\x4\0\0\0\b\0\0\0\b\xfc\0\0\0\x1\0\0\0\x2\0\0\0\x1\0\0\0\xe\0t\0o\0o\0l\0\x42\0\x61\0r\x1\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0)" Geometries\PdfViewerTop=0 -Geometries\PdfViewerWidth=899 +Geometries\PdfViewerWidth=796 Grammar\Bad%20Word%20Check=true Grammar\Display%20Error%200=true Grammar\Display%20Error%201=true @@ -1095,31 +1167,30 @@ Interface\Config%20Riddled=true Interface\Config%20Show%20Advanced%20Options=true Interface\Language= Interface\MRU%20Document%20Chooser=false +LogView\RememberChoiceLargeFile=0 LogView\WarnIfFileSizeLargerMB=2 -Macros\0=Comment, %\n%\n% \x2022\n%\n%, , -Macros\1=Cours frame, % frame\n\\begin{frame}\n\t\\ftitre\n\t\n\t\n\\end{frame}, , -Macros\2=Exercice, % exercice\n\\begin{exercice}\n\n\\end{exercice}, , -Macros\3=Questions, % questions\n\\begin{questions}\n\n\\end{questions}, , -Macros\4=Solution, % solution\n\\begin{solution}\n\t\n\\end{solution}, , -Macros\5=Vide, |\\fbox{\\phantom{XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX}}|, , -Macros\6=Python inline, \\pythoninline//, , -Macros\7=Python, % code python\n\\begin{python}\n\n\\end{python}, , +Macros\RepositoryURL=https://api.github.com/repos/texstudio-org/texstudio-macro/contents/ MathToolBar=@Invalid() -PDFSplitter=0.35130910511918717 +PDFSplitter=0.3110590074247753 Preview=true Preview\AnnotationPanelVisible=false +Preview\Auto%20Full%20Recompile=false Preview\Auto%20Preview=1 Preview\Auto%20Preview%20Delay=300 Preview\AutoHideToolbars=false Preview\CacheSize=512 +Preview\Continuous=false Preview\Cursor%20Follows%20Scrolling=false Preview\DPI=96 -Preview\EditTool=1 +Preview\EditTool=5 Preview\EnlargedEmbedded=false Preview\Grayscale=false +Preview\GridX=1 +Preview\GridY=1 Preview\HighlightColor=#FFFF003F Preview\HighlightDuration=2000 Preview\Invert%20Colors=false +Preview\LimitRenderQueues=-8 Preview\LoadStrategy=2 Preview\Magnifier%20Border=false Preview\Magnifier%20Shape=1 @@ -1133,15 +1204,21 @@ Preview\RenderBackend=0 Preview\Scale=100 Preview\Scale%20Option=1 Preview\Scrolling%20Follows%20Cursor=false +Preview\Search%20Case%20Sensitive=false +Preview\Search%20Sync=true Preview\SegmentPreviewScalePercent=150 +Preview\Single%20Page%20Step=true Preview\Sync%20File%20Mask="*.tex;*.tikz;*.pdf_tex;*.ctx" Preview\Sync%20Multiple%20Views=true Preview\ToolbarVisible=true +Preview\Whole%20Words=false Preview\ZoomStepFactor=1.4142135 Quick\AMS=false Quick\Author= +Quick\Babel=NONE Quick\Class=standalone Quick\Encoding=utf8 +Quick\FontEncoding=T1 Quick\Geometry%20Margin%20Bottom=0 Quick\Geometry%20Margin%20Bottom%20Enabled=false Quick\Geometry%20Margin%20Bottom%20Unit=cm @@ -1168,20 +1245,21 @@ Search\Ask%20before%20Replace=false Search\Case%20Sensitive=false Search\Cursor=true Search\Escape%20Sequence=false -Search\Find%20History=\\overrightarrow, \\vec{, \\begin{frame}, \\end{frame}, \\ftitre, \\uncover<+->, <+->, \\only<1>, \\only<[0-9]>, "\\textbf{(.+)} ", "$ [0\\; ;\\; 7] $", \\R, \\Se, {\\cdot}, \\begin{enumerate}[A)], \\be[A)], \\begin{enumerate}[A] +Search\Find%20History=\\overrightarrow, \\vec{, \\begin{frame}, \\end{frame}, \\ftitre, \\uncover<+->, <+->, \\only<1>, \\only<[0-9]>, "\\textbf{(.+)} ", "$ [0\\; ;\\; 7] $", \\R, \\Se, {\\cdot}, \\begin{enumerate}[A)], \\be[A)], \\begin{enumerate}[A], "- ", \\mathscr, {exe*}, {d\xe9\x66*}, \\medskip, \\smallskip, \\decompte{40} Search\Highlight=true Search\Regular%20Expression=false -Search\Replace%20History=\\Vec, , \\R, "$ [0\\; ;\\; 7] $", \\begin{enumerate}[A], \\be[A] +Search\Replace%20History=\\Vec, , \\R, "$ [0\\; ;\\; 7] $", \\begin{enumerate}[A], \\be[A], "\\item ", \\ronde, {exemple}, {definition}, \\smallskip, \\medskip, \\decompte{30} Search\Selection=false Search\Whole%20Words=false Session\StoreRelativePaths=true Spell\Dic= Spell\DictionaryDir="/usr/share/hunspell;[txs-settings-dir]/dictionaries" -Spell\Language=fr +Spell\Language= Startup\CheckLatexConfiguration=true Structure\MarkStructureElementsBeyondEnd=true Structure\MarkStructureElementsInAppendix=true Structure\ShowElementsInComments=false +StructureView\BackgroundColorInGlobalTOC=1 StructureView\IndentIncludes=false StructureView\Indentation=-1 StructureView\ReferenceCommandsInContextMenu=\\ref @@ -1194,13 +1272,13 @@ TableAutoformat\One%20Line%20Per%20Cell=false TableAutoformat\Special%20Command%20Position=0 TableAutoformat\Special%20Commands="\\hline,\\cline,\\intertext,\\shortintertext,\\toprule,\\midrule,\\bottomrule" TableToolBar=@Invalid() -Thesaurus\Database=/usr/share/mythes/thes_fr.dat +Thesaurus\Database=/usr/share/texstudio/th_fr_FR_v2.dat ToolBar\CentralVisible=true Tools\After%20BibTeX%20Change=tmx://latex && tmx://bibtex && tmx://latex Tools\Auto%20Checkin%20after%20Save%20level=0 Tools\Automatic%20Rerun%20Commands=latex|pdflatex|xelatex|lualatex|compile Tools\Automatic%20Rerun%20Times=5 -Tools\Commands\asy=asy ?m*.asy +Tools\Commands\asy=asy %.asy | convert -density 300 %.pdf -quality 100 %.png | convert -density 300 %.pdf -quality 100 %.svg Tools\Commands\asy-dvi-chain=txs:///latex | txs:///asy | txs:///latex | txs:///view-dvi Tools\Commands\asy-pdf-chain=txs:///pdflatex | txs:///asy | txs:///pdflatex | txs:///view-pdf Tools\Commands\biber=biber % @@ -1214,6 +1292,7 @@ Tools\Commands\dvi-ps-pdf-chain=txs:///latex | txs:///dvips | txs:///ps2pdf | tx Tools\Commands\dvipdf=dvipdfmx build/%.dvi Tools\Commands\dvipng=dvipng -T tight -D 120 build/%.dvi Tools\Commands\dvips=dvips -o build/%.ps build/%.dvi +Tools\Commands\git="git " Tools\Commands\glossary=txs:///makeglossaries Tools\Commands\gs=gs \"?am.ps\" Tools\Commands\index=txs:///makeindex @@ -1233,7 +1312,9 @@ Tools\Commands\quick=txs:///compile | txs:///view Tools\Commands\recompile-bibliography=txs:///compile | txs:///bibliography | txs:///compile Tools\Commands\svn= Tools\Commands\svnadmin= -Tools\Commands\texindy= +Tools\Commands\terminal-external=gnome-terminal +Tools\Commands\texdoc="texdoc " +Tools\Commands\texindy=texindy %.idx Tools\Commands\view=txs:///view-pdf Tools\Commands\view-dvi=xdg-open build/%.dvi > /dev/null Tools\Commands\view-pdf=txs:///view-pdf-internal --embedded @@ -1265,8 +1346,11 @@ Tools\Show%20Stdout=1 Tools\ShowLogInCaseOfCompileError=true Tools\SingleViewerInstance=false Tools\SupportShellStyleLiteralQuotes=true +Tools\UseVCS=0 +Tools\User%20Babel%20Options=@Invalid() Tools\User%20Class=standalone Tools\User%20Encoding=@Invalid() +Tools\User%20Font%20Encoding=@Invalid() Tools\User%20Options=preview, commun, shortcuts Tools\User%20Order=@Invalid() Tools\User%20Paper=@Invalid() @@ -1280,7 +1364,7 @@ User\ToolNames=@Invalid() User\Tools=@Invalid() View\ShowStatusbar=true X11\Font%20Family=DejaVu Sans -X11\Font%20Size=10 +X11\Font%20Size=11 X11\Style= changedLatexMenus=@Variant(\0\0\0\b\0\0\0\0) customCommands=@Invalid() @@ -1288,8 +1372,8 @@ customHighlighting=@Variant(\0\0\0\b\0\0\0\0) customIcons=@Variant(\0\0\0\b\0\0\0\0) keysetting\1\id=main/file/saveas~0 keysetting\1\key=Ctrl+Shift+S -keysetting\10\id=main/macros/tag3~0 -keysetting\10\key=Ctrl+F4 +keysetting\10\id=main/latex/magicComments/addMagicRoot~0 +keysetting\10\key=Ctrl+M keysetting\11\id=main/macros/tag4~0 keysetting\11\key=Ctrl+F5 keysetting\12\id=main/macros/tag5~0 @@ -1298,23 +1382,23 @@ keysetting\13\id=main/macros/tag6~0 keysetting\13\key=Ctrl+F7 keysetting\14\id=main/macros/tag7~0 keysetting\14\key=Ctrl+F8 -keysetting\2\id=main/edit2/uncomment~0 -keysetting\2\key= -keysetting\3\id=main/edit2/indent~0 -keysetting\3\key=Ctrl+] -keysetting\4\id=main/edit2/unindent~0 -keysetting\4\key=Ctrl+[ -keysetting\5\id=main/latex/fontstyles/textsl~0 -keysetting\5\key= -keysetting\6\id=main/latex/fontstyles/underline~0 -keysetting\6\key=Ctrl+U -keysetting\7\id=main/macros/tag0~0 -keysetting\7\key=Ctrl+F1 -keysetting\8\id=main/macros/tag1~0 -keysetting\8\key=Ctrl+F2 -keysetting\9\id=main/macros/tag2~0 -keysetting\9\key=Ctrl+F3 -keysetting\size=14 +keysetting\2\id=main/file/saveall~0 +keysetting\2\key=Ctrl+Alt+S +keysetting\3\id=main/edit2/togglecomment~0 +keysetting\3\key=Ctrl+/ +keysetting\4\id=main/edit2/uncomment~0 +keysetting\4\key= +keysetting\5\id=main/edit2/indent~0 +keysetting\5\key=Ctrl+] +keysetting\6\id=main/edit2/unindent~0 +keysetting\6\key=Ctrl+[ +keysetting\7\id=main/tools/commands/asymptote~0 +keysetting\7\key=F2 +keysetting\8\id=main/latex/fontstyles/textsl~0 +keysetting\8\key= +keysetting\9\id=main/latex/fontstyles/underline~0 +keysetting\9\key=Ctrl+U +keysetting\size=10 qttwp\address= qttwp\align=center qttwp\browser=firefox @@ -1333,6 +1417,6 @@ qttwp\userwidth=700 created_by_Qt_version=330497 created_by_TXS_hg_revision=2.12.10+debian-1 created_by_TXS_version=2.12.10 -written_by_Qt_version=330497 -written_by_TXS_hg_revision=2.12.10+debian-1 -written_by_TXS_version=2.12.10 +written_by_Qt_version=331522 +written_by_TXS_hg_revision= +written_by_TXS_version=3.1.2 diff --git a/conf.d/vscode/vscode-settings.json b/conf.d/vscode/vscode-settings.json index 0c86940..6b365a0 100644 --- a/conf.d/vscode/vscode-settings.json +++ b/conf.d/vscode/vscode-settings.json @@ -102,4 +102,8 @@ "git.autofetch": true, "gitlens.defaultDateFormat": "MMMM Do, YYYY HH:mm:ss", "gitlens.defaultTimeFormat": "HH:mm:ss", + "git.confirmSync": false, + "security.workspace.trust.untrustedFiles": "open", + "go.toolsManagement.autoUpdate": true, + "terminal.integrated.defaultProfile.linux": "zsh", } \ No newline at end of file diff --git a/conf.d/zim/zimrc b/conf.d/zim/zimrc index ece16a8..96507fb 100644 --- a/conf.d/zim/zimrc +++ b/conf.d/zim/zimrc @@ -23,8 +23,9 @@ zmodule jl-helper zmodule sudo # z module zmodule https://github.com/rupa/z.git +# zsh-kitty completion +zmodule https://github.com/redxtech/zsh-kitty.git -# # Prompt # # Exposes git repository status information to prompts. diff --git a/conf.d/zim/zshenv b/conf.d/zim/zshenv index d6f208f..c0b5348 100644 --- a/conf.d/zim/zshenv +++ b/conf.d/zim/zshenv @@ -30,7 +30,11 @@ export MYVIMRC="${HOME}/.vimrc" export PASSWORD_STORE_DIR="${HOME}/Private/.password-store" export PASSWORD_STORE_ENABLE_EXTENSIONS=True export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus -#<<< environment variables <<< +# <<< environment variables <<< + +# >>> kitty completion >>> +# __kitty_complete +# <<< kitty completion <<< # }}} End personnal configuration directives diff --git a/conf/tmux.conf b/conf/tmux.conf index ec74200..3022db0 100644 --- a/conf/tmux.conf +++ b/conf/tmux.conf @@ -76,11 +76,8 @@ bind -n C-Down select-pane -D # bind -r j select-pane -D # move down # bind -r k select-pane -U # move up # bind -r l select-pane -R # move right -bind -n C-> swap-pane -D # swap current pane with the next one -bind -n C-< swap-pane -U # swap current pane with the previous one - -# # maximize current pane -# bind + run 'cut -c3- ~/.tmux.conf | sh -s _maximize_pane "#{session_name}" #D' +bind -n C-S-PageDown swap-pane -D # swap current pane with the next one +bind -n C-S-PageUp swap-pane -U # swap current pane with the previous one # pane resizing # bind -r H resize-pane -L 2 @@ -95,57 +92,16 @@ bind -n C-PageUp previous-window # select previous window bind -n C-PageDown next-window # select next window bind Tab last-window # move to last active window -# # toggle mouse -# bind m run "cut -c3- ~/.tmux.conf | sh -s _toggle_mouse" - - -# -- list choice (tmux < 2.4) -------------------------------------------------- - -# vi-choice is gone in tmux >= 2.4 -run -b 'tmux bind -t vi-choice h tree-collapse 2> /dev/null || true' -run -b 'tmux bind -t vi-choice l tree-expand 2> /dev/null || true' -run -b 'tmux bind -t vi-choice K start-of-list 2> /dev/null || true' -run -b 'tmux bind -t vi-choice J end-of-list 2> /dev/null || true' -run -b 'tmux bind -t vi-choice H tree-collapse-all 2> /dev/null || true' -run -b 'tmux bind -t vi-choice L tree-expand-all 2> /dev/null || true' -run -b 'tmux bind -t vi-choice Escape cancel 2> /dev/null || true' - - -# -- edit mode (tmux < 2.4) ---------------------------------------------------- - -# vi-edit is gone in tmux >= 2.4 -run -b 'tmux bind -ct vi-edit H start-of-line 2> /dev/null || true' -run -b 'tmux bind -ct vi-edit L end-of-line 2> /dev/null || true' -run -b 'tmux bind -ct vi-edit q cancel 2> /dev/null || true' -run -b 'tmux bind -ct vi-edit Escape cancel 2> /dev/null || true' - # -- copy mode ----------------------------------------------------------------- -bind Enter copy-mode # enter copy mode +bind-key Space copy-mode +bind -n S-Pageup copy-mode -u +bind -n S-Pagedown send-keys PageDown -run -b 'tmux bind -t vi-copy v begin-selection 2> /dev/null || true' -run -b 'tmux bind -T copy-mode-vi v send -X begin-selection 2> /dev/null || true' -run -b 'tmux bind -t vi-copy C-v rectangle-toggle 2> /dev/null || true' -run -b 'tmux bind -T copy-mode-vi C-v send -X rectangle-toggle 2> /dev/null || true' -run -b 'tmux bind -t vi-copy y copy-selection 2> /dev/null || true' -run -b 'tmux bind -T copy-mode-vi y send -X copy-selection-and-cancel 2> /dev/null || true' -run -b 'tmux bind -t vi-copy Escape cancel 2> /dev/null || true' -run -b 'tmux bind -T copy-mode-vi Escape send -X cancel 2> /dev/null || true' -run -b 'tmux bind -t vi-copy H start-of-line 2> /dev/null || true' -run -b 'tmux bind -T copy-mode-vi H send -X start-of-line 2> /dev/null || true' -run -b 'tmux bind -t vi-copy L end-of-line 2> /dev/null || true' -run -b 'tmux bind -T copy-mode-vi L send -X end-of-line 2> /dev/null || true' - -# copy to macOS clipboard -if -b 'command -v pbcopy > /dev/null 2>&1' 'bind y run -b "tmux save-buffer - | pbcopy"' -if -b 'command -v reattach-to-user-namespace > /dev/null 2>&1' 'bind y run -b "tmux save-buffer - | reattach-to-user-namespace pbcopy"' -# copy to X11 clipboard -if -b 'command -v xsel > /dev/null 2>&1' 'bind y run -b "tmux save-buffer - | xsel -i -b"' -if -b '! command -v xsel > /dev/null 2>&1 && command -v xclip > /dev/null 2>&1' 'bind y run -b "tmux save-buffer - | xclip -i -selection clipboard >/dev/null 2>&1"' -# copy to Windows clipboard -if -b 'command -v clip.exe > /dev/null 2>&1' 'bind y run -b "tmux save-buffer - | clip.exe"' -if -b '[ -c /dev/clipboard ]' 'bind y run -b "tmux save-buffer - > /dev/clipboard"' +bind-key -T copy-mode-vi v send -X begin-selection +bind-key -T copy-mode-vi c-v send -X rectangle-toggle +bind-key -T copy-mode-vi y send -X copy-selection-and-cancel # -- buffers ------------------------------------------------------------------- diff --git a/conf/tmux.conf.local b/conf/tmux.conf.local index 19f7132..53f703b 100644 --- a/conf/tmux.conf.local +++ b/conf/tmux.conf.local @@ -47,7 +47,7 @@ if "test ! -d ~/.tmux/plugins/tpm" \ set -g @tpm_plugins ' \ tmux-plugins/tpm \ - jimeh/tmux-themepack \ + # jimeh/tmux-themepack \ dracula/tmux \ tmux-plugins/tmux-resurrect \ tmux-plugins/tmux-continuum \ diff --git a/meta/tasks/kitty.yaml b/meta/tasks/kitty.yaml index 2671492..3e7273e 100644 --- a/meta/tasks/kitty.yaml +++ b/meta/tasks/kitty.yaml @@ -3,8 +3,5 @@ glob: true path: conf.d/kitty/* -- shell: - - command: 'echo "\n# completion for kitty" >> $HOME/.oh-my-zsh/custom/zshrc.zsh' - - command: 'echo "kitty + complete setup zsh | source /dev/stdin" >> $HOME/.oh-my-zsh/custom/zshrc.zsh' - +