Up
This commit is contained in:
parent
aa7db54d00
commit
417250ac20
@ -1,8 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
echo "Updating/cleaning Vim plugins."
|
||||
|
||||
source ~/.vimrc
|
||||
|
||||
# Thanks for greywh in #vim for this tip
|
||||
vim -e -c ':PlugInstall' -c ':PlugClean' -c ':qa!'
|
@ -1,724 +0,0 @@
|
||||
# Ce fichier viminfo a été généré par Vim 8.1.
|
||||
# Vous pouvez l'éditer, mais soyez prudent.
|
||||
|
||||
# Viminfo version
|
||||
|1,4
|
||||
|
||||
# 'encoding' dans lequel ce fichier a été écrit
|
||||
*encoding=utf-8
|
||||
|
||||
|
||||
# hlsearch on (H) or off (h):
|
||||
~H
|
||||
# Dernier motif de recherche :
|
||||
~MSle0/window
|
||||
|
||||
# Dernier motif de recherche Substitue :
|
||||
~MSle0~&Generations.
|
||||
|
||||
# Dernières chaînes de substitution :
|
||||
$Generations - S05
|
||||
|
||||
# Historique ligne de commande (chronologie décroissante) :
|
||||
:q
|
||||
|2,0,1581428910,,"q"
|
||||
:q!
|
||||
|2,0,1581414898,,"q!"
|
||||
:w !sudo tee > /dev/null %
|
||||
|2,0,1581414890,,"w !sudo tee > /dev/null %"
|
||||
:Q
|
||||
|2,0,1581414681,,"Q"
|
||||
:%s/Generations./Generations - S05/
|
||||
|2,0,1581335986,,"%s/Generations./Generations - S05/"
|
||||
:%s/Generations./Generations - S04/
|
||||
|2,0,1581335808,,"%s/Generations./Generations - S04/"
|
||||
:%s/Generations./Generations - S06/
|
||||
|2,0,1581332914,,"%s/Generations./Generations - S06/"
|
||||
:w
|
||||
|2,0,1581332793,,"w"
|
||||
:<F2>
|
||||
|2,0,1581196486,,"<F2>"
|
||||
:buffers 1
|
||||
|2,0,1581099426,,"buffers 1"
|
||||
:buffer
|
||||
|2,0,1581099421,,"buffer"
|
||||
:buffers
|
||||
|2,0,1581099409,,"buffers"
|
||||
:PlugInstall
|
||||
|2,0,1580238038,,"PlugInstall"
|
||||
:source %
|
||||
|2,0,1580238033,,"source %"
|
||||
:h startify-faq
|
||||
|2,0,1580212834,,"h startify-faq"
|
||||
|
||||
# Historique chaîne de recherche (chronologie décroissante) :
|
||||
? Generations.
|
||||
|2,1,1581335986,,"Generations."
|
||||
?/window
|
||||
|2,1,1581331847,47,"window"
|
||||
? \<deb\>
|
||||
|2,1,1581099429,,"\\<deb\\>"
|
||||
|
||||
# Historique expression (chronologie décroissante) :
|
||||
|
||||
# Historique ligne de saisie (chronologie décroissante) :
|
||||
|
||||
# Historique Ligne de débogage (chronologie décroissante) :
|
||||
|
||||
# Registres :
|
||||
"0 LINE 0
|
||||
deb [arch=amd64] https://download.docker.com/linux/debian buster stable
|
||||
# deb-src [arch=amd64] https://download.docker.com/linux/debian buster stable
|
||||
|3,0,0,1,2,0,1581099351,"deb [arch=amd64] https://download.docker.com/linux/debian buster stable","# deb-src [arch=amd64] https://download.docker.com/linux/debian buster stable"
|
||||
"1 LINE 0
|
||||
stdout: true
|
||||
|3,0,1,1,1,0,1581340515," stdout: true"
|
||||
"2 LINE 0
|
||||
command: fc-cache -fv ~/.local/share/fonts
|
||||
|3,0,2,1,1,0,1581340514," command: fc-cache -fv ~/.local/share/fonts"
|
||||
"3 LINE 0
|
||||
-
|
||||
|3,0,3,1,1,0,1581340514," -"
|
||||
"4 LINE 0
|
||||
- shell:
|
||||
|3,0,4,1,1,0,1581340513,"- shell:"
|
||||
"5 BLOCK 45
|
||||
VOSTFR ''Mon Histoire'' ... WebDl1080p ! 2018
|
||||
VOSTFR ''Le Super Mode Papillon De Chôchô'' .
|
||||
VOSTFR ''Le Super Mode Baiser De Chôchô'' ...
|
||||
VOSTFR ''Les Amours Super Tumultueux De Chôch
|
||||
VOSTFR ''Au-Delà Du Stress'' ... WebDl1080p !
|
||||
VOSTFR ''La Pierre La Plus Dure Du Monde'' ..
|
||||
VOSTFR ''La Volonté De Mitsuki'' ... WebDl108
|
||||
VOSTFR ''La Face Cachée De La Lune'' ... WebD
|
||||
VOSTFR ''Bataille Contre Ino-Shika-Chô'' ...
|
||||
|3,0,5,2,9,45,1581336320," VOSTFR ''Mon Histoire'' ... WebDl1080p ! 2018"," VOSTFR ''Le Super Mode Papillon De Chôchô'' ."," VOSTFR ''Le Super Mode Baiser De Chôchô'' ..."," VOSTFR ''Les Amours Super Tumultueux De Chôch"," VOSTFR ''Au-Delà Du Stress'' ... WebDl1080p !"," VOSTFR ''La Pierre La Plus Dure Du Monde'' .."," VOSTFR ''La Volonté De Mitsuki'' ... WebDl108"," VOSTFR ''La Face Cachée De La Lune'' ... WebD",>49
|
||||
|<" VOSTFR ''Bataille Contre Ino-Shika-Chô'' ... "
|
||||
"6 BLOCK 28
|
||||
VOSTFR.1080p.WEB-DL.x264-ADN.
|
||||
VOSTFR.1080p.WEB-DL.x264-ADN.
|
||||
VOSTFR.1080p.WEB-DL.x264-ADN.
|
||||
VOSTFR.1080p.WEB-DL.x264-ADN.
|
||||
VOSTFR.1080p.WEB-DL.x264-ADN.
|
||||
VOSTFR.1080p.WEB-DL.x264-ADN.
|
||||
VOSTFR.1080p.WEB-DL.x264-ADN.
|
||||
VOSTFR.1080p.WEB-DL.x264-ADN.
|
||||
VOSTFR.1080p.WEB-DL.x264-ADN.
|
||||
VOSTFR.1080p.WEB-DL.x264-ADN.
|
||||
VOSTFR.1800p.WEB-DL.x264-ADN.
|
||||
VOSTFR.1080p.WEB-DL.x264-ADN.
|
||||
VOSTFR.1080p.WEB-DL.x264-ADN.
|
||||
VOSTFR.1080p.WEB-DL.x264-ADN.
|
||||
|3,0,6,2,14,28,1581335975,"VOSTFR.1080p.WEB-DL.x264-ADN.","VOSTFR.1080p.WEB-DL.x264-ADN.","VOSTFR.1080p.WEB-DL.x264-ADN.","VOSTFR.1080p.WEB-DL.x264-ADN.","VOSTFR.1080p.WEB-DL.x264-ADN.","VOSTFR.1080p.WEB-DL.x264-ADN.","VOSTFR.1080p.WEB-DL.x264-ADN.","VOSTFR.1080p.WEB-DL.x264-ADN.","VOSTFR.1080p.WEB-DL.x264-ADN.","VOSTFR.1080p.WEB-DL.x264-ADN.","VOSTFR.1800p.WEB-DL.x264-ADN.","VOSTFR.1080p.WEB-DL.x264-ADN.","VOSTFR.1080p.WEB-DL.x264-ADN.",>31
|
||||
|<"VOSTFR.1080p.WEB-DL.x264-ADN."
|
||||
"7 BLOCK 28
|
||||
VOSTFR.1080p.WEB-DL.x264-ADN.
|
||||
VOSTFR.1080p.WEB-DL.x264-ADN.
|
||||
VOSTFR.1080p.WEB-DL.x264-ADN.
|
||||
VOSTFR.1080p.WEB-DL.x264-ADN.
|
||||
VOSTFR.1080p.WEB-DL.x264-ADN.
|
||||
VOSTFR.1080p.WEB-DL.x264-ADN.
|
||||
VOSTFR.1080p.WEB-DL.x264-ADN.
|
||||
VOSTFR.1080p.WEB-DL.x264-ADN.
|
||||
|3,0,7,2,8,28,1581335792,"VOSTFR.1080p.WEB-DL.x264-ADN.","VOSTFR.1080p.WEB-DL.x264-ADN.","VOSTFR.1080p.WEB-DL.x264-ADN.","VOSTFR.1080p.WEB-DL.x264-ADN.","VOSTFR.1080p.WEB-DL.x264-ADN.","VOSTFR.1080p.WEB-DL.x264-ADN.","VOSTFR.1080p.WEB-DL.x264-ADN.","VOSTFR.1080p.WEB-DL.x264-ADN."
|
||||
"8 BLOCK 28
|
||||
.VOSTFR.1080p.WEB-DL.x264-ADN
|
||||
.VOSTFR.1080p.WEB-DL.x264-ADN
|
||||
.VOSTFR.1080p.WEB-DL.x264-ADN
|
||||
.VOSTFR.1080p.WEB-DL.x264-ADN
|
||||
.VOSTFR.1080p.WEB-DL.x264-ADN
|
||||
.VOSTFR.1080p.WEB-DL.x264-ADN
|
||||
.VOSTFR.1080p.WEB-DL.x264-ADN
|
||||
.VOSTFR.1080p.WEB-DL.x264-ADN
|
||||
.VOSTFR.1080p.WEB-DL.x264-ADN
|
||||
.VOSTFR.1080p.WEB-DL.x264-ADN
|
||||
.VOSTFR.1080p.WEB-DL.x264-ADN
|
||||
.VOSTFR.1080p.WEB-DL.x264-ADN
|
||||
.VOSTFR.1080p.WEB-DL.x264-ADN
|
||||
.VOSTFR.1080p.WEB-DL.x264-ADN
|
||||
.VOSTFR.1080p.WEB-DL.x264-ADN
|
||||
.VOSTFR.1080p.WEB-DL.x264-ADN
|
||||
|3,0,8,2,16,28,1581332903,".VOSTFR.1080p.WEB-DL.x264-ADN",".VOSTFR.1080p.WEB-DL.x264-ADN",".VOSTFR.1080p.WEB-DL.x264-ADN",".VOSTFR.1080p.WEB-DL.x264-ADN",".VOSTFR.1080p.WEB-DL.x264-ADN",".VOSTFR.1080p.WEB-DL.x264-ADN",".VOSTFR.1080p.WEB-DL.x264-ADN",".VOSTFR.1080p.WEB-DL.x264-ADN",".VOSTFR.1080p.WEB-DL.x264-ADN",".VOSTFR.1080p.WEB-DL.x264-ADN",".VOSTFR.1080p.WEB-DL.x264-ADN",".VOSTFR.1080p.WEB-DL.x264-ADN",".VOSTFR.1080p.WEB-DL.x264-ADN",>31
|
||||
|<".VOSTFR.1080p.WEB-DL.x264-ADN",".VOSTFR.1080p.WEB-DL.x264-ADN",".VOSTFR.1080p.WEB-DL.x264-ADN"
|
||||
"9 BLOCK 28
|
||||
VOSTFR.1080p.WEB-DL.x264-ADN.
|
||||
VOSTFR.1080p.WEB-DL.x264-ADN.
|
||||
VOSTFR.1080p.WEB-DL.x264-ADN.
|
||||
VOSTFR.1080p.WEB-DL.x264-ADN.
|
||||
VOSTFR.1080p.WEB-DL.x264-ADN.
|
||||
VOSTFR.1080p.WEB-DL.x264-ADN.
|
||||
VOSTFR.1080p.WEB-DL.x264-ADN.
|
||||
VOSTFR.1080p.WEB-DL.x264-ADN.
|
||||
VOSTFR.1080p.WEB-DL.x264-ADN.
|
||||
VOSTFR.1080p.WEB-DL.x264-ADN.
|
||||
|3,0,9,2,10,28,1581332787,"VOSTFR.1080p.WEB-DL.x264-ADN.","VOSTFR.1080p.WEB-DL.x264-ADN.","VOSTFR.1080p.WEB-DL.x264-ADN.","VOSTFR.1080p.WEB-DL.x264-ADN.","VOSTFR.1080p.WEB-DL.x264-ADN.","VOSTFR.1080p.WEB-DL.x264-ADN.","VOSTFR.1080p.WEB-DL.x264-ADN.","VOSTFR.1080p.WEB-DL.x264-ADN.","VOSTFR.1080p.WEB-DL.x264-ADN.","VOSTFR.1080p.WEB-DL.x264-ADN."
|
||||
""- CHAR 0
|
||||
y
|
||||
|3,1,36,0,1,0,1581429044,"y"
|
||||
|
||||
# Marques dans le fichier :
|
||||
'0 2 25 ~/Dotfiles/meta/configs/conky.yaml
|
||||
|4,48,2,25,1581429049,"~/Dotfiles/meta/configs/conky.yaml"
|
||||
'1 41 0 /etc/conky/conky.conf
|
||||
|4,49,41,0,1581428910,"/etc/conky/conky.conf"
|
||||
'2 3 1 ~/Dotfiles/kitty/fonts.conf
|
||||
|4,50,3,1,1581415966,"~/Dotfiles/kitty/fonts.conf"
|
||||
'3 41 49 /etc/conky/conky.conf
|
||||
|4,51,41,49,1581414898,"/etc/conky/conky.conf"
|
||||
'4 1 0 ~/.conky/conky-startup.sh
|
||||
|4,52,1,0,1581414684,"~/.conky/conky-startup.sh"
|
||||
'5 6 13 ~/.config/autostart/conky.desktop
|
||||
|4,53,6,13,1581346562,"~/.config/autostart/conky.desktop"
|
||||
'6 31 0 ~/.ncmpcpp/config
|
||||
|4,54,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
'7 5 33 ~/Dotfiles/meta/configs/gtk-theme-collections.yaml
|
||||
|4,55,5,33,1581341147,"~/Dotfiles/meta/configs/gtk-theme-collections.yaml"
|
||||
'8 5 47 ~/Dotfiles/meta/configs/gtk-themes-collections.yaml
|
||||
|4,56,5,47,1581341060,"~/Dotfiles/meta/configs/gtk-themes-collections.yaml"
|
||||
'9 2 34 ~/Dotfiles/meta/configs/gtk-themes-collections.yaml
|
||||
|4,57,2,34,1581340654,"~/Dotfiles/meta/configs/gtk-themes-collections.yaml"
|
||||
|
||||
# Liste de sauts (le plus récent en premier) :
|
||||
-' 2 25 ~/Dotfiles/meta/configs/conky.yaml
|
||||
|4,39,2,25,1581429049,"~/Dotfiles/meta/configs/conky.yaml"
|
||||
-' 1 0 ~/Dotfiles/meta/configs/conky.yaml
|
||||
|4,39,1,0,1581429032,"~/Dotfiles/meta/configs/conky.yaml"
|
||||
-' 41 0 /etc/conky/conky.conf
|
||||
|4,39,41,0,1581428910,"/etc/conky/conky.conf"
|
||||
-' 41 0 /etc/conky/conky.conf
|
||||
|4,39,41,0,1581428910,"/etc/conky/conky.conf"
|
||||
-' 3 1 ~/Dotfiles/kitty/fonts.conf
|
||||
|4,39,3,1,1581415966,"~/Dotfiles/kitty/fonts.conf"
|
||||
-' 3 1 ~/Dotfiles/kitty/fonts.conf
|
||||
|4,39,3,1,1581415966,"~/Dotfiles/kitty/fonts.conf"
|
||||
-' 1 0 /etc/conky/conky.conf
|
||||
|4,39,1,0,1581414942,"/etc/conky/conky.conf"
|
||||
-' 1 0 /etc/conky/conky.conf
|
||||
|4,39,1,0,1581414942,"/etc/conky/conky.conf"
|
||||
-' 41 49 /etc/conky/conky.conf
|
||||
|4,39,41,49,1581414898,"/etc/conky/conky.conf"
|
||||
-' 41 49 /etc/conky/conky.conf
|
||||
|4,39,41,49,1581414898,"/etc/conky/conky.conf"
|
||||
-' 1 0 ~/Dotfiles/kitty/fonts.conf
|
||||
|4,39,1,0,1581414851,"~/Dotfiles/kitty/fonts.conf"
|
||||
-' 1 0 ~/Dotfiles/kitty/fonts.conf
|
||||
|4,39,1,0,1581414851,"~/Dotfiles/kitty/fonts.conf"
|
||||
-' 1 0 /etc/conky/conky.conf
|
||||
|4,39,1,0,1581414810,"/etc/conky/conky.conf"
|
||||
-' 1 0 /etc/conky/conky.conf
|
||||
|4,39,1,0,1581414810,"/etc/conky/conky.conf"
|
||||
-' 1 0 ~/.conky/conky-startup.sh
|
||||
|4,39,1,0,1581414684,"~/.conky/conky-startup.sh"
|
||||
-' 1 0 ~/.conky/conky-startup.sh
|
||||
|4,39,1,0,1581414684,"~/.conky/conky-startup.sh"
|
||||
-' 1 0 ~/.conky/conky-startup.sh
|
||||
|4,39,1,0,1581414684,"~/.conky/conky-startup.sh"
|
||||
-' 1 0 ~/.conky/conky-startup.sh
|
||||
|4,39,1,0,1581414684,"~/.conky/conky-startup.sh"
|
||||
-' 1 0 ~/.conky/conky-startup.sh
|
||||
|4,39,1,0,1581414684,"~/.conky/conky-startup.sh"
|
||||
-' 1 0 ~/.conky/conky-startup.sh
|
||||
|4,39,1,0,1581414684,"~/.conky/conky-startup.sh"
|
||||
-' 1 0 ~/.conky/conky-startup.sh
|
||||
|4,39,1,0,1581414684,"~/.conky/conky-startup.sh"
|
||||
-' 1 0 ~/.conky/conky-startup.sh
|
||||
|4,39,1,0,1581414684,"~/.conky/conky-startup.sh"
|
||||
-' 1 0 ~/.conky/conky-startup.sh
|
||||
|4,39,1,0,1581414684,"~/.conky/conky-startup.sh"
|
||||
-' 1 0 ~/.conky/conky-startup.sh
|
||||
|4,39,1,0,1581414684,"~/.conky/conky-startup.sh"
|
||||
-' 6 13 ~/.config/autostart/conky.desktop
|
||||
|4,39,6,13,1581346562,"~/.config/autostart/conky.desktop"
|
||||
-' 6 13 ~/.config/autostart/conky.desktop
|
||||
|4,39,6,13,1581346562,"~/.config/autostart/conky.desktop"
|
||||
-' 6 13 ~/.config/autostart/conky.desktop
|
||||
|4,39,6,13,1581346562,"~/.config/autostart/conky.desktop"
|
||||
-' 6 13 ~/.config/autostart/conky.desktop
|
||||
|4,39,6,13,1581346562,"~/.config/autostart/conky.desktop"
|
||||
-' 6 13 ~/.config/autostart/conky.desktop
|
||||
|4,39,6,13,1581346562,"~/.config/autostart/conky.desktop"
|
||||
-' 6 13 ~/.config/autostart/conky.desktop
|
||||
|4,39,6,13,1581346562,"~/.config/autostart/conky.desktop"
|
||||
-' 6 13 ~/.config/autostart/conky.desktop
|
||||
|4,39,6,13,1581346562,"~/.config/autostart/conky.desktop"
|
||||
-' 6 13 ~/.config/autostart/conky.desktop
|
||||
|4,39,6,13,1581346562,"~/.config/autostart/conky.desktop"
|
||||
-' 6 13 ~/.config/autostart/conky.desktop
|
||||
|4,39,6,13,1581346562,"~/.config/autostart/conky.desktop"
|
||||
-' 6 13 ~/.config/autostart/conky.desktop
|
||||
|4,39,6,13,1581346562,"~/.config/autostart/conky.desktop"
|
||||
-' 6 13 ~/.config/autostart/conky.desktop
|
||||
|4,39,6,13,1581346562,"~/.config/autostart/conky.desktop"
|
||||
-' 6 13 ~/.config/autostart/conky.desktop
|
||||
|4,39,6,13,1581346562,"~/.config/autostart/conky.desktop"
|
||||
-' 6 13 ~/.config/autostart/conky.desktop
|
||||
|4,39,6,13,1581346562,"~/.config/autostart/conky.desktop"
|
||||
-' 6 13 ~/.config/autostart/conky.desktop
|
||||
|4,39,6,13,1581346562,"~/.config/autostart/conky.desktop"
|
||||
-' 6 13 ~/.config/autostart/conky.desktop
|
||||
|4,39,6,13,1581346562,"~/.config/autostart/conky.desktop"
|
||||
-' 6 13 ~/.config/autostart/conky.desktop
|
||||
|4,39,6,13,1581346562,"~/.config/autostart/conky.desktop"
|
||||
-' 6 13 ~/.config/autostart/conky.desktop
|
||||
|4,39,6,13,1581346562,"~/.config/autostart/conky.desktop"
|
||||
-' 6 13 ~/.config/autostart/conky.desktop
|
||||
|4,39,6,13,1581346562,"~/.config/autostart/conky.desktop"
|
||||
-' 6 13 ~/.config/autostart/conky.desktop
|
||||
|4,39,6,13,1581346562,"~/.config/autostart/conky.desktop"
|
||||
-' 6 13 ~/.config/autostart/conky.desktop
|
||||
|4,39,6,13,1581346562,"~/.config/autostart/conky.desktop"
|
||||
-' 1 0 ~/.config/autostart/conky.desktop
|
||||
|4,39,1,0,1581346545,"~/.config/autostart/conky.desktop"
|
||||
-' 1 0 ~/.config/autostart/conky.desktop
|
||||
|4,39,1,0,1581346545,"~/.config/autostart/conky.desktop"
|
||||
-' 1 0 ~/.config/autostart/conky.desktop
|
||||
|4,39,1,0,1581346545,"~/.config/autostart/conky.desktop"
|
||||
-' 1 0 ~/.config/autostart/conky.desktop
|
||||
|4,39,1,0,1581346545,"~/.config/autostart/conky.desktop"
|
||||
-' 1 0 ~/.config/autostart/conky.desktop
|
||||
|4,39,1,0,1581346545,"~/.config/autostart/conky.desktop"
|
||||
-' 1 0 ~/.config/autostart/conky.desktop
|
||||
|4,39,1,0,1581346545,"~/.config/autostart/conky.desktop"
|
||||
-' 1 0 ~/.config/autostart/conky.desktop
|
||||
|4,39,1,0,1581346545,"~/.config/autostart/conky.desktop"
|
||||
-' 1 0 ~/.config/autostart/conky.desktop
|
||||
|4,39,1,0,1581346545,"~/.config/autostart/conky.desktop"
|
||||
-' 1 0 ~/.config/autostart/conky.desktop
|
||||
|4,39,1,0,1581346545,"~/.config/autostart/conky.desktop"
|
||||
-' 1 0 ~/.config/autostart/conky.desktop
|
||||
|4,39,1,0,1581346545,"~/.config/autostart/conky.desktop"
|
||||
-' 1 0 ~/.config/autostart/conky.desktop
|
||||
|4,39,1,0,1581346545,"~/.config/autostart/conky.desktop"
|
||||
-' 1 0 ~/.config/autostart/conky.desktop
|
||||
|4,39,1,0,1581346545,"~/.config/autostart/conky.desktop"
|
||||
-' 1 0 ~/.config/autostart/conky.desktop
|
||||
|4,39,1,0,1581346545,"~/.config/autostart/conky.desktop"
|
||||
-' 1 0 ~/.config/autostart/conky.desktop
|
||||
|4,39,1,0,1581346545,"~/.config/autostart/conky.desktop"
|
||||
-' 1 0 ~/.config/autostart/conky.desktop
|
||||
|4,39,1,0,1581346545,"~/.config/autostart/conky.desktop"
|
||||
-' 1 0 ~/.config/autostart/conky.desktop
|
||||
|4,39,1,0,1581346545,"~/.config/autostart/conky.desktop"
|
||||
-' 1 0 ~/.config/autostart/conky.desktop
|
||||
|4,39,1,0,1581346545,"~/.config/autostart/conky.desktop"
|
||||
-' 1 0 ~/.config/autostart/conky.desktop
|
||||
|4,39,1,0,1581346545,"~/.config/autostart/conky.desktop"
|
||||
-' 1 0 ~/.config/autostart/conky.desktop
|
||||
|4,39,1,0,1581346545,"~/.config/autostart/conky.desktop"
|
||||
-' 1 0 ~/.config/autostart/conky.desktop
|
||||
|4,39,1,0,1581346545,"~/.config/autostart/conky.desktop"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
-' 31 0 ~/.ncmpcpp/config
|
||||
|4,39,31,0,1581343292,"~/.ncmpcpp/config"
|
||||
|
||||
# Historique des marques dans les fichiers (les plus récentes en premier) :
|
||||
|
||||
> ~/Dotfiles/meta/configs/conky.yaml
|
||||
* 1581429049 0
|
||||
" 2 25
|
||||
^ 2 26
|
||||
. 2 25
|
||||
+ 2 25
|
||||
|
||||
> /etc/conky/conky.conf
|
||||
* 1581414968 0
|
||||
" 41 0
|
||||
^ 41 50
|
||||
. 41 49
|
||||
+ 29 25
|
||||
+ 31 19
|
||||
+ 41 49
|
||||
|
||||
> ~/Dotfiles/kitty/fonts.conf
|
||||
* 1581414857 0
|
||||
" 3 1
|
||||
|
||||
> ~/.conky/conky-startup.sh
|
||||
* 1581414683 0
|
||||
" 1 0
|
||||
|
||||
> ~/.config/autostart/conky.desktop
|
||||
* 1581346562 0
|
||||
" 6 13
|
||||
^ 6 14
|
||||
. 6 13
|
||||
+ 6 13
|
||||
|
||||
> ~/.ncmpcpp/config
|
||||
* 1581343292 0
|
||||
" 31 0
|
||||
^ 31 1
|
||||
. 31 0
|
||||
+ 30 0
|
||||
+ 31 0
|
||||
|
||||
> ~/Dotfiles/meta/configs/gtk-theme-collections.yaml
|
||||
* 1581341147 0
|
||||
" 5 33
|
||||
. 5 33
|
||||
+ 5 33
|
||||
|
||||
> ~/Dotfiles/meta/configs/gtk-themes-collections.yaml
|
||||
* 1581341058 0
|
||||
" 5 47
|
||||
^ 5 48
|
||||
. 5 47
|
||||
+ 3 0
|
||||
+ 2 15
|
||||
+ 3 16
|
||||
+ 5 47
|
||||
|
||||
> ~/Dotfiles/.gitmodules
|
||||
* 1581340440 0
|
||||
" 1 0
|
||||
|
||||
> ~/Dotfiles/meta/configs/fonts-linux.yaml
|
||||
* 1581340392 0
|
||||
" 1 0
|
||||
|
||||
> ~/Dotfiles/meta/configs/slate.yaml
|
||||
* 1581340381 0
|
||||
" 1 0
|
||||
|
||||
> ~/Dotfiles/meta/configs/awesome.yaml
|
||||
* 1581340357 0
|
||||
" 1 0
|
||||
|
||||
> /usr/local/src/conky-manager/makefile
|
||||
* 1581339054 0
|
||||
" 1 0
|
||||
|
||||
> /usr/local/src/conky-manager/INSTALL
|
||||
* 1581337565 0
|
||||
" 346 5
|
||||
|
||||
> /usr/local/src/conky-manager/README
|
||||
* 1581337530 0
|
||||
" 1 0
|
||||
|
||||
> /tmp/tmpm5_bgl3_
|
||||
* 1581336388 0
|
||||
" 1 0
|
||||
|
||||
> /tmp/tmpyna3ahiu
|
||||
* 1581336387 0
|
||||
" 1 33
|
||||
^ 1 39
|
||||
. 2 0
|
||||
+ 1 36
|
||||
+ 2 36
|
||||
+ 3 36
|
||||
+ 4 36
|
||||
+ 5 36
|
||||
+ 6 36
|
||||
+ 7 36
|
||||
+ 8 36
|
||||
+ 9 36
|
||||
+ 2 0
|
||||
|
||||
> /tmp/tmpyc2atbaq
|
||||
* 1581336229 0
|
||||
" 1 0
|
||||
|
||||
> /tmp/tmp8769r5l2
|
||||
* 1581336226 0
|
||||
" 1 39
|
||||
^ 1 40
|
||||
. 2 0
|
||||
+ 2 0
|
||||
|
||||
> /tmp/tmpp71l632k
|
||||
* 1581335995 0
|
||||
" 14 0
|
||||
. 1 0
|
||||
+ 1 0
|
||||
|
||||
> /tmp/tmpqabjoj4u
|
||||
* 1581335995 0
|
||||
" 1 0
|
||||
|
||||
> /tmp/tmp13nbwvah
|
||||
* 1581335812 0
|
||||
" 1 0
|
||||
|
||||
> /tmp/tmp4_lafhiz
|
||||
* 1581335810 0
|
||||
" 8 0
|
||||
. 1 0
|
||||
+ 1 0
|
||||
|
||||
> /tmp/tmpq989yqqr
|
||||
* 1581332917 0
|
||||
" 16 0
|
||||
. 1 0
|
||||
+ 1 0
|
||||
|
||||
> /tmp/tmpiblzy4_f
|
||||
* 1581332917 0
|
||||
" 1 0
|
||||
|
||||
> /tmp/tmpa56ikmng
|
||||
* 1581332872 0
|
||||
" 1 0
|
||||
|
||||
> /tmp/tmpwuay1r82
|
||||
* 1581332871 0
|
||||
" 12 0
|
||||
^ 3 37
|
||||
. 1 0
|
||||
+ 1 32
|
||||
+ 2 32
|
||||
+ 1 37
|
||||
+ 2 37
|
||||
+ 3 38
|
||||
+ 1 0
|
||||
|
||||
> ~/.config/qutebrowser/config.py
|
||||
* 1581332168 0
|
||||
" 1041 40
|
||||
^ 1041 41
|
||||
. 1041 40
|
||||
+ 779 36
|
||||
+ 1026 0
|
||||
+ 1030 37
|
||||
+ 1035 35
|
||||
+ 1041 40
|
||||
|
||||
> /tmp/tmpovveoyo0
|
||||
* 1581331493 0
|
||||
" 1 35
|
||||
|
||||
> ~/MakeMKV_log.txt
|
||||
* 1581196674 0
|
||||
" 1 0
|
||||
|
||||
> ~/.config/ranger/rifle.conf
|
||||
* 1581196584 0
|
||||
" 262 0
|
||||
|
||||
> ~/NERD_tree_1
|
||||
* 1581196582 0
|
||||
" 11 0
|
||||
. 1 0
|
||||
+ 1 0
|
||||
|
||||
> ~/.config/ranger/scope.sh
|
||||
* 1581196490 0
|
||||
" 57 8
|
||||
|
||||
> ~/NERD_tree_2
|
||||
* 1581196486 0
|
||||
" 4 0
|
||||
. 1 0
|
||||
+ 1 0
|
||||
|
||||
> ~/.zshrc
|
||||
* 1581193730 0
|
||||
" 1 0
|
||||
|
||||
> ~/.zshenv
|
||||
* 1581193661 0
|
||||
" 21 16
|
||||
^ 21 17
|
||||
. 21 16
|
||||
+ 24 0
|
||||
+ 21 16
|
||||
|
||||
> ~/.config/mopidy/mopidy.conf
|
||||
* 1581193419 0
|
||||
" 71 0
|
||||
|
||||
> /tmp/abcde/abcde.930b660b/datasource.0
|
||||
* 1581173173 0
|
||||
" 1 0
|
||||
|
||||
> /tmp/abcde/abcde.930b660b/cddbread.0
|
||||
* 1581173153 0
|
||||
" 23 18
|
||||
^ 23 19
|
||||
. 23 18
|
||||
+ 23 18
|
||||
|
||||
> /tmp/abcde/abcde.930b660b/cddbquery
|
||||
* 1581173135 0
|
||||
" 1 0
|
||||
|
||||
> /tmp/abcde/abcde.930b660b/cddbdiscid
|
||||
* 1581173129 0
|
||||
" 1 0
|
||||
|
||||
> /tmp/abcde/abcde.930b660b/cddbchoices
|
||||
* 1581173124 0
|
||||
" 1 0
|
||||
|
||||
> /etc/apt/sources.list
|
||||
* 1581099550 0
|
||||
" 9 0
|
||||
. 10 0
|
||||
+ 10 0
|
||||
|
||||
> /etc/apt/sources.list.d/docker.list
|
||||
* 1581099495 0
|
||||
" 2 27
|
||||
^ 2 28
|
||||
. 2 27
|
||||
+ 6 80
|
||||
+ 6 1
|
||||
+ 5 0
|
||||
+ 3 0
|
||||
+ 6 0
|
||||
+ 3 1
|
||||
+ 2 27
|
||||
|
||||
> /etc/apt/sources.list.d/NERD_tree_1
|
||||
* 1581099390 0
|
||||
" 19 0
|
||||
. 1 0
|
||||
+ 1 0
|
||||
|
||||
> /etc/auto.nfs
|
||||
* 1580930000 0
|
||||
" 1 0
|
||||
|
||||
> ~/.vimrc
|
||||
* 1580238240 0
|
||||
" 71 0
|
||||
^ 111 18
|
||||
. 111 17
|
||||
+ 59 20
|
||||
+ 60 28
|
||||
+ 62 16
|
||||
+ 63 5
|
||||
+ 99 6
|
||||
+ 100 0
|
||||
+ 152 6
|
||||
+ 153 0
|
||||
+ 160 6
|
||||
+ 161 0
|
||||
+ 63 0
|
||||
+ 61 0
|
||||
+ 111 17
|
||||
|
||||
> ~/tmp/NERD_tree_2
|
||||
* 1580238204 0
|
||||
" 8 0
|
||||
. 1 0
|
||||
+ 1 0
|
||||
|
||||
> ~/tmp/NERD_tree_1
|
||||
* 1580238129 0
|
||||
" 41 0
|
||||
. 1 0
|
||||
+ 1 0
|
||||
|
||||
> ~/Dotfiles/vim/vim/NERD_tree_1
|
||||
* 1580238048 0
|
||||
" 7 0
|
||||
. 1 0
|
||||
+ 1 0
|
||||
|
||||
> ~/Dotfiles/vim/vim/plug.vim
|
||||
* 1580238021 0
|
||||
" 31 49
|
||||
^ 31 50
|
||||
. 31 49
|
||||
+ 30 18
|
||||
+ 32 0
|
||||
+ 31 49
|
||||
|
||||
> .vim/plug.vim
|
||||
* 1580237714 0
|
||||
" 1 0
|
||||
|
||||
> ~/Développement/perso/latex/latex-homework/jl-cours/jl-cours.cls
|
||||
* 1580213194 0
|
||||
" 278 0
|
||||
|
||||
> ~/upgrade-buster1.time
|
||||
* 1580213160 0
|
||||
" 1 0
|
||||
|
||||
> ~/upgrade-buster1.script
|
||||
* 1580213155 0
|
||||
" 1 0
|
||||
|
||||
> ~/latex-homework.txss
|
||||
* 1580213153 0
|
||||
" 1 0
|
||||
|
||||
> ~/env.yml
|
||||
* 1580213142 0
|
||||
" 71 2
|
||||
|
||||
> ~/Dotfiles/vim/vim/plugged/vim-startify/doc/startify.txt
|
||||
* 1580213025 0
|
||||
" 987 66
|
Binary file not shown.
@ -1,6 +0,0 @@
|
||||
" Vim syntax for Vagrantfile
|
||||
" Language: ruby
|
||||
" Maintainer: Jeff LANCE
|
||||
" Latest Revision: 31/12/2017
|
||||
|
||||
autocmd BufRead,BufNewFile Vagrantfile set filetype=ruby
|
@ -1,116 +0,0 @@
|
||||
" File : functions.vim
|
||||
" Author : Jeff LANCE <email@jefflance.me>
|
||||
" Date : 15.04.2015
|
||||
" Last Modified Date: 24.06.2020
|
||||
" Last Modified By : Jeff LANCE <email@jefflance.me>
|
||||
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
" _____ _ _ _ _ ____ _____ ___ ___ _ _ ____
|
||||
" | ___| | | | \ | |/ ___|_ _|_ _/ _ \| \ | / ___|
|
||||
" | |_ | | | | \| | | | | | | | | | \| \___ \
|
||||
" | _| | |_| | |\ | |___ | | | | |_| | |\ |___) |
|
||||
" |_| \___/|_| \_|\____| |_| |___\___/|_| \_|____/
|
||||
"
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
|
||||
" Rename current file
|
||||
function! RenameFile()
|
||||
let old_name = expand('%')
|
||||
let new_name = input('New file name: ', expand('%'), 'file')
|
||||
if new_name != '' && new_name != old_name
|
||||
exec ':saveas ' . new_name
|
||||
exec ':silent !rm ' . old_name
|
||||
redraw!
|
||||
endif
|
||||
endfunction
|
||||
|
||||
|
||||
" Window movement shortcuts
|
||||
" move to the window in the direction shown, or create a new window
|
||||
function! WinMove(key)
|
||||
let t:curwin = winnr()
|
||||
exec "wincmd ".a:key
|
||||
if (t:curwin == winnr())
|
||||
if (match(a:key,'[jk]'))
|
||||
wincmd v
|
||||
else
|
||||
wincmd s
|
||||
endif
|
||||
exec "wincmd ".a:key
|
||||
endif
|
||||
endfunction
|
||||
|
||||
|
||||
" Count buffers
|
||||
function! CountBuffers()
|
||||
let bufcount = 0
|
||||
for buf in getbufinfo()
|
||||
let bufcount += 1
|
||||
endfor
|
||||
return bufcount
|
||||
endfunction
|
||||
|
||||
|
||||
" Test if current buffer is netrw buffer
|
||||
function! IsExplorerBuffer()
|
||||
if (getbufvar('%', '&filetype') == "netrw"
|
||||
\ || bufname('%') =~ 'NetrwTreeListing'
|
||||
\ || bufname('%') =~ '[defx] defxplorer-0')
|
||||
return 1
|
||||
endif
|
||||
return 0
|
||||
endfunction
|
||||
|
||||
|
||||
" Test if current buffer is empty
|
||||
function! IsEmptyBuffer()
|
||||
if (bufname('%') == '')
|
||||
return 1
|
||||
endif
|
||||
return 0
|
||||
endfunction
|
||||
|
||||
|
||||
" Close current buffer
|
||||
" If the last buffer is closed go back to Startify
|
||||
function! BufClose()
|
||||
if (CountBuffers() == 1 || IsExplorerBuffer() || IsEmptyBuffer())
|
||||
bwipeout
|
||||
Startify
|
||||
else
|
||||
bwipeout
|
||||
endif
|
||||
endfunction
|
||||
|
||||
|
||||
" COC functions {{{
|
||||
" -----
|
||||
|
||||
function! s:check_back_space() abort
|
||||
let col = col('.') - 1
|
||||
return !col || getline('.')[col - 1] =~# '\s'
|
||||
endfunction
|
||||
|
||||
function! s:show_documentation()
|
||||
if (index(['vim','help'], &filetype) >= 0)
|
||||
execute 'h '.expand('<cword>')
|
||||
elseif (coc#rpc#ready())
|
||||
call CocActionAsync('doHover')
|
||||
else
|
||||
execute '!' . &keywordprg . " " . expand('<cword>')
|
||||
endif
|
||||
endfunction
|
||||
|
||||
"function! s:show_documentation()
|
||||
" if (index(['vim','help'], &filetype) >= 0)
|
||||
" execute 'h '.expand('<cword>')
|
||||
" else
|
||||
" call CocAction('doHover')
|
||||
" endif
|
||||
"endfunction
|
||||
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
" vim:ft=vim
|
@ -1,323 +0,0 @@
|
||||
" File : keybindings.vim
|
||||
" Author : Jeff LANCE <email@jefflance.me>
|
||||
" Date : 15.04.2015
|
||||
" Last Modified Date: 24.06.2020
|
||||
" Last Modified By : Jeff LANCE <email@jefflance.me>
|
||||
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
" _ _________ ______ ___ _ _ ____ ___ _ _ ____ ____
|
||||
" | |/ / ____\ \ / / __ )_ _| \ | | _ \_ _| \ | |/ ___/ ___|
|
||||
" | ' /| _| \ V /| _ \| || \| | | | | || \| | | _\___ \
|
||||
" | . \| |___ | | | |_) | || |\ | |_| | || |\ | |_| |___) |
|
||||
" |_|\_\_____| |_| |____/___|_| \_|____/___|_| \_|\____|____/
|
||||
"
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
|
||||
" Custom {{{
|
||||
" -----
|
||||
|
||||
" Disable highlights when you press <leader><cr>:
|
||||
map <silent> <leader><cr> :noh<cr>
|
||||
|
||||
" Enable folding with the spacebar
|
||||
nnoremap <space> za
|
||||
|
||||
" Source current file
|
||||
map <leader>s :echom 'Source file' <bar> :so %<cr>
|
||||
|
||||
" Two semicolons to escape
|
||||
imap ;; <Esc>
|
||||
|
||||
" Open a current file with sudo
|
||||
" map <silent> <leader>E :e suda://%<cr>
|
||||
|
||||
" Save a current file with sudo
|
||||
" map <silent> <leader>W :w suda://%<cr>
|
||||
|
||||
" Comment the target of a motion
|
||||
map <silent> <leader>/ :Commentary<cr>
|
||||
|
||||
" Indent line
|
||||
map <silent> <C-]> >>
|
||||
map <silent> <C-[> <<
|
||||
|
||||
" (Re|Un)do
|
||||
map <silent> <C-u> uu
|
||||
|
||||
" Save as
|
||||
map <C-s> :saveas<cr>
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
" Buffers {{{
|
||||
" -----
|
||||
|
||||
command! -bang -nargs=? -complete=dir Files
|
||||
\ call fzf#vim#files(
|
||||
\ <q-args>,
|
||||
\ fzf#vim#with_preview(
|
||||
\ {'options': ['--layout=reverse', '--info=inline']}
|
||||
\ ),
|
||||
\ <bang>0
|
||||
\ )
|
||||
map <C-w> :echom 'Close buffer' <bar> :call BufClose()<cr>
|
||||
map <C-o> :e
|
||||
map <C-n> :Startify<cr>
|
||||
map <C-PageDown> :bn<cr>
|
||||
map <C-PageUp> :bp<cr>
|
||||
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
" Windows {{{
|
||||
" -----
|
||||
|
||||
map <C-h> :call WinMove('h')<cr>
|
||||
map <C-j> :call WinMove('j')<cr>
|
||||
map <C-k> :call WinMove('k')<cr>
|
||||
map <C-l> :call WinMove('l')<cr>
|
||||
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
" Tabs {{{
|
||||
" -----
|
||||
|
||||
"map <leader>tn :tabnew<cr> <bar> :Startify<cr>
|
||||
"map <leader>tc :tabclose<cr>
|
||||
"map <C-]> :tabnext<cr>
|
||||
"map <C-[> :tabprev<cr>
|
||||
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
" COC {{{
|
||||
" -----
|
||||
|
||||
" Use tab for trigger completion with characters ahead and navigate.
|
||||
" NOTE: Use command ':verbose imap <tab>' to make sure tab is not mapped by
|
||||
" other plugin before putting this into your config.
|
||||
inoremap <silent><expr> <TAB>
|
||||
\ pumvisible() ? "\<C-n>" :
|
||||
\ <SID>check_back_space() ? "\<TAB>" :
|
||||
\ coc#refresh()
|
||||
inoremap <expr><S-TAB> pumvisible() ? "\<C-p>" : "\<C-h>"
|
||||
|
||||
" Use <cr> to confirm completion, `<C-g>u` means break undo chain at current
|
||||
" position. Coc only does snippet and additional edit on confirm.
|
||||
" <cr> could be remapped by other vim plugin, try `:verbose imap <CR>`.
|
||||
if exists('*complete_info')
|
||||
inoremap <expr> <cr> complete_info()["selected"] != "-1" ? "\<C-y>" : "\<C-g>u\<CR>"
|
||||
else
|
||||
inoremap <expr> <cr> pumvisible() ? "\<C-y>" : "\<C-g>u\<CR>"
|
||||
endif
|
||||
|
||||
" Use <c-space> to trigger completion.
|
||||
if has('nvim')
|
||||
inoremap <silent><expr> <C-space> coc#refresh()
|
||||
else
|
||||
inoremap <silent><expr> <C-@> coc#refresh()
|
||||
endif
|
||||
|
||||
" Use `[g` and `]g` to navigate diagnostics
|
||||
" Use `:CocDiagnostics` to get all diagnostics of current buffer in location list.
|
||||
nmap <silent> [g <Plug>(coc-diagnostic-prev)
|
||||
nmap <silent> ]g <Plug>(coc-diagnostic-next)
|
||||
|
||||
" GoTo code navigation.
|
||||
nmap <silent> gd <Plug>(coc-definition)
|
||||
nmap <silent> gy <Plug>(coc-type-definition)
|
||||
nmap <silent> gi <Plug>(coc-implementation)
|
||||
nmap <silent> gr <Plug>(coc-references)
|
||||
|
||||
" Use K to show documentation in preview window.
|
||||
nnoremap <silent> K :call <SID>show_documentation()<CR>
|
||||
|
||||
" Symbol renaming.
|
||||
nmap <leader>rn <Plug>(coc-rename)
|
||||
|
||||
" Formatting selected code.
|
||||
xmap <leader>f <Plug>(coc-format-selected)
|
||||
nmap <leader>f <Plug>(coc-format-selected)
|
||||
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
" Defx {{{
|
||||
" -----
|
||||
|
||||
map <silent> <f3> :Defx<cr>
|
||||
|
||||
function! s:defx_toggle_tree() abort
|
||||
" Open current file, or toggle directory expand/collapse
|
||||
if defx#is_directory()
|
||||
return defx#do_action('open_or_close_tree')
|
||||
endif
|
||||
return defx#do_action('drop')
|
||||
endfunction
|
||||
|
||||
autocmd FileType defx call s:defx_my_settings()
|
||||
function! s:defx_my_settings() abort
|
||||
" Define mappings
|
||||
" nnoremap <silent><buffer><expr> <CR> defx#do_action('drop')
|
||||
nnoremap <silent><buffer><expr> <cr>
|
||||
\ defx#is_directory() ?
|
||||
\ defx#do_action('open_directory') :
|
||||
\ defx#do_action('multi', ['drop', 'quit'])
|
||||
nnoremap <silent><buffer><expr> c
|
||||
\ defx#do_action('copy')
|
||||
nnoremap <silent><buffer><expr> m
|
||||
\ defx#do_action('move')
|
||||
nnoremap <silent><buffer><expr> p
|
||||
\ defx#do_action('paste')
|
||||
nnoremap <silent><buffer><expr> l
|
||||
\ defx#do_action('open')
|
||||
nnoremap <silent><buffer><expr> E
|
||||
\ defx#do_action('open', 'vsplit')
|
||||
nnoremap <silent><buffer><expr> P
|
||||
\ defx#do_action('open', 'pedit')
|
||||
nnoremap <silent><buffer><expr> o
|
||||
\ defx#do_action('open_or_close_tree')
|
||||
nnoremap <silent><buffer><expr> K
|
||||
\ defx#do_action('new_directory')
|
||||
nnoremap <silent><buffer><expr> N
|
||||
\ defx#do_action('new_file')
|
||||
nnoremap <silent><buffer><expr> M
|
||||
\ defx#do_action('new_multiple_files')
|
||||
nnoremap <silent><buffer><expr> C
|
||||
\ defx#do_action('toggle_columns',
|
||||
\ 'mark:indent:icon:filename:type:size:time')
|
||||
nnoremap <silent><buffer><expr> S
|
||||
\ defx#do_action('toggle_sort', 'time')
|
||||
nnoremap <silent><buffer><expr> d
|
||||
\ defx#do_action('remove')
|
||||
nnoremap <silent><buffer><expr> r
|
||||
\ defx#do_action('rename')
|
||||
nnoremap <silent><buffer><expr> !
|
||||
\ defx#do_action('execute_command')
|
||||
nnoremap <silent><buffer><expr> x
|
||||
\ defx#do_action('execute_system')
|
||||
nnoremap <silent><buffer><expr> yy
|
||||
\ defx#do_action('yank_path')
|
||||
nnoremap <silent><buffer><expr> .
|
||||
\ defx#do_action('toggle_ignored_files')
|
||||
nnoremap <silent><buffer><expr> ;
|
||||
\ defx#do_action('repeat')
|
||||
nnoremap <silent><buffer><expr> h
|
||||
\ defx#do_action('cd', ['..'])
|
||||
nnoremap <silent><buffer><expr> ~
|
||||
\ defx#do_action('cd')
|
||||
nnoremap <silent><buffer><expr> q
|
||||
\ defx#do_action('quit')
|
||||
nnoremap <silent><buffer><expr> <Space>
|
||||
\ defx#do_action('toggle_select') . 'j'
|
||||
nnoremap <silent><buffer><expr> *
|
||||
\ defx#do_action('toggle_select_all')
|
||||
nnoremap <silent><buffer><expr> j
|
||||
\ line('.') == line('$') ? 'gg' : 'j'
|
||||
nnoremap <silent><buffer><expr> k
|
||||
\ line('.') == 1 ? 'G' : 'k'
|
||||
nnoremap <silent><buffer><expr> <C-l>
|
||||
\ defx#do_action('redraw')
|
||||
nnoremap <silent><buffer><expr> <C-g>
|
||||
\ defx#do_action('print')
|
||||
nnoremap <silent><buffer><expr> cd
|
||||
\ defx#do_action('change_vim_cwd')
|
||||
endfunction
|
||||
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
" FZF {{{
|
||||
" -----
|
||||
|
||||
map <C-f> :Files<cr>
|
||||
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
" Header {{{
|
||||
" -----
|
||||
|
||||
map <f4> :AddHeader<cr>
|
||||
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
" Plug {{{
|
||||
" -----
|
||||
|
||||
map Pud :PlugUpdate<cr>
|
||||
map Pug :PlugUpgrade<cr>
|
||||
map Pui :PlugInstall<cr>
|
||||
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
"" REPL {{{
|
||||
"" -----
|
||||
"
|
||||
"nnoremap <leader>rp :REPLToggle<Cr>
|
||||
"autocmd Filetype python nnoremap <F12> <Esc>:REPLDebugStopAtCurrentLine<Cr>
|
||||
"autocmd Filetype python nnoremap <F10> <Esc>:REPLPDBN<Cr>
|
||||
"autocmd Filetype python nnoremap <F11> <Esc>:REPLPDBS<Cr>
|
||||
"
|
||||
"" -----
|
||||
"" }}}
|
||||
|
||||
|
||||
" Vimroom {{{
|
||||
" -----
|
||||
|
||||
nnoremap <silent> <leader>z :Goyo<cr>
|
||||
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
" Vimux {{{
|
||||
" -----
|
||||
|
||||
map <Leader>vp :VimuxPromptCommand<cr>
|
||||
" map <Leader>vr :VimuxRunCommand<cr>
|
||||
" map <Leader>vo :VimuxOpenRunner<cr>
|
||||
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
" Functions {{{
|
||||
" -----
|
||||
|
||||
" Renaming
|
||||
map <leader>r :call RenameFile()<cr>
|
||||
|
||||
" Open file under cursor
|
||||
map <leader>o :call GotoFile("")<cr>
|
||||
|
||||
map <leader>' ciw''<esc>P
|
||||
map <leader>" c""<esc>P
|
||||
map <leader>[ c[]<esc>P
|
||||
map <leader>{ c{}<esc>P
|
||||
|
||||
" Rewrap paragraph using <S-q>
|
||||
map <silent> <S-q> {gq}<Bar>:echo "Rewrapped paragraph"<CR>
|
||||
|
||||
" Git
|
||||
map <silent> <leader>Gs :Git status<cr>
|
||||
map <leader>Ga :Git add
|
||||
map <leader>Gc :Git commit
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
" vim:ft=vim
|
@ -1,36 +0,0 @@
|
||||
dist: trusty
|
||||
|
||||
env:
|
||||
global:
|
||||
- DEPS=$HOME/deps
|
||||
- PATH=$DEPS/bin:$PATH
|
||||
|
||||
before_install:
|
||||
- sudo apt-get install python-pip
|
||||
- pip install --user awscli
|
||||
- export PATH="$PATH:$HOME/.local/bin"
|
||||
- curl --silent -L "https://s3-us-west-1.amazonaws.com/kite-data/tensorflow/libtensorflow-cpu-linux-x86_64-1.9.0.tar.gz" | tar -C $HOME -xz
|
||||
- curl --silent --compressed --output "$HOME/kited-test" "https://s3-us-west-1.amazonaws.com/kited-test/linux/kited-test"
|
||||
- chmod u+x "$HOME/kited-test"
|
||||
|
||||
install: |
|
||||
git config --global user.email "you@example.com"
|
||||
git config --global user.name "Your Name"
|
||||
C_OPTS="--prefix=$DEPS --with-features=huge --disable-gui "
|
||||
git clone --depth 1 https://github.com/vim/vim
|
||||
cd vim
|
||||
export PATH=/usr/bin:$PATH
|
||||
./configure $C_OPTS
|
||||
make
|
||||
make install
|
||||
cd -
|
||||
export PATH=$DEPS/bin:$PATH
|
||||
export VIM="$(which vim)"
|
||||
|
||||
|
||||
script:
|
||||
- vim --version
|
||||
- cd test && bash test
|
||||
- export LD_LIBRARY_PATH="$HOME/lib:$LD_LIBRARY_PATH"
|
||||
- echo "Running tests with kited-local --------------" && $HOME/kited-test > ~/kite.log 2>&1 & sleep 20 && bash editor_tests && killall kited-test
|
||||
|
@ -1,30 +0,0 @@
|
||||
# Installation
|
||||
|
||||
## Manual installation
|
||||
|
||||
### Vim
|
||||
|
||||
Assuming your Vim configuration is in `~/.vim/`:
|
||||
|
||||
```sh
|
||||
$ mkdir -p ~/.vim/pack/kite/start/kite
|
||||
$ git clone https://github.com/kiteco/vim-plugin.git ~/.vim/pack/kite/start/kite/
|
||||
```
|
||||
|
||||
Restart Vim.
|
||||
|
||||
|
||||
### Neovim
|
||||
|
||||
Assuming your Neovim configuration is in `~/.config/nvim`:
|
||||
|
||||
```sh
|
||||
$ mkdir -p ~/.config/nvim/pack/kite/start/kite
|
||||
$ git clone https://github.com/kiteco/vim-plugin.git ~/.config/nvim/pack/kite/start/kite/
|
||||
```
|
||||
|
||||
Restart Neovim.
|
||||
|
||||
# Development
|
||||
|
||||
When working on the plugin, ensure the file `~/.kite/vim-development` (or `$LOCALAPPDATA$\Kite\vim-development` on Windows) is present. This tells the plugin to use development mode, i.e. to use the non-production key when POSTing metrics to Segment.
|
@ -1,4 +0,0 @@
|
||||
Copyright (c) 2017 Manhattan Engineering, Inc - All Rights Reserved
|
||||
|
||||
Reproduction of this material is strictly forbidden unless prior written
|
||||
permission is obtained from Manhattan Engineering, Inc.
|
@ -1,216 +0,0 @@
|
||||
# Kite Python Plugin for Vim/Neovim
|
||||
|
||||
Kite is an AI-powered programming assistant that helps you write Python code inside Vim. Kite helps you write code faster by showing you the right information at the right time. Learn more about how Kite helps you while you're using Vim at https://kite.com/integrations/vim/.
|
||||
|
||||
At a high level, Kite provides you with:
|
||||
* 🧠 __[Line-of-Code Completions](#Line-of-Code-Completions)__ powered by machine learning models trained on the entire open source code universe
|
||||
* 📝 __[Intelligent Snippets](#Intelligent-Snippets)__ that automatically provide context-relevant code snippets for your function calls
|
||||
* 🔍 __[Instant documentation](#Kite-Copilot-for-Python-Documentation)__ for the symbol underneath your cursor so you save time searching for Python docs
|
||||
|
||||
|
||||
## Requirements
|
||||
|
||||
* macOS 10.10+ or Windows 7+ or Linux (Ubuntu, Debian, Fedora, Arch Linux, Linux Mint, openSUSE, KDE, XFCE, Gnome 2, Gnome 3)
|
||||
* Vim 8 or Neovim
|
||||
* [Kite Engine](https://kite.com/)
|
||||
|
||||
Use another editor? Check out [Kite’s other editor integrations](https://kite.com/integrations/).
|
||||
|
||||
|
||||
## Installation
|
||||
|
||||
### Installing the Kite Engine
|
||||
|
||||
The [Kite Engine](https://kite.com/) needs to be installed and running on your computer in order for the package to work properly. The package itself provides the frontend that interfaces with the Kite Engine, which performs all the code analysis and machine learning 100% locally on your computer (no code is sent to a cloud server).
|
||||
|
||||
__macOS Instructions__
|
||||
1. Download the [installer](https://kite.com/download/) and open the downloaded `.dmg` file.
|
||||
2. Drag the Kite icon into the `Applications` folder.
|
||||
3. Run `Kite.app` to start the Kite Engine.
|
||||
|
||||
__Windows Instructions__
|
||||
1. Download the [installer](https://kite.com/download/) and run the downloaded `.exe` file.
|
||||
2. The installer should run the Kite Engine automatically after installation is complete.
|
||||
|
||||
__Linux Instructions__
|
||||
1. Visit https://kite.com/linux/ to learn how to install Kite.
|
||||
2. The installer should run the Kite Engine automatically after installation is complete.
|
||||
|
||||
### Installing the Kite plugin for Vim/Neovim
|
||||
|
||||
When running the Kite Engine for the first time, you'll be guided through a setup process which will allow you to install the Vim/Neovim plugin. You can also install or uninstall the Vim plugin at any time using the Kite Engine's [plugin manager](https://help.kite.com/article/62-managing-editor-plugins).
|
||||
|
||||
Alternatively, you can follow the instructions in the [DEVELOPMENT.md](https://github.com/kiteco/vim-plugin/blob/master/DEVELOPMENT.md) file to learn how to manually install the Vim/Neovim plugin.
|
||||
|
||||
Once installed, the plugin will be automatically updated by Kite when necessary.
|
||||
|
||||
### Configuring supported languages
|
||||
|
||||
Kite supports 12 languages and counting. By default only Python is enabled. You can configure the languages for which Kite is enabled:
|
||||
|
||||
```viml
|
||||
" Python, JavaScript, Go
|
||||
let g:kite_supported_languages = ['python', 'javascript', 'go']
|
||||
|
||||
" All the languages Kite supports
|
||||
let g:kite_supported_languages = ['*']
|
||||
|
||||
" Turn off Kite
|
||||
let g:kite_supported_languages = []
|
||||
```
|
||||
|
||||
[Learn more about why Kite is the best autocomplete for Vim.](https://kite.com/integrations/vim/)
|
||||
|
||||
|
||||
## Features
|
||||
|
||||
Kite's Vim/Neovim plugin provides a number of features to help you code better and faster.
|
||||
|
||||
|
||||
### Line-of-Code Completions
|
||||
|
||||
Kite's ranked completions are integrated with Vim's insert-mode completion, specifically the user-defined completion. Kite shows normal completions or signature-completions as appropriate for the cursor position.
|
||||
|
||||
By default Kite's completions will show up automatically as you type. You can opt out via:
|
||||
|
||||
```viml
|
||||
let g:kite_auto_complete=0
|
||||
```
|
||||
|
||||
You can manually invoke the completions in insert mode with `<C-X><C-U>`. See `:h i_CTRL-X_CTRL-U` for details.
|
||||
|
||||
Kite's completions include snippets by default. To opt out of the snippets, add this to your vimrc:
|
||||
|
||||
```viml
|
||||
let g:kite_snippets=0
|
||||
```
|
||||
|
||||
Normally you insert the currently selected completion option with `<C-y>`. If you'd like to use `<Tab>` instead / as well, add this to your vimrc:
|
||||
|
||||
```viml
|
||||
let g:kite_tab_complete=1
|
||||
```
|
||||
|
||||
For any kind of completion you must set 'completopt' as follows:
|
||||
|
||||
```viml
|
||||
set completeopt+=menuone
|
||||
```
|
||||
|
||||
For automatic completion, you also need either:
|
||||
|
||||
```viml
|
||||
set completeopt+=noselect
|
||||
```
|
||||
|
||||
or:
|
||||
|
||||
```viml
|
||||
set completeopt+=noinsert
|
||||
```
|
||||
|
||||
To see documentation in the preview window for each completion option, copy all the lines above into your vimrc and change the preview line to:
|
||||
|
||||
```viml
|
||||
set completeopt+=preview
|
||||
```
|
||||
|
||||
To have the preview window automatically closed once a completion has been inserted:
|
||||
|
||||
```viml
|
||||
autocmd CompleteDone * if !pumvisible() | pclose | endif
|
||||
```
|
||||
|
||||
We also recommend:
|
||||
|
||||
```viml
|
||||
set belloff+=ctrlg " if vim beeps during completion
|
||||
```
|
||||
|
||||
|
||||
### Intelligent Snippets
|
||||
|
||||
Some completions are actually autogenerated code snippets which can be filled in. These will be highlighted with the Underline highlight group.
|
||||
|
||||
You can navigate between placeholders with `<CTRL-J>` (forward) and `<CTRL-K>` (backward), even after you have typed over the original placeholder text.
|
||||
|
||||
To change these keys:
|
||||
|
||||
```viml
|
||||
let g:kite_previous_placeholder = '<C-H>'
|
||||
let g:kite_next_placeholder = '<C-L>`
|
||||
```
|
||||
|
||||
|
||||
### Signatures
|
||||
|
||||
Kite can show how other people used the signature you are using. By default this is off to save space.
|
||||
|
||||
To turn it on: `:KiteShowPopularPatterns`.
|
||||
|
||||
To turn it off: `:KiteHidePopularPatterns`.
|
||||
|
||||
|
||||
### Kite Copilot for Python Documentation
|
||||
|
||||
As you edit your code, the [Kite Copilot](https://kite.com/copilot/) will automatically show examples and docs for the code under your cursor.
|
||||
|
||||
Alternatively, you can press `K` when the cursor is on a symbol to view its documentation in Kite Copilot.
|
||||
|
||||
If you have mapped `K` already, the plugin won't overwrite your mapping. You can set an alternative mapping, e.g. to `gK`, like this:
|
||||
|
||||
```viml
|
||||
nmap <silent> <buffer> gK <Plug>(kite-docs)
|
||||
```
|
||||
|
||||
By default you need to type `K` (or whatever you have mapped to `<Plug>(kite-docs)`) each time you want to see documentation for the keyword under the cursor. To have the documentation continually update itself as you move from keyword to keyword:
|
||||
|
||||
```viml
|
||||
let g:kite_documentation_continual=1
|
||||
```
|
||||
|
||||
|
||||
### Goto Definition
|
||||
|
||||
Use `<C-]>` or `:KiteGotoDefinition` to jump to a method's definition.
|
||||
|
||||
|
||||
### Commands
|
||||
|
||||
- `KiteDocsAtCursor` - show documentation for the keyword under the cursor.
|
||||
- `KiteOpenCopilot` - open the Kite Copilot and focus on it.
|
||||
- `KiteGeneralSettings` - open Kite's settings in the Copilot.
|
||||
- `KitePermissions` - open Kite's permission settings in the Copilot.
|
||||
- `KiteTutorial` - show a tutorial for how to use Kite with Vim.
|
||||
- `KiteEnableAutoStart` - start Kite automatically when Vim starts.
|
||||
- `KiteDisableAutoStart` - do not start Kite automatically when Vim starts.
|
||||
- `KiteGotoDefinition` - jump to a method's definition.
|
||||
|
||||
|
||||
|
||||
### Statusline
|
||||
|
||||
Add `%{kite#statusline()}` to your statusline to get an indicator of what Kite is doing. If you don't have a status line, this one matches the default when `&ruler` is set:
|
||||
|
||||
```viml
|
||||
set statusline=%<%f\ %h%m%r%{kite#statusline()}%=%-14.(%l,%c%V%)\ %P
|
||||
set laststatus=2 " always display the status line
|
||||
```
|
||||
|
||||
|
||||
### Debugging
|
||||
|
||||
Use `let g:kite_log=1` to switch on logging. Logs are written to `kite-vim.log` in Vim's current working directory.
|
||||
|
||||
|
||||
---
|
||||
|
||||
#### About Kite
|
||||
|
||||
Kite is built by a team in San Francisco devoted to making programming easier and more enjoyable for all. Follow Kite on
|
||||
[Twitter](https://twitter.com/kitehq) and get the latest news and programming tips on the
|
||||
[Kite Blog](https://kite.com/blog/).
|
||||
Kite has been featured in [Wired](https://www.wired.com/2016/04/kites-coding-asssitant-spots-errors-finds-better-open-source/),
|
||||
[VentureBeat](https://venturebeat.com/2019/01/28/kite-raises-17-million-for-its-ai-powered-developer-environment/),
|
||||
[The Next Web](https://thenextweb.com/dd/2016/04/14/kite-plugin/), and
|
||||
[TechCrunch](https://techcrunch.com/2019/01/28/kite-raises-17m-for-its-ai-driven-code-completion-tool/).
|
@ -1 +0,0 @@
|
||||
1.0.77
|
@ -1,35 +0,0 @@
|
||||
*kite.txt* Kite for VIM
|
||||
|
||||
|
||||
Kite for VIM
|
||||
============
|
||||
|
||||
VIM is now integrated with Kite! To get a taste of what Kite can do, open a
|
||||
saved Python file and start coding away.
|
||||
|
||||
1. Autocompletions
|
||||
|
||||
As you code, Kite will provide autocompletion suggestions ranked by popularity
|
||||
using all the open source code on GitHub.
|
||||
|
||||
2. Documentation
|
||||
|
||||
Press |K| when your cursor is over a identifier to open a split window with
|
||||
documentation about the identifier. In addition to documentation, Kite also
|
||||
provides information about where you've used the identifier in your codebase,
|
||||
as well as curated code examples showing you how to use the identifier.
|
||||
|
||||
3. Goto Definition
|
||||
|
||||
Press |C-]| to jump to a method's defintion.
|
||||
|
||||
4. Copilot integration
|
||||
|
||||
While you code in VIM, the Copilot will automatically show you information
|
||||
about the code that you're currently working with. To open the Copilot, click
|
||||
on the Kite menubar icon and select "Open Copilot".
|
||||
|
||||
To learn more about Kite and how to use the VIM plugin, visit our [help
|
||||
page](http://help.kite.com).
|
||||
|
||||
vim:tw=78:et:ft=help:norl
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,101 +0,0 @@
|
||||
if exists('g:loaded_kite') || &cp
|
||||
finish
|
||||
endif
|
||||
|
||||
if has('nvim')
|
||||
if !has('nvim-0.3')
|
||||
echoerr 'Kite requires Neovim 0.3 or greater'
|
||||
finish
|
||||
endif
|
||||
else
|
||||
if v:version < 800 || !has('patch-8.0.0027')
|
||||
echoerr 'Kite requires Vim 8.0.0027 or greater'
|
||||
finish
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
let g:loaded_kite = 1
|
||||
|
||||
|
||||
filetype on
|
||||
|
||||
|
||||
" The list of languages / file types for which we want Kite's completions.
|
||||
if !exists('g:kite_supported_languages')
|
||||
let g:kite_supported_languages = ['python']
|
||||
endif
|
||||
|
||||
if !exists('g:kite_auto_complete')
|
||||
let g:kite_auto_complete = 1
|
||||
endif
|
||||
|
||||
if !exists('g:kite_snippets')
|
||||
let g:kite_snippets = 1
|
||||
endif
|
||||
|
||||
if !exists('g:kite_previous_placeholder')
|
||||
let g:kite_previous_placeholder = '<C-K>'
|
||||
endif
|
||||
|
||||
if !exists('g:kite_next_placeholder')
|
||||
let g:kite_next_placeholder = '<C-J>'
|
||||
endif
|
||||
|
||||
if !exists('g:kite_documentation_continual')
|
||||
let g:kite_documentation_continual = 0
|
||||
endif
|
||||
|
||||
if !exists('g:kite_log')
|
||||
let g:kite_log = 0
|
||||
endif
|
||||
|
||||
if !exists('g:kite_short_timeout')
|
||||
let g:kite_short_timeout = 120 " ms
|
||||
endif
|
||||
|
||||
if !exists('g:kite_long_timeout')
|
||||
let g:kite_long_timeout = 400 " ms
|
||||
endif
|
||||
|
||||
if !exists('g:kite_completion_max_width')
|
||||
let g:kite_completion_max_width = 75
|
||||
endif
|
||||
|
||||
if !(has('nvim') || has('job'))
|
||||
call kite#utils#warn('disabled - requires nvim or vim with the +job feature')
|
||||
finish
|
||||
endif
|
||||
|
||||
if !(has('nvim') || has('timers'))
|
||||
call kite#utils#warn('disabled - requires nvim or vim with the +timers feature')
|
||||
finish
|
||||
endif
|
||||
|
||||
" Nvim-QT
|
||||
if exists('g:GuiLoaded')
|
||||
GuiPopupmenu 0
|
||||
endif
|
||||
|
||||
augroup Kite
|
||||
autocmd!
|
||||
autocmd BufEnter * call kite#bufenter()
|
||||
autocmd VimEnter * call kite#configure_completeopt()
|
||||
autocmd VimEnter * nested if kite#utils#kite_running() && &filetype !~# '^git' | call kite#onboarding#call(0) | endif
|
||||
augroup END
|
||||
|
||||
|
||||
nnoremap <silent> <Plug>(kite-docs) :call kite#docs#docs()<CR>
|
||||
|
||||
command! KiteDocsAtCursor call kite#docs#docs()
|
||||
command! KiteOpenCopilot call kite#client#copilot()
|
||||
command! KiteGeneralSettings call kite#client#settings()
|
||||
command! KitePermissions call kite#client#permissions()
|
||||
command! KiteTutorial call kite#onboarding#call(1)
|
||||
command! KiteDisableAutoStart call kite#disable_auto_start()
|
||||
command! KiteEnableAutoStart call kite#enable_auto_start()
|
||||
command! KiteShowPopularPatterns call kite#signature#show_popular_patterns()
|
||||
command! KiteHidePopularPatterns call kite#signature#hide_popular_patterns()
|
||||
command! KiteGotoDefinition call kite#hover#goto_definition()
|
||||
command! KiteFindRelatedCodeFromFileExperimental call kite#codenav#from_file()
|
||||
command! KiteFindRelatedCodeFromLineExperimental call kite#codenav#from_line()
|
@ -1,27 +0,0 @@
|
||||
if exists('b:current_syntax')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
" Section headings
|
||||
syntax match kiteHeading /\v^[A-Z* ]+$/
|
||||
highlight link kiteHeading String
|
||||
|
||||
|
||||
" Usages / Definitions
|
||||
syntax include @python syntax/python.vim
|
||||
syntax region kiteSnippet start=/\v^\[.+:\d+\]/ end=/$/ keepend contains=kiteRef,kiteCode
|
||||
syntax match kiteRef /\v^\[.+:\d+\]/ contained
|
||||
syntax region kiteCode start=/ / end=/$/ contains=@python contained
|
||||
highlight link kiteRef Comment
|
||||
|
||||
|
||||
" Links
|
||||
syntax region MyLink start=/^-> /hs=e end=/\v(\s\(\a+[.]\a{2,3}\))?$/he=s-1 contains=Domain
|
||||
syntax match Domain /\v\(\a+[.]\a{2,3}\)/
|
||||
highlight link MyLink Underlined
|
||||
highlight link Domain Comment
|
||||
|
||||
|
||||
let b:current_syntax = 'kite'
|
||||
|
@ -1,167 +0,0 @@
|
||||
" File : plug.vim
|
||||
" Author : Jeff LANCE <email@jefflance.me>
|
||||
" Date : 15.04.2015
|
||||
" Last Modified Date: 24.06.2020
|
||||
" Last Modified By : Jeff LANCE <email@jefflance.me>
|
||||
|
||||
""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
" __ _____ __ __ ____ _ _ _ ____
|
||||
" \ \ / /_ _| \/ | | _ \| | | | | |/ ___|
|
||||
" \ \ / / | || |\/| | | |_) | | | | | | | _
|
||||
" \ V / | || | | | | __/| |__| |_| | |_| |
|
||||
" \_/ |___|_| |_| |_| |_____\___/ \____|
|
||||
"
|
||||
""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
|
||||
" General {{{
|
||||
" -----
|
||||
|
||||
" Install vim-plug if we don't already have it
|
||||
if empty(glob('~/.vim/autoload/plug.vim'))
|
||||
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
|
||||
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||
autocmd VimEnter * PlugInstall --sync | source ${MYVIMRC}
|
||||
endif
|
||||
|
||||
" Specify a directory for plugins
|
||||
" - For Neovim: ~/.local/share/nvim/plugged
|
||||
" - Avoid using standard Vim directory names like 'plugin'
|
||||
call plug#begin('~/.vim/plugged')
|
||||
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
" Plugins {{{
|
||||
" -----
|
||||
|
||||
" Startup screen
|
||||
Plug 'mhinz/vim-startify'
|
||||
|
||||
" Deoplete
|
||||
if has('nvim')
|
||||
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
||||
Plug 'Shougo/defx.nvim', { 'do': ':UpdateRemotePlugins' }
|
||||
Plug 'kristijanhusak/defx-icons'
|
||||
else
|
||||
Plug 'Shougo/deoplete.nvim'
|
||||
Plug 'Shougo/defx.nvim'
|
||||
Plug 'kristijanhusak/defx-icons'
|
||||
endif
|
||||
Plug 'roxma/nvim-yarp'
|
||||
Plug 'roxma/vim-hug-neovim-rpc'
|
||||
|
||||
" Buffer exploration
|
||||
Plug 'bagrat/vim-buffet', { 'as': 'buffet' }
|
||||
|
||||
" Folding
|
||||
Plug 'Konfekt/FastFold'
|
||||
|
||||
" Markdown
|
||||
Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() } }
|
||||
" Plug 'plasticboy/vim-markdown', { 'for': 'markdown' }
|
||||
|
||||
" Git integration
|
||||
Plug 'tpope/vim-fugitive'
|
||||
|
||||
" Quoting, etc...
|
||||
Plug 'tpope/vim-surround'
|
||||
|
||||
" Commenting shortcuts
|
||||
Plug 'tpope/vim-commentary'
|
||||
|
||||
" Abolish
|
||||
Plug 'tpope/vim-abolish'
|
||||
|
||||
" " Vinegar
|
||||
" Plug 'tpope/vim-vinegar'
|
||||
" Show hex codes as colors
|
||||
" Plug 'chrisbra/Colorizer'
|
||||
Plug 'norcalli/nvim-colorizer.lua'
|
||||
|
||||
" Put an header in file
|
||||
Plug 'alpertuna/vim-header'
|
||||
|
||||
" Latex support
|
||||
Plug 'lervag/vimtex'
|
||||
|
||||
" Open file
|
||||
Plug 'amix/open_file_under_cursor.vim'
|
||||
|
||||
" Python autocompletion
|
||||
" Plug 'deoplete-plugins/deoplete-jedi'
|
||||
|
||||
" Completion from other opened files
|
||||
" Plug 'Shougo/context_filetype.vim'
|
||||
|
||||
" Linting
|
||||
Plug 'dense-analysis/ale'
|
||||
|
||||
" Auto-close char feature
|
||||
Plug 'Townk/vim-autoclose'
|
||||
|
||||
" Indexed search
|
||||
Plug 'vim-scripts/IndexedSearch'
|
||||
|
||||
" Git/mercurial/others diff icons on the side of the file lines
|
||||
Plug 'mhinz/vim-signify'
|
||||
|
||||
" Golden resizing
|
||||
Plug 'roman/golden-ratio'
|
||||
|
||||
" Fuzzy finder
|
||||
Plug 'junegunn/fzf'
|
||||
Plug 'junegunn/fzf.vim'
|
||||
|
||||
" Distraction-free writing
|
||||
Plug 'junegunn/goyo.vim'
|
||||
Plug 'junegunn/limelight.vim'
|
||||
|
||||
" Shortcuts
|
||||
Plug 'sunaku/vim-shortcut'
|
||||
|
||||
" Status line
|
||||
Plug 'hardcoreplayers/spaceline.vim'
|
||||
" Plug 'itchyny/lightline.vim'
|
||||
|
||||
" Tmux
|
||||
Plug 'edkolev/tmuxline.vim'
|
||||
Plug 'benmills/vimux'
|
||||
|
||||
" Colorschemes
|
||||
" Plug 'wgwoods/vim-systemd-syntax'
|
||||
Plug 'nanotech/jellybeans.vim', { 'as': 'jellybeans' }
|
||||
Plug 'jdsimcoe/abstract.vim', { 'as': 'abstract' }
|
||||
Plug 'xero/sourcerer.vim', { 'as': 'sourcerer' }
|
||||
Plug 'romainl/Apprentice', { 'as': 'apprentice' }
|
||||
Plug 'jdsimcoe/hyper.vim', { 'as': 'hyper' }
|
||||
Plug 'jacoborus/tender.vim', { 'as': 'tender' }
|
||||
Plug 'connorholyday/vim-snazzy', { 'as': 'snazzy' }
|
||||
Plug 'hardcoreplayers/oceanic-material', { 'as': 'oceanic' }
|
||||
|
||||
" Customization
|
||||
Plug 'ryanoasis/vim-devicons'
|
||||
|
||||
" Sudo workaround plugin
|
||||
Plug 'lambdalisue/suda.vim'
|
||||
|
||||
" Autocompletion
|
||||
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||
|
||||
" REPL
|
||||
Plug 'jpalardy/vim-slime'
|
||||
|
||||
" Required {{{
|
||||
" -----
|
||||
|
||||
" required !
|
||||
filetype plugin indent on
|
||||
|
||||
" Initialize plugin system
|
||||
call plug#end()
|
||||
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
" vim:ft=vim
|
Binary file not shown.
Binary file not shown.
@ -1,78 +0,0 @@
|
||||
" File : startscreen.vim
|
||||
" Author : Jeff LANCE <email@jefflance.me>
|
||||
" Date : 01.11.2020
|
||||
" Last Modified Date: 27.01.2021
|
||||
" Last Modified By : Jeff LANCE <email@jefflance.me>
|
||||
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
"
|
||||
" ____ _____ _ ____ _____ ___ _______ __
|
||||
" / ___|_ _|/ \ | _ \_ _|_ _| ___\ \ / /
|
||||
" \___ \ | | / _ \ | |_) || | | || |_ \ V /
|
||||
" ___) || |/ ___ \| _ < | | | || _| | |
|
||||
" |____/ |_/_/ \_\_| \_\|_| |___|_| |_|
|
||||
"
|
||||
"
|
||||
""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
|
||||
let g:startify_custom_header = 'startify#center(startify#fortune#cowsay())'
|
||||
|
||||
let g:startify_session_dir = '~/.vim/session'
|
||||
|
||||
let g:startify_enable_special = 0
|
||||
|
||||
let g:startify_files_number = 10
|
||||
|
||||
|
||||
function s:config_mail()
|
||||
return [
|
||||
\ { 'line': 'afew', 'cmd': 'edit ~/.config/afew/' },
|
||||
\ { 'line': 'astroid', 'cmd': 'edit ~/.config/astroid/' },
|
||||
\ { 'line': 'mbsync', 'cmd': 'edit ~/.mbsyncrc' },
|
||||
\ { 'line': 'notmuch config', 'cmd': 'edit ~/.notmuch-config' },
|
||||
\ { 'line': 'notmuch hooks', 'cmd': 'edit ~/Mail/.notmuch/hooks/' },
|
||||
\ ]
|
||||
endfunction
|
||||
|
||||
function s:config_openbox()
|
||||
return [
|
||||
\ { 'line': 'autostart.sh', 'cmd': 'edit ~/.config/openbox/autostart.sh' },
|
||||
\ { 'line': 'rc.xml', 'cmd': 'edit ~/.config/openbox/rc.xml' }
|
||||
\ ]
|
||||
endfunction
|
||||
|
||||
function s:config_vim()
|
||||
return [
|
||||
\ { 'line': 'général', 'cmd': 'edit ~/.vimrc' },
|
||||
\ { 'line': 'fonctions', 'cmd': 'edit ~/.vim/functions.vim' },
|
||||
\ { 'line': 'raccourcis clavier', 'cmd': 'edit ~/.vim/keybindings.vim' },
|
||||
\ { 'line': 'plugings', 'cmd': 'edit ~/.vim/plug.vim' },
|
||||
\ { 'line': "cet écran d'accueil", 'cmd': 'edit ~/.vim/startscreen.vim' },
|
||||
\ ]
|
||||
endfunction
|
||||
|
||||
let g:startify_lists = [
|
||||
\ { 'type': 'commands', 'header': ['FICHIER'] },
|
||||
\ { 'type': 'files', 'header': ['RÉCENTS'] },
|
||||
\ { 'type': function('s:config_vim'), 'header': ['VIM CONF:'] },
|
||||
\ { 'type': function('s:config_mail'), 'header': ['MAIL CONF:'] },
|
||||
\ { 'type': function('s:config_openbox'), 'header': ['OPENBOX CONF:'] },
|
||||
\ { 'type': 'bookmarks', 'header': ['SIGNETS'] },
|
||||
\ { 'type': 'sessions', 'header': ['SESSIONS'] },
|
||||
\ ]
|
||||
|
||||
let g:startify_bookmarks = [
|
||||
\ '~/.config/',
|
||||
\ '~/Dotfiles/',
|
||||
\ '~/Projets',
|
||||
\ '~/Projets/latex/latex-homework',
|
||||
\ '~/.asy'
|
||||
\ ]
|
||||
|
||||
let g:startify_commands = [
|
||||
\ ['Nouveau', 'enew'],
|
||||
\ ['Aide', 'help reference'],
|
||||
\ ]
|
||||
|
||||
|
||||
" vim:ft=vim
|
@ -1,131 +0,0 @@
|
||||
" keymap.vim
|
||||
"
|
||||
" Vim syntax file
|
||||
" Language: keymap
|
||||
" Maintainer: Timothy Madden <terminatorul@gmail.com>
|
||||
" Last Change: 2013 apr 21
|
||||
" Remark: For authoring/editing Linux console keyboard maps
|
||||
" Version: 0.9
|
||||
"
|
||||
" Syntax file for Linux console keyboard maps. These files are loaded with
|
||||
" `loadkeys` system command in Linux and displayed with `dumpkeys`.
|
||||
"
|
||||
" See loadkeys(1) and dumpkeys(1) manual pages. File format specification
|
||||
" can be found in keymaps(5).
|
||||
|
||||
if version < 600
|
||||
syntax clear
|
||||
elseif exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
" Keymaps are case-insensitive ??
|
||||
syntax case ignore
|
||||
|
||||
syntax match keymapComment excludenl /[#!].*/
|
||||
syntax keyword keymapKeyword include charset keymaps keycode string to
|
||||
syntax match keymapComposeKeyword /\v<compose>/
|
||||
syntax match keymapModifier /\v<plain|Shift%(L|R)?|Alt%(Gr)?|Control|CtrlL|CtrlR|CapsShift>/
|
||||
syntax match keymapDeclaration /\v^[[:blank:]]*%(%(alt_is_meta)|%(strings[[:blank:]]+as[[:blank:]]+usual))[[:blank:]]*$/
|
||||
syntax match keymapComposeDeclaration /\v%(^[[:blank:]]*compose)@<=[[:blank:]]+as[[:blank:]]+usual[[:blank:]]+for[[:blank:]]+/
|
||||
syntax match keymapBackslashEscape /\v\\%(\\|n|[0-7]{1,3}|"|')/ contained
|
||||
syntax region keymapString start=/\v"/ skip=/\v\\./ end=/\v"/ contains=keymapBackslashEscape
|
||||
syntax match keymapOperator /\v[-+,=]|\\\n/
|
||||
|
||||
if !exists('g:keymap_number_prefix') || g:keymap_number_prefix
|
||||
syntax match keymapNumberFormat /\v%(%([0-9a-fA-F]|[uU]\+|0[xX])@<!0[xX]?[0-9a-fA-F]@=|U\+)/
|
||||
else
|
||||
syntax match keymapNumberFormat /\vasdffd/ " some regular expression that will never match in a number
|
||||
endif
|
||||
|
||||
syntax match keymapNumber /\v<[0-9]+>/ contains=keymapNumberFormat
|
||||
syntax match keymapHexNumber /\v<0x[0-9a-fA-F]+>/ contains=keymapNumberFormat
|
||||
syntax match keymapUnicodeCharacter /\v[Uu]\+[0-9a-fA-F]+/ contains=keymapNumberFormat
|
||||
syntax region keymapCharacter start=/\v'/ skip=/\v\\./ end=/\v'/ contains=keymapBackslashEscape
|
||||
syntax match keymapStringDef /\v%(^[[:blank:]]*string[[:blank:]]*)@<=[a-zA-Z_-]+%([[:blank:]]*\=[[:blank:]]*)@=/
|
||||
|
||||
" Values below are returned by `dumpkeys --long-info`
|
||||
syntax match keymapLetters /\v<[a-tv-zA-TV-Z]>/
|
||||
syntax match keymapLetterU /\v<[uU]>%(\+[0-9a-fA-F]+)@!/
|
||||
syntax match keymapControlLetters /\v<Control_[a-zA-Z]>/
|
||||
syntax match keymapFunctionKeys /\v<F[0-9]+>/
|
||||
syntax match keymapNumericKPs /\v<KP_[0-9]+>/
|
||||
syntax match keymapVirtualConsoles /\v<Console_[0-9]+>/
|
||||
syntax match keymapMetaControl /\v<Meta_Control_[a-z]>/
|
||||
syntax match keymapMetaLetters /\v<Meta_[a-zA-Z]>/
|
||||
syntax match keymapAsciiDigits /\v<Ascii_[0-9]>/
|
||||
syntax match keymapHexDigits /\v<Hex_[0-9A-F]>/
|
||||
syntax match keymapBrlDot /\v<Brl_dot[0-9]+>/
|
||||
|
||||
syntax keyword keymapConstants01 nul BackSpace Tab Linefeed Escape Control_backslash Control_bracketright Control_asciicircum Control_underscore space
|
||||
syntax keyword keymapConstants02 exclam quotedbl numbersign dollar percent ampersand apostrophe parenleft parenright asterisk plus comma minus period slash zero
|
||||
syntax keyword keymapConstants03 one two three four five six seven eight nine colon semicolon less equal greater question at bracketleft backslash bracketright
|
||||
syntax keyword keymapConstants04 asciicircum underscore grave braceleft bar braceright asciitilde Delete nobreakspace exclamdown cent sterling currency yen brokenbar
|
||||
syntax keyword keymapConstants05 section diaeresis copyright ordfeminine guillemotleft notsign hyphen registered macron degree plusminus twosuperior threesuperior
|
||||
syntax keyword keymapConstants06 acute mu paragraph periodcentered cedilla onesuperior masculine guillemotright onequarter onehalf threequarters questiondown Agrave
|
||||
syntax keyword keymapConstants07 Aacute Acircumflex Atilde Adiaeresis Aring AE Ccedilla Egrave Eacute Ecircumflex Ediaeresis Igrave Iacute Icircumflex Idiaeresis ETH
|
||||
syntax keyword keymapConstants08 Ntilde Ograve Oacute Ocircumflex Otilde Odiaeresis multiply Ooblique Ugrave Uacute Ucircumflex Udiaeresis Yacute THORN ssharp agrave
|
||||
syntax keyword keymapConstants09 aacute acircumflex atilde adiaeresis aring ae ccedilla egrave eacute ecircumflex ediaeresis igrave iacute icircumflex idiaeresis eth
|
||||
syntax keyword keymapConstants10 ntilde ograve oacute ocircumflex otilde odiaeresis division oslash ugrave uacute ucircumflex udiaeresis yacute thorn ydiaeresis Find
|
||||
syntax keyword keymapConstants11 Insert Remove Select Prior Next Macro Help Do Pause VoidSymbol Return Show_Registers Show_Memory Show_State Break Last_Console
|
||||
syntax keyword keymapConstants12 Caps_Lock Num_Lock Scroll_Lock Scroll_Forward Scroll_Backward Boot Caps_On SAK Decr_Console Incr_Console KeyboardSignal
|
||||
syntax keyword keymapConstants13 Bare_Num_Lock KP_Add KP_Subtract KP_Multiply KP_Divide KP_Enter KP_Comma KP_Period KP_MinPlus dead_grave dead_acute dead_circumflex
|
||||
|
||||
" syntax keyword keymapConstants AltGr Shift Control Alt ShiftL ShiftR CtrlL CtrlR CapsShift Compose
|
||||
syntax match keymapConstants00 /\v%(^[[:blank:]]*%([a-zA-Z_]+[[:blank:]]+)*keycode[[:blank:]]+[0-9a-zA-Z_]+[[:blank:]]*\=[[:blank:]]*%(%(\+?%([a-zA-Z_-]+|%(U\+|0x)[0-9a-fA-F]+|[0-9]+))[[:blank:]]+)*)@<=<%(Alt%(Gr)?|Shift%(L|R)?|Control|CtrlL|CtrlR|CapsShift|Compose)>/
|
||||
|
||||
syntax keyword keymapConstants14 dead_tilde dead_diaeresis dead_cedilla Down Left Right Up Meta_nul Meta_BackSpace Meta_Tab Meta_Linefeed Meta_Escape
|
||||
syntax keyword keymapConstants15 Meta_Control_backslash Meta_Control_bracketright Meta_Control_asciicircum Meta_Control_underscore Meta_space Meta_exclam
|
||||
syntax keyword keymapConstants16 Meta_quotedbl Meta_numbersign Meta_dollar Meta_percent Meta_ampersand Meta_apostrophe Meta_parenleft Meta_parenright Meta_asterisk
|
||||
syntax keyword keymapConstants17 Meta_plus Meta_comma Meta_minus Meta_period Meta_slash Meta_zero Meta_one Meta_two Meta_three Meta_four Meta_five Meta_six Meta_seven
|
||||
syntax keyword keymapConstants18 Meta_eight Meta_nine Meta_colon Meta_semicolon Meta_less Meta_equal Meta_greater Meta_question Meta_at Meta_bracketleft Meta_backslash
|
||||
syntax keyword keymapConstants19 Meta_bracketright Meta_asciicircum Meta_underscore Meta_grave Meta_braceleft Meta_bar Meta_braceright Meta_asciitilde Meta_Delete
|
||||
syntax keyword keymapConstants20 Shift_Lock AltGr_Lock Control_Lock Alt_Lock ShiftL_Lock ShiftR_Lock CtrlL_Lock CtrlR_Lock CapsShift_Lock SShift SAltGr SControl SAlt
|
||||
syntax keyword keymapConstants21 SShiftL SShiftR SCtrlL SCtrlR SCapsShift Brl_blank
|
||||
|
||||
|
||||
syntax keyword keymapConstants22 Home End PageUp PageDown multiplication pound pilcrow Oslash Shift_L Shift_R AltL AltR Alt_L Alt_R AltGr_L AltGr_R AltLLock
|
||||
syntax keyword keymapConstants23 AltRLock SCtrl Spawn_Console Uncaps_Shift lambda lamda Lambda Lamda xi ksi Xi Ksi chi khi Chi Khi tilde circumflex
|
||||
syntax keyword keymapConstants24 dead_ogonek dead_caron dead_breve dead_doubleacute Idotabove Iabovedot dotlessi idotless paragraph_sign soft_hyphen
|
||||
syntax match keymapConstants25 /no-break_space/
|
||||
|
||||
syntax keyword keymapConstants26 bielorussian_cyrillic_capital_letter_i ukrainian_cyrillic_capital_letter_i cyrillic_capital_letter_kha
|
||||
syntax keyword keymapConstants27 cyrillic_capital_letter_ha cyrillic_capital_letter_ge cyrillic_capital_letter_ghe cyrillic_capital_letter_ia
|
||||
syntax keyword keymapConstants28 cyrillic_capital_letter_ya cyrillic_capital_letter_iu cyrillic_capital_letter_yu cyrillic_capital_letter_yeri
|
||||
syntax keyword keymapConstants29 cyrillic_capital_letter_yeru cyrillic_capital_letter_reversed_e cyrillic_capital_letter_e cyrillic_capital_letter_ii
|
||||
syntax keyword keymapConstants30 cyrillic_capital_letter_i cyrillic_capital_letter_short_ii cyrillic_capital_letter_short_i
|
||||
syntax keyword keymapConstants31 bielorussian_cyrillic_small_letter_i ukrainian_cyrillic_small_letter_i cyrillic_small_letter_kha
|
||||
syntax keyword keymapConstants32 cyrillic_small_letter_ha cyrillic_small_letter_ge cyrillic_small_letter_ghe cyrillic_small_letter_ia
|
||||
syntax keyword keymapConstants33 cyrillic_small_letter_ya cyrillic_small_letter_iu cyrillic_small_letter_yu cyrillic_small_letter_yeri
|
||||
syntax keyword keymapConstants34 cyrillic_small_letter_yeru cyrillic_small_letter_reversed_e cyrillic_small_letter_e cyrillic_small_letter_ii
|
||||
syntax keyword keymapConstants35 cyrillic_small_letter_i cyrillic_small_letter_short_ii cyrillic_small_letter_short_i rightanglequote
|
||||
|
||||
highlight link keymapComment Comment
|
||||
highlight link keymapKeyword Keyword
|
||||
highlight link keymapComposeKeyword Keyword
|
||||
highlight link keymapDeclaration Statement
|
||||
highlight link keymapComposeDeclaration Statement
|
||||
highlight link keymapModifier StorageClass
|
||||
highlight link keymapString String
|
||||
highlight link keymapOperator Operator
|
||||
highlight link keymapUnicodeCharacter Character
|
||||
highlight link keymapCharacter Character
|
||||
highlight link keymapNumber Number
|
||||
highlight link keymapHexNumber Number
|
||||
highlight link keymapStringDef PreProc
|
||||
highlight link keymapBackslashEscape Special
|
||||
highlight link keymapNumberFormat Special
|
||||
|
||||
for s:a in ['Letters', 'LetterU', 'ControlLetters', 'FunctionKeys', 'NumericKPs', 'VirtualConsoles',
|
||||
\ 'MetaControl', 'MetaLetters', 'AsciiDigits', 'HexDigits', 'BrlDot'
|
||||
\ ]
|
||||
execute 'highlight link keymap' . s:a . ' Identifier'
|
||||
endfor
|
||||
|
||||
unlet s:a
|
||||
|
||||
for s:a in range(0, 35)
|
||||
execute printf('highlight link keymapConstants%02d Identifier', s:a)
|
||||
endfor
|
||||
|
||||
let b:current_syntax = 'keymap'
|
690
conf.d/vim/vimrc
690
conf.d/vim/vimrc
@ -1,690 +0,0 @@
|
||||
" File : .vimrc
|
||||
" Author : Jeff LANCE <email@jefflance.me>
|
||||
" Date : 15.04.2015
|
||||
" Last Modified Date: 27.01.2021
|
||||
" Last Modified By : Jeff LANCE <email@jefflance.me>
|
||||
|
||||
""""""""""""""""""""""""""""""""""""""""""""""
|
||||
"
|
||||
" ____ _____ _ _ _____ ____ _ _
|
||||
" / ___| ____| \ | | ____| _ \ / \ | |
|
||||
"| | _| _| | \| | _| | |_) | / _ \ | |
|
||||
"| |_| | |___| |\ | |___| _ < / ___ \| |___
|
||||
" \____|_____|_| \_|_____|_| \_\/_/ \_\_____|
|
||||
"
|
||||
"
|
||||
""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
|
||||
" General {{{
|
||||
" -----
|
||||
set nocompatible " be iMproved, required
|
||||
filetype plugin indent on
|
||||
|
||||
set mouse=nv " Disable mouse in command-line mode
|
||||
set report=0 " Don't report on line changes
|
||||
set errorbells " Trigger bell on error
|
||||
set visualbell " Use visual bell instead of beeping
|
||||
set hidden " hide buffers when abandoned instead of unload
|
||||
set fileformats=unix,dos,mac " Use Unix as the standard file type
|
||||
set magic " For regular expressions turn magic on
|
||||
set path+=** " Directories to search when using gf and friends
|
||||
set isfname-== " Remove =, detects filename in var=/foo/bar
|
||||
set virtualedit=block " Position cursor anywhere in visual block
|
||||
set synmaxcol=2500 " Don't syntax highlight long lines
|
||||
set formatoptions+=1 " Don't break lines after a one-letter word
|
||||
set formatoptions-=t " Don't auto-wrap text
|
||||
set formatoptions-=o " Disable comment-continuation (normal 'o'/'O')
|
||||
|
||||
" file encoding
|
||||
set encoding=utf8
|
||||
|
||||
" Syntax highlighting
|
||||
syntax on
|
||||
set synmaxcol=512
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
" Vim Directories {{{
|
||||
" -----
|
||||
set nobackup
|
||||
set nowritebackup
|
||||
set undofile noswapfile
|
||||
set directory=$DATA_PATH/swap//,$DATA_PATH,~/tmp,/var/tmp,/tmp
|
||||
set undodir=$DATA_PATH/undo//,$DATA_PATH,~/tmp,/var/tmp,/tmp
|
||||
set backupdir=$DATA_PATH/backup/,$DATA_PATH,~/tmp,/var/tmp,/tmp
|
||||
set viewdir=$DATA_PATH/view/
|
||||
" Use the coc-spell-checker to do this
|
||||
" set spellfile=$VIM_PATH/spell/en.utf-8.add
|
||||
|
||||
" History saving
|
||||
set history=2000
|
||||
|
||||
if has('nvim') && ! has('win32') && ! has('win64')
|
||||
set shada=!,'300,<50,@100,s10,h
|
||||
else
|
||||
set viminfo='300,<10,@50,h,n$DATA_PATH/viminfo
|
||||
endif
|
||||
|
||||
augroup user_persistent_undo
|
||||
autocmd!
|
||||
au BufWritePre /tmp/* setlocal noundofile
|
||||
au BufWritePre COMMIT_EDITMSG setlocal noundofile
|
||||
au BufWritePre MERGE_MSG setlocal noundofile
|
||||
au BufWritePre *.tmp setlocal noundofile
|
||||
au BufWritePre *.bak setlocal noundofile
|
||||
augroup END
|
||||
|
||||
" If sudo, disable vim swap/backup/undo/shada/viminfo writing
|
||||
if $SUDO_USER !=# '' && $USER !=# $SUDO_USER
|
||||
\ && $HOME !=# expand('~'.$USER)
|
||||
\ && $HOME ==# expand('~'.$SUDO_USER)
|
||||
|
||||
set noswapfile
|
||||
set nobackup
|
||||
set noundofile
|
||||
if has('nvim')
|
||||
set shada="NONE"
|
||||
else
|
||||
set viminfo="NONE"
|
||||
endif
|
||||
endif
|
||||
|
||||
" Secure sensitive information, disable backup files in temp directories
|
||||
if exists('&backupskip')
|
||||
set backupskip+=/tmp/*,$TMPDIR/*,$TMP/*,$TEMP/*,*/shm/*,/private/var/*
|
||||
set backupskip+=.vault.vim
|
||||
endif
|
||||
|
||||
" Disable swap/undo/viminfo/shada files in temp directories or shm
|
||||
augroup user_secure
|
||||
autocmd!
|
||||
silent! autocmd BufNewFile,BufReadPre
|
||||
\ /tmp/*,$TMPDIR/*,$TMP/*,$TEMP/*,*/shm/*,/private/var/*,.vault.vim
|
||||
\ setlocal noswapfile noundofile nobackup nowritebackup viminfo= shada=
|
||||
augroup END
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
" Timing {{{
|
||||
" ------
|
||||
set timeout ttimeout
|
||||
set timeoutlen=500 " Time out on mappings
|
||||
set ttimeoutlen=10 " Time out on key codes
|
||||
set updatetime=100 " Idle time to write swap and trigger CursorHold
|
||||
set redrawtime=1500 " Time in milliseconds for stopping display redraw
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
" Behaviour {{{
|
||||
" -----
|
||||
|
||||
" Set to auto read when a file is changed from the outside
|
||||
set autoread
|
||||
|
||||
" Netrw
|
||||
let g:netrw_fastbrowse=0
|
||||
|
||||
" Use system clipboard
|
||||
set clipboard=unnamedplus
|
||||
|
||||
" With a map leader it's possible to do extra key combinations
|
||||
" like <leader>w saves the current file
|
||||
let mapleader = ";"
|
||||
|
||||
" Fast saving
|
||||
nmap <leader>w :w!<cr>
|
||||
|
||||
" Fast quitting without saving
|
||||
nmap <leader>q :q!<cr>
|
||||
|
||||
" Fast quitting with saving if changes
|
||||
nmap <leader>x :x<cr>
|
||||
|
||||
" " Allow saving of files as sudo when I forgot to start vim using sudo.
|
||||
" ca w!! w !sudo tee > /dev/null %
|
||||
" nmap <leader>W :w!!<cr>
|
||||
|
||||
" Auto change dir to current buffer dir
|
||||
autocmd BufEnter * silent! lcd %:p:h
|
||||
|
||||
" Delete extra blank line at the end of file
|
||||
" autocmd BufWritePre *.py normal m`:%s/\s\+$//e``
|
||||
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
|
||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
" ___ _ _ _____ _____ ____ _____ _ ____ _____
|
||||
" |_ _| \ | |_ _| ____| _ \| ___/ \ / ___| ____|
|
||||
" | || \| | | | | _| | |_) | |_ / _ \| | | _|
|
||||
" | || |\ | | | | |___| _ <| _/ ___ \ |___| |___
|
||||
" |___|_| \_| |_| |_____|_| \_\_|/_/ \_\____|_____|
|
||||
"
|
||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
|
||||
" To use fancy symbols wherever possible,
|
||||
let fancy_symbols_enabled = 1
|
||||
|
||||
" Font config
|
||||
if has('gui')
|
||||
set guifont=RobotoMono\ Nerd\ Font\ Mono\ 12
|
||||
endif
|
||||
|
||||
" Disable default status ruler
|
||||
set noruler
|
||||
|
||||
" Keep at least 2 lines above/below
|
||||
set scrolloff=2
|
||||
|
||||
" hide ~ tila
|
||||
set fcs=eob:\
|
||||
|
||||
" Remove ugly vertical lines on window division
|
||||
set fillchars+=vert:\
|
||||
|
||||
" vim tab title
|
||||
set title
|
||||
" Title length.
|
||||
set titlelen=95
|
||||
" Title string.
|
||||
let &g:titlestring="
|
||||
\ %{expand('%:p:~:.')}%(%m%r%w%)
|
||||
\ %<\[%{fnamemodify(getcwd(), ':~')}\] - Neovim"
|
||||
|
||||
" Show line numbers
|
||||
set number
|
||||
|
||||
" Line wrapping
|
||||
set wrap
|
||||
|
||||
" Tab control
|
||||
set expandtab
|
||||
set tabstop=2
|
||||
set softtabstop=2
|
||||
set shiftwidth=2
|
||||
set textwidth=80
|
||||
set autoindent
|
||||
set smartindent
|
||||
" python
|
||||
au BufNewFile,BufRead *.py
|
||||
\ set tabstop=4
|
||||
\ set softtabstop=4
|
||||
\ set shiftwidth=4
|
||||
\ set textwidth=79
|
||||
\ set expandtab
|
||||
\ set autoindent
|
||||
\ set fileformat=unix
|
||||
" js, html, css
|
||||
au BufNewFile,BufRead *.js, *.html, *.css
|
||||
\ set noexpandtab
|
||||
\ set tabstop=2
|
||||
\ set softtabstop=2
|
||||
\ set shiftwidth=2
|
||||
" astroid format=flowed
|
||||
au FileType mail setlocal tw=72
|
||||
au FileType mail setlocal fo+=q
|
||||
au FileType mail setlocal comments+=nb:>
|
||||
|
||||
" Let the cursor traverse to the previous or following line when at the or the
|
||||
" end of a line
|
||||
set whichwrap=b,s,<,>,[,]
|
||||
|
||||
" Search
|
||||
set ignorecase " Ignore case when searching
|
||||
|
||||
" When searching try to be smart about cases
|
||||
set smartcase
|
||||
|
||||
" Highlight search results
|
||||
set hlsearch
|
||||
|
||||
" Makes search act like search in modern browsers
|
||||
set incsearch
|
||||
|
||||
" Don't redraw while executing macros (good performance config)
|
||||
set lazyredraw
|
||||
|
||||
" For regular expressions turn magic on
|
||||
set magic
|
||||
|
||||
" Disable scrollbars (real hackers don't use scrollbars for navigation!)
|
||||
set guioptions-=r
|
||||
set guioptions-=R
|
||||
set guioptions-=l
|
||||
set guioptions-=L
|
||||
|
||||
" Spell checking
|
||||
set spell
|
||||
set spelllang=fr,en
|
||||
|
||||
" Give more space for displaying messages.
|
||||
set cmdheight=2
|
||||
|
||||
" Having longer updatetime (default is 4000 ms = 4 s) leads to noticeable
|
||||
" delays and poor user experience.
|
||||
set updatetime=300
|
||||
|
||||
" Don't pass messages to |ins-completion-menu|.
|
||||
set shortmess=aFc
|
||||
|
||||
" Always show the signcolumn, otherwise it would shift the text each time
|
||||
" diagnostics appear/become resolved.
|
||||
if has("patch-8.1.1564")
|
||||
" Recently vim can merge signcolumn and number column into one
|
||||
set signcolumn=number
|
||||
else
|
||||
set signcolumn=yes
|
||||
endif
|
||||
|
||||
|
||||
|
||||
"""""""""""""""""""""""""""""""""""""""""""
|
||||
" ____ _ _ _ ____ ___ _ _ ____
|
||||
" | _ \| | | | | |/ ___|_ _| \ | / ___|
|
||||
" | |_) | | | | | | | _ | || \| \___ \
|
||||
" | __/| |__| |_| | |_| || || |\ |___) |
|
||||
" |_| |_____\___/ \____|___|_| \_|____/
|
||||
"
|
||||
"""""""""""""""""""""""""""""""""""""""""""
|
||||
|
||||
" Installing the Plug plugin manager
|
||||
source $HOME/.vim/plug.vim
|
||||
|
||||
" Start startify if no arg
|
||||
autocmd StdinReadPre * let s:std_in=1
|
||||
autocmd VimEnter *
|
||||
\ if (argc() == 0 && !exists("s:std_in") && !has('gui'))
|
||||
\ | Startify
|
||||
\ | endif
|
||||
|
||||
" " needed so deoplete can auto select the first suggestion
|
||||
" set completeopt+=noinsert
|
||||
" " comment this line to enable autocompletion preview window
|
||||
" " (displays documentation related to the selected completion option)
|
||||
" " disabled by default because preview makes the window flicker
|
||||
" set completeopt-=preview
|
||||
|
||||
" " autocompletion of files and commands behaves like shell
|
||||
" " (complete only the common part, list the options that match)
|
||||
" " set wildmode=list:longest
|
||||
|
||||
|
||||
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
" ____ _____ _ _____ _ _ ____ _ ___ _ _ _____
|
||||
" / ___|_ _|/ \|_ _| | | / ___|| | |_ _| \ | | ____|
|
||||
" \___ \ | | / _ \ | | | | | \___ \| | | || \| | _|
|
||||
" ___) || |/ ___ \| | | |_| |___) | |___ | || |\ | |___
|
||||
" |____/ |_/_/ \_\_| \___/|____/|_____|___|_| \_|_____|
|
||||
"
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
|
||||
set noshowmode
|
||||
set laststatus=2
|
||||
if !has('gui_running')
|
||||
set t_Co=256
|
||||
endif
|
||||
|
||||
|
||||
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
" ____ ___ _ ___ ____ ____ ____ _ _ _____ __ __ _____
|
||||
" / ___/ _ \| | / _ \| _ \/ ___| / ___| | | | ____| \/ | ____|
|
||||
" | | | | | | | | | | | |_) \___ \| | | |_| | _| | |\/| | _|
|
||||
" | |__| |_| | |__| |_| | _ < ___) | |___| _ | |___| | | | |___
|
||||
" \____\___/|_____\___/|_| \_\____/ \____|_| |_|_____|_| |_|_____|
|
||||
"
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
|
||||
" General {{{
|
||||
" -----
|
||||
|
||||
let g:SnazzyTransparent = 1
|
||||
let base16colorspace=256 " Access colors present in 256 colorspace"
|
||||
if (has("termguicolors"))
|
||||
set termguicolors
|
||||
endif
|
||||
|
||||
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
|
||||
set background=dark
|
||||
colorscheme snazzy
|
||||
|
||||
" Pseudo-transparency for completion menu and floating windows
|
||||
if &termguicolors
|
||||
if exists('&pumblend')
|
||||
set pumblend=10
|
||||
endif
|
||||
if exists('&winblend')
|
||||
set winblend=10
|
||||
endif
|
||||
endif
|
||||
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
" Buffet {{{
|
||||
" -----
|
||||
|
||||
function! g:BuffetSetCustomColors()
|
||||
hi! BuffetTab cterm=NONE ctermbg=NONE ctermfg=8 guibg=NONE guifg=#FFFFFF
|
||||
hi! BuffetBuffer cterm=NONE ctermbg=NONE ctermfg=8 guibg=NONE guifg=#FFFFFF
|
||||
hi! BuffetModBuffer cterm=NONE ctermbg=NONE ctermfg=8 guibg=NONE guifg=#FF0000
|
||||
hi! BuffetCurrentBuffer cterm=NONE ctermbg=NONE ctermfg=8 guibg=NONE guifg=#00FF00
|
||||
hi! BuffetModCurrentBuffer cterm=NONE ctermbg=NONE ctermfg=8 guibg=NONE guifg=#FF0000
|
||||
endfunction
|
||||
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
" _ _ _ _ _
|
||||
" _ __ | |_ _ __ _(_)_ __ ___ ___ ___| |_| |_(_)_ __ __ _ ___
|
||||
" | '_ \| | | | |/ _` | | '_ \/ __| / __|/ _ \ __| __| | '_ \ / _` / __|
|
||||
" | |_) | | |_| | (_| | | | | \__ \ \__ \ __/ |_| |_| | | | | (_| \__ \
|
||||
" | .__/|_|\__,_|\__, |_|_| |_|___/ |___/\___|\__|\__|_|_| |_|\__, |___/
|
||||
" |_| |___/ |___/
|
||||
"
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
|
||||
" Buffet {{{
|
||||
" -----
|
||||
|
||||
let g:buffet_always_show_tabline = 1
|
||||
let g:buffet_powerline_separators = 1
|
||||
let g:buffet_use_devicons = 1
|
||||
let g:buffet_tab_icon = "\uf00a"
|
||||
let g:buffet_modified_icon = "+"
|
||||
let g:buffet_left_trunc_icon = "\uf0a8"
|
||||
let g:buffet_right_trunc_icon = "\uf0a9"
|
||||
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
|
||||
" COC {{{
|
||||
" -----
|
||||
|
||||
" Highlight the symbol and its references when holding the cursor.
|
||||
autocmd CursorHold * silent call CocActionAsync('highlight')
|
||||
|
||||
" Disable warnings
|
||||
let g:coc_disable_startup_warning = 1
|
||||
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
" Colorizer {{{
|
||||
" -----
|
||||
|
||||
let g:colorizer_auto_filetype='css,html,xml,py,js'
|
||||
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
|
||||
" Defx {{{
|
||||
" -----
|
||||
|
||||
" Set appearance
|
||||
call defx#custom#option(
|
||||
\ '_', {
|
||||
\ 'winwidth': 40,
|
||||
\ 'split': 'vertical',
|
||||
\ 'direction': 'botright',
|
||||
\ 'show_ignored_files': 0,
|
||||
\ 'buffer_name': 'defxplorer',
|
||||
\ 'toggle': 1,
|
||||
\ 'columns': 'icon:indent:icons:filename',
|
||||
\ 'resume': 1,
|
||||
\ }
|
||||
\ )
|
||||
|
||||
call defx#custom#column(
|
||||
\ 'icon', {
|
||||
\ 'directory_icon': '▸',
|
||||
\ 'opened_icon': '▾',
|
||||
\ }
|
||||
\ )
|
||||
|
||||
call defx#custom#column(
|
||||
\ 'mark', {
|
||||
\ 'readonly_icon': '✗',
|
||||
\ 'selected_icon': '✓',
|
||||
\ }
|
||||
\ )
|
||||
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
" Deoplete {{{
|
||||
" -----
|
||||
|
||||
if has('nvim')
|
||||
let g:deoplete#enable_at_startup = 0
|
||||
endif
|
||||
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
" FZF {{{
|
||||
" -----
|
||||
|
||||
" This is the default extra key bindings
|
||||
let g:fzf_action = {
|
||||
\ 'enter': 'e',
|
||||
\ 'ctrl-h': 'split',
|
||||
\ 'ctrl-v': 'vsplit'
|
||||
\ }
|
||||
|
||||
" Preview window
|
||||
let g:fzf_preview_window = 'right:60%'
|
||||
if has('nvim') && !exists('g:fzf_layout')
|
||||
autocmd! FileType fzf
|
||||
autocmd FileType fzf set laststatus=0 noshowmode noruler
|
||||
\| autocmd BufLeave <buffer> set laststatus=2 showmode ruler
|
||||
endif
|
||||
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
" Header {{{
|
||||
" -----
|
||||
|
||||
let g:header_field_author = 'Jeff LANCE'
|
||||
let g:header_field_author_email = 'email@jefflance.me'
|
||||
let g:header_auto_add_header = 0
|
||||
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
"" Lightline {{{
|
||||
"" -----
|
||||
"
|
||||
"let g:lightline = {
|
||||
" \ 'colorscheme': 'snazzy',
|
||||
" \ 'active': {
|
||||
" \ 'left': [ [ 'mode', 'paste' ],
|
||||
" \ [ 'readonly', 'filename', 'gitstatus', 'modified' ]
|
||||
" \ ],
|
||||
" \ 'right': [ [ 'lineinfo' ],
|
||||
" \ [ 'percent' ],
|
||||
" \ [ 'fileformat', 'fileencoding', 'filetype', 'kitestatus' ]
|
||||
" \ ]
|
||||
" \ },
|
||||
" \ 'component': {
|
||||
" \ 'readonly': '%{&readonly?"|":""}',
|
||||
" \ 'kitestatus': '%{kite#statusline()}',
|
||||
" \ 'gitstatus': '%{FugitiveStatusline()}'
|
||||
" \ },
|
||||
" \ 'component_function': {
|
||||
" \ 'gitbranch': 'FugitiveHead'
|
||||
" \ },
|
||||
" \ 'separator': { 'left': '', 'right': '' },
|
||||
" \ 'subseparator': { 'left': '', 'right': '' }
|
||||
" \ }
|
||||
"
|
||||
"" -----
|
||||
"" }}}
|
||||
|
||||
|
||||
" Markdown preview {{{
|
||||
" -----
|
||||
|
||||
let vim_markdown_preview_toggle=1
|
||||
let vim_markdown_preview_browser='x-www-browser'
|
||||
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
" Neovim {{{
|
||||
" -----
|
||||
|
||||
let g:python3_host_prog = '/usr/bin/python3'
|
||||
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
" Slime {{{
|
||||
" -----
|
||||
let g:slime_target = "tmux"
|
||||
let g:slime_paste_file = tempname()
|
||||
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
" Spaceline {{{
|
||||
" -----
|
||||
|
||||
let g:spaceline_seperate_style = 'arrow-fade'
|
||||
" let g:spaceline_colorscheme = ''
|
||||
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
" Suda {{{
|
||||
" -----
|
||||
|
||||
let g:suda#prompt = 'Mot de passe: '
|
||||
let g:suda_smart_edit = 1
|
||||
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
" Tmuxline {{{
|
||||
" -----
|
||||
|
||||
let g:tmuxline_preset = {
|
||||
\'a' : '#S',
|
||||
\'win' : ['#I', '#W'],
|
||||
\'cwin' : ['#I', '#W', '#F'],
|
||||
\'y' : ['%a', '%d', '%b', '%R'],
|
||||
\'z' : '#H'
|
||||
\ }
|
||||
let g:tmuxline_separators = {
|
||||
\ 'left' : '',
|
||||
\ 'left_alt': '>',
|
||||
\ 'right' : '',
|
||||
\ 'right_alt' : '',
|
||||
\ 'space' : ' '
|
||||
\ }
|
||||
let g:tmuxline_theme = 'sourcerer'
|
||||
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
" TMux navigator {{{
|
||||
" -----
|
||||
|
||||
let g:tmux_navigator_no_mappings = 1
|
||||
let g:tmux_navigator_save_on_switch = 2
|
||||
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
" Vimroom {{{
|
||||
" -----
|
||||
|
||||
let g:goyo_width=200
|
||||
let g:goyo_margin_top = 2
|
||||
let g:goyo_margin_bottom = 2
|
||||
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
" Vimtex {{{
|
||||
" -----
|
||||
|
||||
let g:vimtex_compiler_progname = 'nvr'
|
||||
let g:tex_flavor = 'latex'
|
||||
|
||||
" -----
|
||||
" }}}
|
||||
|
||||
|
||||
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
" ____ _____ _ ____ _____ ___ _______ __
|
||||
" / ___|_ _|/ \ | _ \_ _|_ _| ___\ \ / /
|
||||
" \___ \ | | / _ \ | |_) || | | || |_ \ V /
|
||||
" ___) || |/ ___ \| _ < | | | || _| | |
|
||||
" |____/ |_/_/ \_\_| \_\|_| |___|_| |_|
|
||||
"
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
|
||||
" Load functions from file
|
||||
source $HOME/.vim/startscreen.vim
|
||||
|
||||
|
||||
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
" _____ _ _ _ _ ____ _____ ___ ___ _ _ ____
|
||||
" | ___| | | | \ | |/ ___|_ _|_ _/ _ \| \ | / ___|
|
||||
" | |_ | | | | \| | | | | | | | | | \| \___ \
|
||||
" | _| | |_| | |\ | |___ | | | | |_| | |\ |___) |
|
||||
" |_| \___/|_| \_|\____| |_| |___\___/|_| \_|____/
|
||||
"
|
||||
"
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
|
||||
" Load functions from file
|
||||
source $HOME/.vim/functions.vim
|
||||
|
||||
|
||||
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
" _ _________ ______ ___ _ _ ____ ___ _ _ ____ ____
|
||||
" | |/ / ____\ \ / / __ )_ _| \ | | _ \_ _| \ | |/ ___/ ___|
|
||||
" | ' /| _| \ V /| _ \| || \| | | | | || \| | | _\___ \
|
||||
" | . \| |___ | | | |_) | || |\ | |_| | || |\ | |_| |___) |
|
||||
" |_|\_\_____| |_| |____/___|_| \_|____/___|_| \_|\____|____/
|
||||
"
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
|
||||
" Load keybindings from file
|
||||
source $HOME/.vim/keybindings.vim
|
||||
|
||||
|
||||
" vim:ft=vim
|
Loading…
Reference in New Issue
Block a user