diff options
| author | Kyren223 <kyren223@proton.me> | 2025-08-16 18:57:52 +0300 |
|---|---|---|
| committer | Kyren223 <kyren223@proton.me> | 2025-08-16 18:57:52 +0300 |
| commit | a71561a74a1dd53b10624a36f77ab4e4953c81bc (patch) | |
| tree | 99b0b2b94f3a30a05ad9ee4ee25d172f6f0aa4b1 /.config/nvim/after | |
| parent | f9fc6ebe78ac9553eed4f8031e4d0697b734b371 (diff) | |
Added latex stuff
Diffstat (limited to '.config/nvim/after')
| -rw-r--r-- | .config/nvim/after/ftplugin/latex.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.config/nvim/after/ftplugin/latex.lua b/.config/nvim/after/ftplugin/latex.lua new file mode 100644 index 0000000..3d04ff0 --- /dev/null +++ b/.config/nvim/after/ftplugin/latex.lua @@ -0,0 +1,11 @@ +Event = 'VeryLazy' + +vim.opt_local.tabstop = 2 -- number of visual spaces per TAB +vim.opt_local.softtabstop = 2 -- number of idfk tab when editing +vim.opt_local.shiftwidth = 2 -- number of spaces to insert on tab + +vim.opt_local.wrap = true +vim.opt_local.breakindent = true +vim.opt_local.linebreak = true +vim.keymap.set('n', 'j', 'gj') +vim.keymap.set('n', 'k', 'gk') |
