vim.bo.tabstop = 2 local lua = require("fschauen.util.lua") local map = vim.keymap.set local opts = function(desc) return { desc = desc, buffer = true, silent = true } end -- stylua: ignore start map("n", "gf", lua.go_to_module, opts("Go to module under cursor")) map("n", "x", lua.execute_lines, opts("Execute current line")) map("x", "x", lua.execute_selection, opts("Execute selection")) map("n", "x", lua.execute_file, opts("Execute current file")) map("n", [[']], [[:.s/"/'/g | nohl]], opts([[Replace: " 󱦰 ']])) map("n", [["]], [[:.s/'/"/g | nohl]], opts([[Replace: ' 󱦰 "]])) map("x", [[']], [[:s/"/'/g | nohl]], opts([[Replace: " 󱦰 ']])) map("x", [["]], [[:s/'/"/g | nohl]], opts([[Replace: ' 󱦰 "]])) -- stylua: ignore end