mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-14 12:17:17 +00:00
11 lines
324 B
Lua
11 lines
324 B
Lua
local m = require("utility.mappings")
|
|
local vim = require("vim")
|
|
local cmd = vim.cmd
|
|
|
|
-- Set up shortcuts to quickly comment some code
|
|
m.keymap("n", "<A-/>", ":Commentary<CR>")
|
|
m.keymap("v", "<A-/>", ":Commentary<CR>")
|
|
|
|
-- Set up comments for unhandled file types
|
|
cmd[[autocmd FileType apache setlocal commentstring=#\ %s]]
|