From 6b43c4ff0e171532d6a1eae2f982df1bc2c25f69 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 6 May 2019 16:32:16 +0300 Subject: Change: emacs font size :200 works better on e4, hmm. --- emacs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emacs b/emacs index eba7523..4b8d90d 100644 --- a/emacs +++ b/emacs @@ -165,4 +165,4 @@ ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. - '(default ((t (:family "Inconsolata" :foundry "PfEd" :slant normal :weight bold :height 160 :width normal))))) + '(default ((t (:family "Inconsolata" :foundry "PfEd" :slant normal :weight bold :height 200 :width normal))))) -- cgit v1.2.1 From 666b76a873afabf273a8b45b6b100f04da3ca22b Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 31 Oct 2019 20:06:13 +0200 Subject: Add: go-mode to emacs --- emacs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/emacs b/emacs index 06e8201..ad8dac0 100644 --- a/emacs +++ b/emacs @@ -64,6 +64,7 @@ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Turn on some modes automatically based on filename. +(require 'go-mode) (setq auto-mode-alist '(("\\.mdwn\\'" . markdown-mode) ("\\.md\\'" . markdown-mode) @@ -85,6 +86,7 @@ ("\\.py\\'" . python-mode) ("\\.sh\\'" . shell-script-mode) ("\\.hs\\'" . haskell-mode) + ("\\.go\\'" . go-mode) ("\\.rs\\'" . rust-mode) ("\\.ledger\\'" . ledger-mode) ("mutt-.*" . mail-mode))) -- cgit v1.2.1 From 4faec7dfdbedca04b834af02e37379c417c1788a Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 31 Oct 2019 20:06:33 +0200 Subject: Add: wmf signature to email --- mutt/muttrc-wmf | 2 +- signature-wmf | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 signature-wmf diff --git a/mutt/muttrc-wmf b/mutt/muttrc-wmf index cd15392..9d3e338 100644 --- a/mutt/muttrc-wmf +++ b/mutt/muttrc-wmf @@ -9,7 +9,7 @@ set from=lwirzenius@wikimedia.org unset smtp_url set smtp_url=smtps://lwirzenius@wikimedia.org@smtp.gmail.com:465 set smtp_pass=`pass show wmf/offlineimap` -set signature= +set signature=/home/liw/liw-dot-files/signature-wmf set header_cache=/home/tmp/.mutt.header_cache diff --git a/signature-wmf b/signature-wmf new file mode 100644 index 0000000..9ea0aef --- /dev/null +++ b/signature-wmf @@ -0,0 +1,3 @@ +WMF release engineering team | he/him or they/them +"Imagine a world in which every single human being can freely share in +the sum of all knowledge." \ No newline at end of file -- cgit v1.2.1 From 0a98cf1c86139b17fa6f2afbf89a1b1887ebe80c Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 16 Jan 2020 14:48:09 +0200 Subject: Add: tex-mode to .tex in Emacs --- emacs | 1 + 1 file changed, 1 insertion(+) diff --git a/emacs b/emacs index ad8dac0..32939d7 100644 --- a/emacs +++ b/emacs @@ -89,6 +89,7 @@ ("\\.go\\'" . go-mode) ("\\.rs\\'" . rust-mode) ("\\.ledger\\'" . ledger-mode) + ("\\.tex\\'" . tex-mode) ("mutt-.*" . mail-mode))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -- cgit v1.2.1 From 9acfad8fe0a025b14a98625ebb7e8a7b14fc8b90 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 16 Jan 2020 14:48:27 +0200 Subject: Add: cargo local install path to PATH --- profile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/profile b/profile index c9db459..c346e4f 100644 --- a/profile +++ b/profile @@ -20,3 +20,5 @@ fi if [ -d "$HOME/bin" ] ; then PATH="$HOME/bin:$PATH" fi + +export PATH="$HOME/.cargo/bin:$PATH" -- cgit v1.2.1