mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-14 04:07:18 +00:00
10 lines
282 B
Lua
10 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]]
|