Skip to content

Instantly share code, notes, and snippets.

@Diablo-D3
Diablo-D3 / help.lua
Last active February 21, 2024 02:10
Open :help in current window
vim.api.nvim_create_autocmd('CmdlineLeave', {
group = augroup,
callback = function(ev)
local mods = { silent = true, noautocmd = true, keepalt = true, keeppatterns = true }
-- split args
local args = {}
for arg in vim.fn.getcmdline():gmatch('%S+') do
table.insert(args, arg)
end
@Diablo-D3
Diablo-D3 / Cfg.ini
Last active March 23, 2024 14:15
Cfg.ini to make Glorious Model O 1.09 driver work with Monoprice Hyper-K mouse to unlock debounce || DO NOT INSTALL FIRMWARE FROM DRIVER, ONLY USE THE CONTROL PANEL
[OPT]
Debug=0
Suwnd =0
FrameDebug=0
MatchStr = 0
Title=Glorious Model O Software
Ver=1.0.9
appdir=BY-COMBO2
TrayIcon = 3
MsFw=0x002