diff options
| -rw-r--r-- | nvim/snips/tex/symbols.lua | 16 | ||||
| -rw-r--r-- | starship/starship.toml | 1 | ||||
| -rw-r--r-- | sway/config | 2 |
3 files changed, 19 insertions, 0 deletions
diff --git a/nvim/snips/tex/symbols.lua b/nvim/snips/tex/symbols.lua index 35d0575..ab63521 100644 --- a/nvim/snips/tex/symbols.lua +++ b/nvim/snips/tex/symbols.lua @@ -188,6 +188,18 @@ return { { condition = h.in_mathzone } ), + n.s({trig="'ti", regTrig=true, snippetType="autosnippet", priority=100}, + n.fmta("\\tilde{<>}", + { n.i(1) }), + { condition = h.in_mathzone } + ), + n.s({trig=[[(\\[a-zA-Z]+|[A-Za-z0-9]|\\[a-z]+\{\\?[A-Za-z0-9]+\})'ti]], + wordTrig=false, trigEngine="ecma", snippetType="autosnippet", priority=200}, + n.fmta("\\tilde{<>}", + { n.f(function(_, parent) return parent.captures[1] end) }), + { condition = h.in_mathzone } + ), + n.s({trig="mcal", snippetType="autosnippet"}, n.fmta("\\mathcal{<>}", { n.i(1) }), @@ -330,6 +342,10 @@ return { { n.t("\\xi") }, { condition = h.in_mathzone } ), + n.s({trig="'ka", snippetType="autosnippet"}, + { n.t("\\kappa") }, + { condition = h.in_mathzone } + ), n.s({trig="'ci", snippetType="autosnippet"}, { n.t("\\circ") }, { condition = h.in_mathzone } diff --git a/starship/starship.toml b/starship/starship.toml index f7a2ad6..c71a936 100644 --- a/starship/starship.toml +++ b/starship/starship.toml @@ -47,6 +47,7 @@ Linux = "" Gentoo = "" Fedora = "" Arch = "" +Ubuntu = "" [username] show_always = true diff --git a/sway/config b/sway/config index 8c8b439..8172bf7 100644 --- a/sway/config +++ b/sway/config @@ -180,6 +180,7 @@ bindsym $mod+x exec xournalpp # bindsym $mod+c exec "wezterm start --cwd ~/nextcloud/notebook/tex xch nvim" bindsym $mod+c exec "lectern open" bindsym $mod+d exec "wezterm start --cwd ~/nextcloud/notebook/md xch nvim" +bindsym $mod+Shift+t exec "wezterm start --class 'float'" bindsym $mod+Shift+c exec "wezterm start --class 'numbat' numbat" bindsym $mod+Shift+g exec "feh -Z -F -B black /home/josh/Pictures/game.png" @@ -197,6 +198,7 @@ gaps outer 0px title_align center default_border pixel +for_window [app_id="float"] floating enable for_window [app_id="numbat"] floating enable for_window [app_id="xoppdoggin"] floating enable; resize set 1800 1000 for_window [class="Inkscape"] floating enable; resize set 1800 1000 |