1
0
Fork 0

.config/nvim: ftplugin small fixes and formatting

main
urosm 2024-07-13 22:04:50 +02:00
parent dfa3043fb5
commit d9b211dca5
2 changed files with 3 additions and 2 deletions

View File

@ -7,5 +7,5 @@ optl.expandtab = true
-- keymaps
local keymap_set = vim.keymap.set
keymap_set({ "n", "v" }, "]h", "/\\_^#.*\\ze\\n\\{2}<esc>")
keymap_set({ "n", "v" }, "[h", "?\\_^#.*\\ze\\n\\{2}<esc>")
keymap_set("n", "]h", "/\\_^#.*\\ze\\n\\{2}<esc>")
keymap_set("n", "[h", "?\\_^#.*\\ze\\n\\{2}<esc>")

View File

@ -1,3 +1,4 @@
-- keymaps
local keymap_set = vim.keymap.set
keymap_set("n", "<esc>", "<cmd>Rexplore<cr>", { buffer = true})
keymap_set("n", "<leader>.", "<cmd>Rexplore<cr>", { buffer = true })