summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Ott <josh@ottmail.me>2025-09-12 07:21:58 -0400
committerJosh Ott <josh@ottmail.me>2025-09-12 07:21:58 -0400
commit7bbad3175c6df9aa1e03222759a565658abad0e1 (patch)
tree67fe7903443c74c2bfb3c51315d78d5711af87b3
parent682ffe86f65166c5b5be857200ac090f9917be8a (diff)
downloaddotfiles-7bbad3175c6df9aa1e03222759a565658abad0e1.tar.gz
dotfiles-7bbad3175c6df9aa1e03222759a565658abad0e1.zip
various
-rw-r--r--.config/keybs/kanata.kbd12
-rw-r--r--.config/lectern/config.toml2
-rw-r--r--.config/lectern/courses.toml96
-rw-r--r--.config/lectern/homework_template.tex3
-rw-r--r--.config/lectern/undergrad_courses.toml83
-rw-r--r--.config/nvim/lua/keymaps.lua4
-rw-r--r--.config/nvim/lua/plugins.lua6
-rw-r--r--.config/nvim/snips/tex/symbols.lua4
8 files changed, 119 insertions, 91 deletions
diff --git a/.config/keybs/kanata.kbd b/.config/keybs/kanata.kbd
index 8b7e8c6..d0f497d 100644
--- a/.config/keybs/kanata.kbd
+++ b/.config/keybs/kanata.kbd
@@ -25,10 +25,12 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
num (one-shot-press-pcancel 1500 (layer-while-held numbers))
sym (one-shot-press-pcancel 1500 (layer-while-held symbols))
fun (one-shot-press-pcancel 1500 (layer-while-held function))
+ mse (layer-while-held mouse)
qwe (layer-switch qwerty)
cdh (layer-switch colemakdh)
oss (one-shot-press 500 lsft) ;; one shot shift
sfd (tap-dance 200 (@oss caps)) ;; shift dance
+ bsf (tap-hold-release 200 200 bspc lsft)
hrt (tap-hold-release 200 200 t lmet)
hrn (tap-hold-release 200 200 n lmet)
@@ -54,7 +56,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
mwd (mwheel-down 1 1)
mwr (mwheel-right 1 1)
- mou (layer-switch mouse)
+ mst (layer-switch mouse)
)
(defsrc
@@ -70,8 +72,8 @@ esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 home end ins
(deflayer colemakdh
esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 home end ins del
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
- tab q w f p b j l u y @fun [ ]
- esc a @hrr @hrs @hrt g m @hrn @hre @hri o ret ret ret
+ esc q w f p b j l u y @fun [ ]
+ @mse a @hrr @hrs @hrt g m @hrn @hre @hri o ret ret ret
@sfd x c d v z k h ' @sym bspc @sfd
wkup lctl lmet lalt @nav spc @sfd @num ralt sys @qwe pgdn up pgup
left down rght
@@ -82,7 +84,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ [ ] _ _ _ del pgdn pgup _ _ _
_ esc @cop @pop @pcl _ _ left down up rght _ _ _
- _ ins del S-] _ _ _ home end @mou _ _
+ _ ins del S-] _ _ _ home end @mst _ _
_ _ _ _ _ _ _ ret _ _ _ _ _ _
_ _ _
)
@@ -92,7 +94,7 @@ lrld _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ 4 5 6 S-\ _ S-8 S-, S-. _ _ _
_ tab 1 2 3 S-6 _ @meq @mco . / _ _ _
- _ 7 8 9 S-` _ _ - S-- S-+ _ _
+ _ 7 8 9 S-` _ _ - S-- S-+ @bsf _
_ _ _ _ 0 _ _ _ _ _ _ _ _ _
_ _ _
)
diff --git a/.config/lectern/config.toml b/.config/lectern/config.toml
index b821148..25d35eb 100644
--- a/.config/lectern/config.toml
+++ b/.config/lectern/config.toml
@@ -1,3 +1,3 @@
-root = "/home/josh/nextcloud/escritoire/university"
+root = "/home/josh/nextcloud/escritoire/phd/courses"
lecture_template = "/home/josh/.config/lectern/lecture_template.tex"
homework_template = "/home/josh/.config/lectern/homework_template.tex"
diff --git a/.config/lectern/courses.toml b/.config/lectern/courses.toml
index ee15285..42b6d9a 100644
--- a/.config/lectern/courses.toml
+++ b/.config/lectern/courses.toml
@@ -1,83 +1,17 @@
-[ma546]
-name = "ma546"
-title = "Probability and Stochastic Processes"
-prof = "Dr. Erik Bates"
-semester = "f24"
+["8.333"]
+name = "8.333"
+title = "Statistical Mechanics I"
+prof = "Julien Tailleur"
+semester = "f25"
-[ma790]
-name = "ma790"
-title = "Lie Groups and Lie Algebras"
-prof = "Dr. Dmitry Zenkov"
-semester = "f24"
+[PHYS253A]
+name = "PHYS253A"
+title = "Quantum Field Theory I"
+prof = "Matthew Schwartz"
+semester = "f25"
-[py414]
-name = "py414"
-title = "Electromagnetism I"
-prof = "Dr. Carla Frohlich"
-semester = "f23"
-
-[ma513]
-name = "ma513"
-title = "Complex Analysis"
-prof = "Dr. Andrew Manion"
-semester = "s24"
-
-[ma425]
-name = "ma425"
-title = "Real Analysis I"
-prof = "Dr. Alina Duca"
-semester = "s24"
-
-[py415]
-name = "py415"
-title = "Electromagnetism II"
-prof = "Dr. Carla Fr\"ohlich"
-semester = "s24"
-
-[py411]
-name = "py411"
-title = "Mechanics II"
-prof = "Dr. Gail McLaughlin"
-semester = "f23"
-
-[py402]
-name = "py402"
-title = "Quantum Mechanics II"
-prof = "Dr. Thomas Schaefer"
-semester = "f24"
-
-[afs342]
-name = "afs342"
-title = "Introduction to the African Diaspora"
-prof = "Dr. Moses Khisa"
-semester = "s24"
-
-[py401]
-name = "py401"
-title = "Quantum Mechanics I"
-prof = "Dr. Thomas Schafer"
-semester = "s24"
-
-[ma407]
-name = "ma407"
-title = "Modern Algebra"
-prof = "Dr. Radmila Sazdanovic"
-semester = "f23"
-
-[ma551]
-name = "ma551"
-title = "Introduction to Topology"
-prof = "Dr. Radmila Sazdanovic"
-semester = "f24"
-
-[ma491]
-name = "ma491"
-title = "TQFTs"
-prof = "Dr. Tye Lidman"
-semester = "s25"
-
-[ma555]
-name = "ma555"
-title = "Introduction to Manifold Theory"
-prof = "Dr. Peter McGrath"
-semester = "s25"
+["8.324"]
+name = "8.324"
+title = "Relativistic Quantum Field Theory II"
+prof = "Iain Stewart"
+semester = "f25"
diff --git a/.config/lectern/homework_template.tex b/.config/lectern/homework_template.tex
index ac09f91..28c7edc 100644
--- a/.config/lectern/homework_template.tex
+++ b/.config/lectern/homework_template.tex
@@ -1,7 +1,8 @@
\input\{../../preambles/homework.tex}
\course\{{course}}
-\homeworktype\{Homework}
+\coursetitle\{{title}}
+\homeworktype\{Problem Set}
\homeworknumber\{{number}}
\begin\{document}
diff --git a/.config/lectern/undergrad_courses.toml b/.config/lectern/undergrad_courses.toml
new file mode 100644
index 0000000..ee15285
--- /dev/null
+++ b/.config/lectern/undergrad_courses.toml
@@ -0,0 +1,83 @@
+[ma546]
+name = "ma546"
+title = "Probability and Stochastic Processes"
+prof = "Dr. Erik Bates"
+semester = "f24"
+
+[ma790]
+name = "ma790"
+title = "Lie Groups and Lie Algebras"
+prof = "Dr. Dmitry Zenkov"
+semester = "f24"
+
+[py414]
+name = "py414"
+title = "Electromagnetism I"
+prof = "Dr. Carla Frohlich"
+semester = "f23"
+
+[ma513]
+name = "ma513"
+title = "Complex Analysis"
+prof = "Dr. Andrew Manion"
+semester = "s24"
+
+[ma425]
+name = "ma425"
+title = "Real Analysis I"
+prof = "Dr. Alina Duca"
+semester = "s24"
+
+[py415]
+name = "py415"
+title = "Electromagnetism II"
+prof = "Dr. Carla Fr\"ohlich"
+semester = "s24"
+
+[py411]
+name = "py411"
+title = "Mechanics II"
+prof = "Dr. Gail McLaughlin"
+semester = "f23"
+
+[py402]
+name = "py402"
+title = "Quantum Mechanics II"
+prof = "Dr. Thomas Schaefer"
+semester = "f24"
+
+[afs342]
+name = "afs342"
+title = "Introduction to the African Diaspora"
+prof = "Dr. Moses Khisa"
+semester = "s24"
+
+[py401]
+name = "py401"
+title = "Quantum Mechanics I"
+prof = "Dr. Thomas Schafer"
+semester = "s24"
+
+[ma407]
+name = "ma407"
+title = "Modern Algebra"
+prof = "Dr. Radmila Sazdanovic"
+semester = "f23"
+
+[ma551]
+name = "ma551"
+title = "Introduction to Topology"
+prof = "Dr. Radmila Sazdanovic"
+semester = "f24"
+
+[ma491]
+name = "ma491"
+title = "TQFTs"
+prof = "Dr. Tye Lidman"
+semester = "s25"
+
+[ma555]
+name = "ma555"
+title = "Introduction to Manifold Theory"
+prof = "Dr. Peter McGrath"
+semester = "s25"
diff --git a/.config/nvim/lua/keymaps.lua b/.config/nvim/lua/keymaps.lua
index 519b336..2aa24d8 100644
--- a/.config/nvim/lua/keymaps.lua
+++ b/.config/nvim/lua/keymaps.lua
@@ -47,8 +47,8 @@ map('n', '<leader>tw', '<cmd>Twilight<CR>')
map('n', '<leader>o', '<cmd>Outline<CR>')
-- buffers
-map('n', '<PageUp>', '<cmd>bnext<CR>')
-map('n', '<PageDown>', '<cmd>bprevious<CR>')
+map('n', '<PageUp>', '<cmd>BufferNext<CR>')
+map('n', '<PageDown>', '<cmd>BufferPrevious<CR>')
map('n', '<leader>br', '<cmd>BufferClose<CR>')
map('n', '<leader>Q', '<cmd>BufferClose!<CR>')
map('n', '<leader>bn', '<cmd>BufferOrderByBufferNumber<CR>')
diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua
index 93148da..bc87f3b 100644
--- a/.config/nvim/lua/plugins.lua
+++ b/.config/nvim/lua/plugins.lua
@@ -82,7 +82,11 @@ require("lazy").setup({
{
'windwp/nvim-autopairs',
event = "InsertEnter",
- config = true
+ config = function()
+ require("nvim-autopairs").setup {
+ disable_filetype = { "tex" },
+ }
+ end
},
{
'RedsXDD/neopywal.nvim',
diff --git a/.config/nvim/snips/tex/symbols.lua b/.config/nvim/snips/tex/symbols.lua
index 118c807..9b274c8 100644
--- a/.config/nvim/snips/tex/symbols.lua
+++ b/.config/nvim/snips/tex/symbols.lua
@@ -455,4 +455,8 @@ return {
{ n.t("\\,") },
{ condition = h.in_mathzone }
),
+ n.s({trig="'pt", snippetType="autosnippet", wordTrig = false},
+ { n.t("\\partial") },
+ { condition = h.in_mathzone }
+ ),
}