Skip to content

Commit

Permalink
Wednesday 2024-11-13 16:37:17
Browse files Browse the repository at this point in the history
  • Loading branch information
jackokring committed Nov 13, 2024
1 parent 691e19e commit 450812d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions extras-backup/nvim/lua/config/keymaps.lua
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,10 @@ end
---@param seq string
---@param desc string
---@param action string | function
local function nkey(seq, desc, action)
k("n", seq, action, { desc = desc })
---@param remap? boolean
local function nkey(seq, desc, action, remap)
remap = remap or false -- nil -> false
k("n", seq, action, { desc = desc, remap = remap })
end

-- also defines for i but ends with n mode (no func use com)
Expand Down

0 comments on commit 450812d

Please sign in to comment.