summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/nvim/init.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua
index bb2eb0b..d5ba9f1 100644
--- a/.config/nvim/init.lua
+++ b/.config/nvim/init.lua
@@ -31,6 +31,8 @@ vim.cmd([[
" LaTex Macros
autocmd Filetype tex inoremap equ<tab> \begin{equation}<enter><enter>\end{equation}<up><tab>
+ autocmd Filetype tex inoremap b<tab> \begin{}<enter>\end{}<esc>kf{a
+ autocmd Filetype tex inoremap e<tab> <esc>0f{lvf}hyj0f{pO
]])
vim.g.loaded_netrw = 1