diff options
author | DrNuget <drnuget@outlook.com> | 2025-01-18 10:46:22 +0200 |
---|---|---|
committer | DrNuget <drnuget@outlook.com> | 2025-01-18 10:46:22 +0200 |
commit | 992f00684714763e01ad857add4b62a25b7ec28a (patch) | |
tree | e163385f214cec88dfc6d42436e3d544b1ebb905 | |
parent | caf7615936db1456eb4ca2c8a81f8679026d617e (diff) |
vimrc latex begin/end tag macro
-rw-r--r-- | .config/nvim/init.lua | 2 |
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 |