]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
shell: set GOTOOLCHAIN=local master
authorSimon Ruderich <simon@ruderich.org>
Fri, 26 Apr 2024 15:26:49 +0000 (17:26 +0200)
committerSimon Ruderich <simon@ruderich.org>
Fri, 26 Apr 2024 15:26:49 +0000 (17:26 +0200)
multimedia/mpv/mpv.conf
multimedia/yt-dlp/config
shell/shell/env
vim/vimrc

index 15936e16e33eb7b5306638c1cfc15d075d7f05fc..fdb610c39a087fd17978e1c27e4e22c9c76226f4 100644 (file)
@@ -76,5 +76,7 @@ prefetch-playlist=yes
 # --secondary-sid is used on the command line (mpv only saves settings with a
 # different value).
 watch-later-options-append=secondary-sid
+# Also keep play/pause state (necessary since 0.37).
+watch-later-options-append=pause
 
 # vim: ft=mplayerconf
index 92012b4fcfc9f00aaf40b1107cf8094b90b00fda..d455b897587987301a1f359f4721b95f58ee9d37 100644 (file)
@@ -8,6 +8,8 @@
 
 --write-subs
 
+--write-description
+
 --embed-subs
 --embed-chapters
 
index 8313a41b0f17658d27ee5a2c22b80687bfbf8430..83810b12d382bf072cbae6dec4999251f827dc26 100644 (file)
@@ -164,6 +164,9 @@ export GOPROXY
 # Same for https://sum.golang.org/
 GOSUMDB=off
 export GOSUMDB
+# Don't automatically download and execute other version of the Go toolchain
+GOTOOLCHAIN=local
+export GOTOOLCHAIN
 
 # Tell `ip -color` to use colors suitable for a dark terminal. Not sure if
 # this variable is also used by other programs.
index 86c1e706e8263965107374ae908d8795fbd682eb..84813d960d6bf5758a7be09a2a17d3eadfd1e49e 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -920,11 +920,10 @@ if has('eval')
     endif
 
 " Settings for securemodelines.
-    " Only allow items I need (also includes spl which is not enabled by
-    " default).
+    " Only allow items I need
     if v:version >= 700 " need lists
         let g:secure_modelines_allowed_items = ['ft', 'spl', 'fdm',
-                                              \ 'sw', 'sts', 'noet']
+                                              \ 'ts', 'sw', 'sts', 'noet']
     endif
 
 " Settings for gnupg.
@@ -1082,8 +1081,9 @@ if has('autocmd')
         autocmd FileType vimperator setlocal commentstring=\"%s
 " Use TeX compiler for (La)TeX files.
         autocmd FileType tex compiler tex
-" Go always uses tabs for indentation.
-        autocmd FileType go call <SID>UseTabs()
+" Go always uses tabs for indentation; use BufRead so modelines can overwrite
+" settings like 'tabstop'
+        autocmd BufRead,StdinReadPost *.go call <SID>UseTabs()
 
 " FTDETECT AUTO COMMANDS