aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitmodules3
-rw-r--r--README.md1
-rw-r--r--eduroam/.config/cat_installer/ca.pem26
m---------find-cursor0
-rw-r--r--fonts/.fonts/CrimsonText-Bold.ttfbin0 -> 112116 bytes
-rw-r--r--fonts/.fonts/CrimsonText-BoldItalic.ttfbin0 -> 114268 bytes
-rw-r--r--fonts/.fonts/CrimsonText-Italic.ttfbin0 -> 109440 bytes
-rw-r--r--fonts/.fonts/CrimsonText-Regular.ttfbin0 -> 106512 bytes
-rw-r--r--fonts/.fonts/CrimsonText-SemiBold.ttfbin0 -> 110420 bytes
-rw-r--r--fonts/.fonts/CrimsonText-SemiBoldItalic.ttfbin0 -> 111332 bytes
-rw-r--r--fonts/.fonts/FuturaBQ-Book.otfbin0 -> 30380 bytes
-rw-r--r--fonts/.fonts/Raleway-Black.ttfbin0 -> 163408 bytes
-rw-r--r--fonts/.fonts/Raleway-BlackItalic.ttfbin0 -> 161904 bytes
-rw-r--r--fonts/.fonts/Raleway-Bold.ttfbin0 -> 163768 bytes
-rw-r--r--fonts/.fonts/Raleway-BoldItalic.ttfbin0 -> 162252 bytes
-rw-r--r--fonts/.fonts/Raleway-ExtraBold.ttfbin0 -> 163876 bytes
-rw-r--r--fonts/.fonts/Raleway-ExtraBoldItalic.ttfbin0 -> 162500 bytes
-rw-r--r--fonts/.fonts/Raleway-ExtraLight.ttfbin0 -> 163912 bytes
-rw-r--r--fonts/.fonts/Raleway-ExtraLightItalic.ttfbin0 -> 162200 bytes
-rw-r--r--fonts/.fonts/Raleway-Italic.ttfbin0 -> 162040 bytes
-rw-r--r--fonts/.fonts/Raleway-Light.ttfbin0 -> 163836 bytes
-rw-r--r--fonts/.fonts/Raleway-LightItalic.ttfbin0 -> 162256 bytes
-rw-r--r--fonts/.fonts/Raleway-Medium.ttfbin0 -> 163852 bytes
-rw-r--r--fonts/.fonts/Raleway-MediumItalic.ttfbin0 -> 162160 bytes
-rw-r--r--fonts/.fonts/Raleway-Regular.ttfbin0 -> 163840 bytes
-rw-r--r--fonts/.fonts/Raleway-SemiBold.ttfbin0 -> 163856 bytes
-rw-r--r--fonts/.fonts/Raleway-SemiBoldItalic.ttfbin0 -> 162372 bytes
-rw-r--r--fonts/.fonts/Raleway-Thin.ttfbin0 -> 163620 bytes
-rw-r--r--fonts/.fonts/Raleway-ThinItalic.ttfbin0 -> 161884 bytes
-rw-r--r--i3/.i3/config22
l---------i3/bin/find-cursor1
-rw-r--r--system/.bashrc4
-rw-r--r--system/.config/mimeapps.list10
-rw-r--r--system/.config/zathura/zathurarc1
-rw-r--r--system/.profile12
-rw-r--r--texlive/texlive.profile10
-rw-r--r--vim/.config/nvim/lua/lsp/init.lua61
-rw-r--r--vim/.config/nvim/spell/en.utf-8.add53
-rw-r--r--vim/.config/nvim/spell/en.utf-8.add.splbin2702 -> 3257 bytes
-rw-r--r--vim/.vim/after/ftplugin/tex.vim18
-rw-r--r--vim/.vimrc5
41 files changed, 138 insertions, 89 deletions
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..b59fc82
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule "find-cursor"]
+ path = find-cursor
+ url = https://github.com/arp242/find-cursor.git
diff --git a/README.md b/README.md
index 173e77f..88e0444 100644
--- a/README.md
+++ b/README.md
@@ -7,6 +7,7 @@ My dotfiles. Feel free to use what you can.
`stow -t ~ <NAME>`, where `<NAME>` is one of:
- `clean`: [Clean](https://clean-lang.org)
+- `eduroam`: a certificate to use the eduroam WiFi network
- `fonts`: fonts I often use (remember to use `fc-cache -fv`)
- `git`: git (edit `~/.gitconfig.local` yourself)
- `haskell`: GHCi
diff --git a/eduroam/.config/cat_installer/ca.pem b/eduroam/.config/cat_installer/ca.pem
new file mode 100644
index 0000000..d9505c8
--- /dev/null
+++ b/eduroam/.config/cat_installer/ca.pem
@@ -0,0 +1,26 @@
+-----BEGIN CERTIFICATE-----
+MIIEMjCCAxqgAwIBAgIBATANBgkqhkiG9w0BAQUFADB7MQswCQYDVQQGEwJHQjEb
+MBkGA1UECAwSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHDAdTYWxmb3JkMRow
+GAYDVQQKDBFDb21vZG8gQ0EgTGltaXRlZDEhMB8GA1UEAwwYQUFBIENlcnRpZmlj
+YXRlIFNlcnZpY2VzMB4XDTA0MDEwMTAwMDAwMFoXDTI4MTIzMTIzNTk1OVowezEL
+MAkGA1UEBhMCR0IxGzAZBgNVBAgMEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UE
+BwwHU2FsZm9yZDEaMBgGA1UECgwRQ29tb2RvIENBIExpbWl0ZWQxITAfBgNVBAMM
+GEFBQSBDZXJ0aWZpY2F0ZSBTZXJ2aWNlczCCASIwDQYJKoZIhvcNAQEBBQADggEP
+ADCCAQoCggEBAL5AnfRu4ep2hxxNRUSOvkbIgwadwSr+GB+O5AL686tdUIoWMQua
+BtDFcCLNSS1UY8y2bmhGC1Pqy0wkwLxyTurxFa70VJoSCsN6sjNg4tqJVfMiWPPe
+3M/vg4aijJRPn2jymJBGhCfHdr/jzDUsi14HZGWCwEiwqJH5YZ92IFCokcdmtet4
+YgNW8IoaE+oxox6gmf049vYnMlhvB/VruPsUK6+3qszWY19zjNoFmag4qMsXeDZR
+rOme9Hg6jc8P2ULimAyrL58OAd7vn5lJ8S3frHRNG5i1R8XlKdH5kBjHYpy+g8cm
+ez6KJcfA3Z3mNWgQIJ2P2N7Sw4ScDV7oL8kCAwEAAaOBwDCBvTAdBgNVHQ4EFgQU
+oBEKIz6W8Qfs4q8p74Klf9AwpLQwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQF
+MAMBAf8wewYDVR0fBHQwcjA4oDagNIYyaHR0cDovL2NybC5jb21vZG9jYS5jb20v
+QUFBQ2VydGlmaWNhdGVTZXJ2aWNlcy5jcmwwNqA0oDKGMGh0dHA6Ly9jcmwuY29t
+b2RvLm5ldC9BQUFDZXJ0aWZpY2F0ZVNlcnZpY2VzLmNybDANBgkqhkiG9w0BAQUF
+AAOCAQEACFb8AvCb6P+k+tZ7xkSAzk/ExfYAWMymtrwUSWgEdujm7l3sAg9g1o1Q
+GE8mTgHj5rCl7r+8dFRBv/38ErjHT1r0iWAFf2C3BUrz9vHCv8S5dIa2LX1rzNLz
+Rt0vxuBqw8M0Ayx9lt1awg6nCpnBBYurDC/zXDrPbDdVCYfeU0BsWO/8tqtlbgT2
+G9w84FoVxp7Z8VlIMCFlA2zs6SFz7JsDoeA3raAVGI/6ugLOpyypEBMs1OUIJqsi
+l2D4kF501KKaU73yqWjgom7C12yxow+ev+to51byrvLjKzg6CYG1a4XXvi3tPxq3
+smPi9WIsgtRqAEFQ8TmDn5XpNpaYbg==
+-----END CERTIFICATE-----
+
diff --git a/find-cursor b/find-cursor
new file mode 160000
+Subproject 4a67d023ef204d0c237841610e943cc247447be
diff --git a/fonts/.fonts/CrimsonText-Bold.ttf b/fonts/.fonts/CrimsonText-Bold.ttf
new file mode 100644
index 0000000..5753863
--- /dev/null
+++ b/fonts/.fonts/CrimsonText-Bold.ttf
Binary files differ
diff --git a/fonts/.fonts/CrimsonText-BoldItalic.ttf b/fonts/.fonts/CrimsonText-BoldItalic.ttf
new file mode 100644
index 0000000..233e387
--- /dev/null
+++ b/fonts/.fonts/CrimsonText-BoldItalic.ttf
Binary files differ
diff --git a/fonts/.fonts/CrimsonText-Italic.ttf b/fonts/.fonts/CrimsonText-Italic.ttf
new file mode 100644
index 0000000..e8fe8b8
--- /dev/null
+++ b/fonts/.fonts/CrimsonText-Italic.ttf
Binary files differ
diff --git a/fonts/.fonts/CrimsonText-Regular.ttf b/fonts/.fonts/CrimsonText-Regular.ttf
new file mode 100644
index 0000000..f24bf2a
--- /dev/null
+++ b/fonts/.fonts/CrimsonText-Regular.ttf
Binary files differ
diff --git a/fonts/.fonts/CrimsonText-SemiBold.ttf b/fonts/.fonts/CrimsonText-SemiBold.ttf
new file mode 100644
index 0000000..96f27e8
--- /dev/null
+++ b/fonts/.fonts/CrimsonText-SemiBold.ttf
Binary files differ
diff --git a/fonts/.fonts/CrimsonText-SemiBoldItalic.ttf b/fonts/.fonts/CrimsonText-SemiBoldItalic.ttf
new file mode 100644
index 0000000..66b129b
--- /dev/null
+++ b/fonts/.fonts/CrimsonText-SemiBoldItalic.ttf
Binary files differ
diff --git a/fonts/.fonts/FuturaBQ-Book.otf b/fonts/.fonts/FuturaBQ-Book.otf
new file mode 100644
index 0000000..13e4997
--- /dev/null
+++ b/fonts/.fonts/FuturaBQ-Book.otf
Binary files differ
diff --git a/fonts/.fonts/Raleway-Black.ttf b/fonts/.fonts/Raleway-Black.ttf
new file mode 100644
index 0000000..658de36
--- /dev/null
+++ b/fonts/.fonts/Raleway-Black.ttf
Binary files differ
diff --git a/fonts/.fonts/Raleway-BlackItalic.ttf b/fonts/.fonts/Raleway-BlackItalic.ttf
new file mode 100644
index 0000000..99d169c
--- /dev/null
+++ b/fonts/.fonts/Raleway-BlackItalic.ttf
Binary files differ
diff --git a/fonts/.fonts/Raleway-Bold.ttf b/fonts/.fonts/Raleway-Bold.ttf
new file mode 100644
index 0000000..92d30ce
--- /dev/null
+++ b/fonts/.fonts/Raleway-Bold.ttf
Binary files differ
diff --git a/fonts/.fonts/Raleway-BoldItalic.ttf b/fonts/.fonts/Raleway-BoldItalic.ttf
new file mode 100644
index 0000000..cdf44e1
--- /dev/null
+++ b/fonts/.fonts/Raleway-BoldItalic.ttf
Binary files differ
diff --git a/fonts/.fonts/Raleway-ExtraBold.ttf b/fonts/.fonts/Raleway-ExtraBold.ttf
new file mode 100644
index 0000000..4b0371b
--- /dev/null
+++ b/fonts/.fonts/Raleway-ExtraBold.ttf
Binary files differ
diff --git a/fonts/.fonts/Raleway-ExtraBoldItalic.ttf b/fonts/.fonts/Raleway-ExtraBoldItalic.ttf
new file mode 100644
index 0000000..49f5cb1
--- /dev/null
+++ b/fonts/.fonts/Raleway-ExtraBoldItalic.ttf
Binary files differ
diff --git a/fonts/.fonts/Raleway-ExtraLight.ttf b/fonts/.fonts/Raleway-ExtraLight.ttf
new file mode 100644
index 0000000..d682219
--- /dev/null
+++ b/fonts/.fonts/Raleway-ExtraLight.ttf
Binary files differ
diff --git a/fonts/.fonts/Raleway-ExtraLightItalic.ttf b/fonts/.fonts/Raleway-ExtraLightItalic.ttf
new file mode 100644
index 0000000..2d47fbf
--- /dev/null
+++ b/fonts/.fonts/Raleway-ExtraLightItalic.ttf
Binary files differ
diff --git a/fonts/.fonts/Raleway-Italic.ttf b/fonts/.fonts/Raleway-Italic.ttf
new file mode 100644
index 0000000..0f8107e
--- /dev/null
+++ b/fonts/.fonts/Raleway-Italic.ttf
Binary files differ
diff --git a/fonts/.fonts/Raleway-Light.ttf b/fonts/.fonts/Raleway-Light.ttf
new file mode 100644
index 0000000..23f7fb1
--- /dev/null
+++ b/fonts/.fonts/Raleway-Light.ttf
Binary files differ
diff --git a/fonts/.fonts/Raleway-LightItalic.ttf b/fonts/.fonts/Raleway-LightItalic.ttf
new file mode 100644
index 0000000..187619e
--- /dev/null
+++ b/fonts/.fonts/Raleway-LightItalic.ttf
Binary files differ
diff --git a/fonts/.fonts/Raleway-Medium.ttf b/fonts/.fonts/Raleway-Medium.ttf
new file mode 100644
index 0000000..b46bd18
--- /dev/null
+++ b/fonts/.fonts/Raleway-Medium.ttf
Binary files differ
diff --git a/fonts/.fonts/Raleway-MediumItalic.ttf b/fonts/.fonts/Raleway-MediumItalic.ttf
new file mode 100644
index 0000000..aabbfe9
--- /dev/null
+++ b/fonts/.fonts/Raleway-MediumItalic.ttf
Binary files differ
diff --git a/fonts/.fonts/Raleway-Regular.ttf b/fonts/.fonts/Raleway-Regular.ttf
new file mode 100644
index 0000000..ec9b483
--- /dev/null
+++ b/fonts/.fonts/Raleway-Regular.ttf
Binary files differ
diff --git a/fonts/.fonts/Raleway-SemiBold.ttf b/fonts/.fonts/Raleway-SemiBold.ttf
new file mode 100644
index 0000000..d228458
--- /dev/null
+++ b/fonts/.fonts/Raleway-SemiBold.ttf
Binary files differ
diff --git a/fonts/.fonts/Raleway-SemiBoldItalic.ttf b/fonts/.fonts/Raleway-SemiBoldItalic.ttf
new file mode 100644
index 0000000..6c5bbc1
--- /dev/null
+++ b/fonts/.fonts/Raleway-SemiBoldItalic.ttf
Binary files differ
diff --git a/fonts/.fonts/Raleway-Thin.ttf b/fonts/.fonts/Raleway-Thin.ttf
new file mode 100644
index 0000000..ed48751
--- /dev/null
+++ b/fonts/.fonts/Raleway-Thin.ttf
Binary files differ
diff --git a/fonts/.fonts/Raleway-ThinItalic.ttf b/fonts/.fonts/Raleway-ThinItalic.ttf
new file mode 100644
index 0000000..a431542
--- /dev/null
+++ b/fonts/.fonts/Raleway-ThinItalic.ttf
Binary files differ
diff --git a/i3/.i3/config b/i3/.i3/config
index 05330c2..5fc70c7 100644
--- a/i3/.i3/config
+++ b/i3/.i3/config
@@ -12,10 +12,13 @@ exec xautolock -time 10 -locker 'i3lock -d' -corners 000- -cornersize 30
bindsym $mod+Control+Shift+l exec xautolock -locknow
# Assignments
-assign [class="Firefox"] 1
+assign [class="firefox-esr"] 1
assign [class="thunderbird"] 10
assign [class="Zotero"] 3
+# Zoom uses lots of pop-ups
+for_window [class="zoom"] floating enable
+
# Menus
bindsym $mod+d exec dmenu_run -i -fn 'DejaVu Sans'
bindsym $mod+p exec passmenu -i -l 20 -fn 'DejaVu Sans'
@@ -28,22 +31,27 @@ bindsym $mod+Shift+Q kill
bindsym $mod+Return exec urxvt
bindsym $mod+Shift+v exec urxvt -e vim
bindsym $mod+Shift+m exec urxvt -e cmus
-for_window [class="URxvt" instance="floating-large"] floating toggle resize set 1200 800
+for_window [class="URxvt" instance="floating-large"] floating toggle move position center sticky enable
# Super+i is the settings icon on my Lenovo Yoga
bindsym $mod+i exec urxvt -name floating-large -e htop
bindsym $mod+Shift+i exec urxvt -name floating-large -e sudo htop
-for_window [class="URxvt" instance="floating-small"] floating toggle resize set 600 400
+for_window [class="URxvt" instance="floating-small"] floating toggle move position center sticky enable
bindsym XF86Calculator exec urxvt -name floating-small -e python3
-# Special keys
+# Special keys: print screen
bindsym Print exec scrot -z '/tmp/%Y-%m-%d-%H%M%S_$wx$h.png'
bindsym Shift+Print exec scrot -z -u '/tmp/%Y-%m-%d-%H%M%S_$wx$h.png'
bindsym --release Control+Print exec scrot -z -s '/tmp/%Y-%m-%d-%H%M%S_$wx$h.png'
-bindsym XF86AudioMute exec amixer sset Master toggle && kill -s 10 `pidof i3status`
-bindsym XF86AudioRaiseVolume exec amixer sset Master 1%+ && kill -s 10 `pidof i3status`
-bindsym XF86AudioLowerVolume exec amixer sset Master 1%- && kill -s 10 `pidof i3status`
+# Special keys: locate cursor
+bindsym $mod+c exec find-cursor -c '#ff0000'
+
+# Special keys: audio
+bindsym XF86AudioMute exec amixer -D pulse sset Master toggle && kill -s 10 `pidof i3status`
+bindsym XF86AudioRaiseVolume exec amixer -D pulse sset Master 1%+ && kill -s 10 `pidof i3status`
+bindsym XF86AudioLowerVolume exec amixer -D pulse sset Master 1%- && kill -s 10 `pidof i3status`
+# Special keys: monitor brightness / nightlight
bindsym XF86MonBrightnessUp exec bash -c 'echo "$(($(cat /sys/class/backlight/amdgpu_bl0/brightness)+10))" > /sys/class/backlight/amdgpu_bl0/brightness'
bindsym XF86MonBrightnessDown exec bash -c 'echo "$(($(cat /sys/class/backlight/amdgpu_bl0/brightness)-10))" > /sys/class/backlight/amdgpu_bl0/brightness'
bindsym Shift+XF86MonBrightnessUp exec bash -c 'echo 255 > /sys/class/backlight/amdgpu_bl0/brightness'
diff --git a/i3/bin/find-cursor b/i3/bin/find-cursor
new file mode 120000
index 0000000..4ea0e80
--- /dev/null
+++ b/i3/bin/find-cursor
@@ -0,0 +1 @@
+../../find-cursor/find-cursor \ No newline at end of file
diff --git a/system/.bashrc b/system/.bashrc
index 9d74f8f..4b59c4b 100644
--- a/system/.bashrc
+++ b/system/.bashrc
@@ -122,8 +122,8 @@ function _update_ps1() {
PS1="$(
$HOME/bin/powerline-go \
-max-width 40 \
- -modules host,user,cwd,git,nix-shell,jobs,exit \
- -priority host,user,git,cwd,nix-shell,jobs,exit \
+ -modules host,venv,cwd,git,nix-shell,jobs,exit \
+ -priority host,git,venv,cwd,nix-shell,jobs,exit \
-error $? \
-git-disable-stats untracked \
-hostname-only-if-ssh \
diff --git a/system/.config/mimeapps.list b/system/.config/mimeapps.list
index 1a016d6..94181ee 100644
--- a/system/.config/mimeapps.list
+++ b/system/.config/mimeapps.list
@@ -10,6 +10,10 @@ application/x-extension-shtml=firefox-esr.desktop
application/xhtml+xml=firefox-esr.desktop
application/x-extension-xhtml=firefox-esr.desktop
application/x-extension-xht=firefox-esr.desktop
+application/x-desktop=gio-launch.desktop;
+image/jpeg=feh.desktop;
+text/plain=org.gnome.gedit.desktop
+x-scheme-handler/ente=ente.desktop
[Added Associations]
x-scheme-handler/http=firefox-esr.desktop;
@@ -23,3 +27,9 @@ application/xhtml+xml=firefox-esr.desktop;
application/x-extension-xhtml=firefox-esr.desktop;
application/x-extension-xht=firefox-esr.desktop;
application/pdf=org.gnome.Evince.desktop;
+application/x-desktop=gio-launch.desktop;
+image/jpeg=gimp.desktop;feh.desktop;
+application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop;
+application/x-latex=org.gnome.gedit.desktop;
+txt/plain=org.gnome.gedit.desktop;
+text/plain=org.gnome.gedit.desktop;
diff --git a/system/.config/zathura/zathurarc b/system/.config/zathura/zathurarc
new file mode 100644
index 0000000..5406473
--- /dev/null
+++ b/system/.config/zathura/zathurarc
@@ -0,0 +1 @@
+set database sqlite
diff --git a/system/.profile b/system/.profile
index c2c27a0..87ca52f 100644
--- a/system/.profile
+++ b/system/.profile
@@ -1,4 +1,4 @@
-export PATH="/usr/local/texlive/2023/bin/x86_64-linux:$PATH"
+export PATH="/usr/local/texlive/2025/bin/x86_64-linux:$PATH"
export PATH="/sbin:$PATH"
export PATH="/usr/sbin:$PATH"
export PATH="/usr/local/sbin:$PATH"
@@ -16,6 +16,10 @@ export PATH="$HOME/.local/bin:$PATH"
[ -f "/home/camil/.ghcup/env" ] && . "/home/camil/.ghcup/env"
+export NVM_DIR="$HOME/.nvm"
+[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
+[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
+
[ -f /home/camil/.nix-profile/etc/profile.d/nix.sh ] && . /home/camil/.nix-profile/etc/profile.d/nix.sh
# with TERM=rxvt-unicode-256color, backspace and other keys don't work in nix shells
[ "$IN_NIX_SHELL" = "" -a "$TERM" = "rxvt-unicode-256color" ] || TERM=rxvt-256color
@@ -23,9 +27,9 @@ export PATH="$HOME/.local/bin:$PATH"
export MANPATH="/usr/local/git/man:$MANPATH"
export MANPATH="/usr/local/mysql/man:$MANPATH"
export MANPATH="/usr/local/man:$MANPATH"
-export MANPATH="/usr/local/texlive/2023/texmf-dist/doc/man:$MANPATH"
+export MANPATH="/usr/local/texlive/2025/texmf-dist/doc/man:$MANPATH"
-export INFOPATH="/usr/local/texlive/2023/texmf-dist/doc/info:$INFOPATH"
+export INFOPATH="/usr/local/texlive/2025/texmf-dist/doc/info:$INFOPATH"
export SUDO_ASKPASS=~/bin/askpass
export HISTTIMEFORMAT="%Y-%m-%d %T "
@@ -35,6 +39,8 @@ export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=gasp -Dsun.java2d.opengl=tru
# Enable sync in Chromium: https://stackoverflow.com/a/67459416 and https://askubuntu.com/a/780874
export CHROMIUM_FLAGS="--oauth2-client-id=77185425430.apps.googleusercontent.com --oauth2-client-secret=OTJgUOQcT7lO7GsGZq2G4IlT"
+export QT_QPA_PLATFORMTHEME=qt5ct
+
shopt -s globstar
[ "$(tty)" = "/dev/tty1" ] && exec startx
diff --git a/texlive/texlive.profile b/texlive/texlive.profile
index 6470c75..9d89235 100644
--- a/texlive/texlive.profile
+++ b/texlive/texlive.profile
@@ -1,11 +1,11 @@
selected_scheme scheme-custom
-TEXDIR /usr/local/texlive/2023
-TEXMFCONFIG ~/.texlive2023/texmf-config
+TEXDIR /usr/local/texlive/2025
+TEXMFCONFIG ~/.texlive2025/texmf-config
TEXMFHOME ~/texmf
TEXMFLOCAL /usr/local/texlive/texmf-local
-TEXMFSYSCONFIG /usr/local/texlive/2023/texmf-config
-TEXMFSYSVAR /usr/local/texlive/2023/texmf-var
-TEXMFVAR ~/.texlive2023/texmf-var
+TEXMFSYSCONFIG /usr/local/texlive/2025/texmf-config
+TEXMFSYSVAR /usr/local/texlive/2025/texmf-var
+TEXMFVAR ~/.texlive2025/texmf-var
binary_x86_64-linux 1
collection-basic 1
collection-latex 1
diff --git a/vim/.config/nvim/lua/lsp/init.lua b/vim/.config/nvim/lua/lsp/init.lua
index 474f649..1739cee 100644
--- a/vim/.config/nvim/lua/lsp/init.lua
+++ b/vim/.config/nvim/lua/lsp/init.lua
@@ -1,64 +1,3 @@
-local first_hover_code_i = 0
-local first_hover_code_line = -1
-local first_hover_code_col = -1
-local first_hover_code_prev = ''
-
--- Returns the first code block from the markdown returned for the LSP request
--- textDocument/hover. Multiple lines are joined with a space.
-function _G.lsp_first_hover_code()
- --[[ NB: there is a bug that causes statusline to be reloaded continuously;
- see https://github.com/neovim/neovim/issues/14303. It is not good to do a
- sync request every time. Instead, keep track of line & col and only
- update when either has changed. This should be fixed in nvim 0.5, after
- which the first_hover_code_* variables and this logic can be removed. ]]
-
- local line, col = unpack(vim.api.nvim_win_get_cursor(0))
- if line == first_hover_code_line and col == first_hover_code_col then
- return first_hover_code_prev
- end
- first_hover_code_line = line
- first_hover_code_col = col
-
- --[[ To check whether the bug has been fixed:
- vim.api.nvim_echo({{'request '},{tostring(first_hover_code_i)},{tostring(line)}},false,{})
- first_hover_code_i = first_hover_code_i + 1
- --]]
-
- if not vim.lsp.buf.server_ready() then return '' end
-
- local responses = vim.lsp.buf_request_sync(
- 0,
- 'textDocument/hover',
- vim.lsp.util.make_position_params(),
- 1000
- )
-
- if not responses then return '' end
-
- local full_result = ''
- local markdown_started = false
-
- for _, response in ipairs(responses) do
- if response.result and response.result.contents.value then
- for line in response.result.contents.value:gmatch '[^\n]+' do
- if line:sub(0,3) == '```' then
- if markdown_started then
- first_hover_code_prev = full_result
- return full_result
- else
- markdown_started = true
- end
- else
- full_result = full_result .. ' ' .. line
- end
- end
- end
- end
-
- first_hover_code_prev = full_result
- return full_result
-end
-
local function on_attach (client, bufnr)
local function buf_set_keymap(...) vim.api.nvim_buf_set_keymap(bufnr, ...) end
local function buf_set_option(...) vim.api.nvim_buf_set_option(bufnr, ...) end
diff --git a/vim/.config/nvim/spell/en.utf-8.add b/vim/.config/nvim/spell/en.utf-8.add
index b53d504..787cb15 100644
--- a/vim/.config/nvim/spell/en.utf-8.add
+++ b/vim/.config/nvim/spell/en.utf-8.add
@@ -239,3 +239,56 @@ nominals
affixation
overgenerate
Indo-European
+retentions
+typological
+dimensionality
+genericity
+morphologically
+consonantal
+nominalizers
+nominalizer
+syndetic
+deverbal
+adpositions
+NPs
+desententialization
+desententialized
+gapping
+infinitivals
+subordinator
+agnostically
+creolization
+overgeneration
+frequentative
+countability
+subtractive
+atomicity
+articulatory
+unconsiously/!
+Rhotic
+Diachrony
+diachrony
+morphosyntactically
+complementarily
+connectedness
+allomorphs
+complementariness
+semelfactive
+morphosyntax
+rhotics
+rhotic
+phonestheme
+markedness
+augmentatives
+affricates
+subevents
+phonaestheme
+Phonaesthemes
+phonaesthemes
+ideophones
+phonaesthemic
+boundedness
+affricate
+eventive
+selectional
+a priori
diff --git a/vim/.config/nvim/spell/en.utf-8.add.spl b/vim/.config/nvim/spell/en.utf-8.add.spl
index 77e4597..67b98b1 100644
--- a/vim/.config/nvim/spell/en.utf-8.add.spl
+++ b/vim/.config/nvim/spell/en.utf-8.add.spl
Binary files differ
diff --git a/vim/.vim/after/ftplugin/tex.vim b/vim/.vim/after/ftplugin/tex.vim
index 23b1a40..66be81d 100644
--- a/vim/.vim/after/ftplugin/tex.vim
+++ b/vim/.vim/after/ftplugin/tex.vim
@@ -8,13 +8,15 @@ function! SyncTeXToPDF()
\ shellescape(g:synctex_zathura_pdf_filename))
endfunction
-function! g:SyncPDFToTeX(input, line)
- " Focus the window vim is running in.
- exe "silent !i3-msg '[id=\"" . environ()['WINDOWID'] . "\"] focus'"
- " Open the file name and jump to the right line.
- " Mysteriously, we need `cd .` to fix the file name in the tabline.
- " Putting this in one `exe` seems to reduce flickering.
- exe 'tab drop ' . a:input . ' | silent ' . a:line . ' | silent cd .'
-endfunction
+if !exists("*g:SyncPDFToTeX")
+ function! g:SyncPDFToTeX(input, line)
+ " Focus the window vim is running in.
+ exe "silent !i3-msg '[id=\"" . environ()['WINDOWID'] . "\"] focus'"
+ " Open the file name and jump to the right line.
+ " Mysteriously, we need `cd .` to fix the file name in the tabline.
+ " Putting this in one `exe` seems to reduce flickering.
+ exe 'tab drop ' . a:input . ' | silent ' . a:line . ' | silent cd .'
+ endfunction
+endif
map <C-T> :call SyncTeXToPDF()<CR>
diff --git a/vim/.vimrc b/vim/.vimrc
index fd932f4..8f1082a 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -27,6 +27,7 @@ Plugin 'camilstaps/vim-sil', {'pinned': 1} " Sil
Plugin 'rust-lang/rust.vim' " Rust
Plugin 'rhysd/vim-llvm' " LLVM
Plugin 'rhysd/vim-wasm' " WebAssembly text
+Plugin 'nickel-lang/vim-nickel' " Nickel
" Other plugins
Plugin 'mg979/vim-visual-multi' " Multiple cursors
@@ -69,6 +70,7 @@ set nolist
set nowrap
set scrolloff=10
set tabpagemax=100
+set showtabline=2
set nrformats=hex,alpha
set fillchars+=fold:\
set statusline=
@@ -186,9 +188,6 @@ let g:VM_case_setting = 'sensitive'
" Don't let match-up mess up the statusline
let g:matchup_matchparen_status_offscreen=0
-" Status line based on LSP
-set statusline+=%{luaeval('lsp_first_hover_code()')}
-
" Clean has no language server, we use the cloogletags statusline component
set statusline+=%{cleanvim#tags#statusline()}%<