feat(nvim): added custom options for each file type under after/ftplugin

This commit is contained in:
Sergio Laín 2024-01-08 00:18:24 +01:00
parent f64affa5c5
commit 7b7b641624
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
3 changed files with 4 additions and 0 deletions

View file

@ -0,0 +1 @@
vim.opt.conceallevel = 0

View file

@ -0,0 +1 @@
vim.opt.conceallevel = 0

View file

@ -0,0 +1,2 @@
vim.keymap.set({ "n", "x" }, "<C-j>", [[/^#\+ .*<CR>]], { desc = "Next Heading", buffer = true })
vim.keymap.set({ "n", "x" }, "<C-k>", [[?^#\+ .*<CR>]], { desc = "Prev Heading", buffer = true })