mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2025-02-18 17:59:01 +00:00
9 lines
282 B
Lua
9 lines
282 B
Lua
local vim = require("vim")
|
|
local cmd = vim.cmd
|
|
|
|
-- Set up shortcuts to quickly comment some code
|
|
Keymap("n", "<A-/>", ":Commentary<CR>")
|
|
Keymap("v", "<A-/>", ":Commentary<CR>")
|
|
|
|
-- Set up comments for unhandled file types
|
|
cmd[[autocmd FileType apache setlocal commentstring=#\ %s]]
|