Skip to content

Commit 0117399

Browse files
committed
Fix capitalization of <CMD>
1 parent 2428eac commit 0117399

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

config/nvim/lua/config/keymaps.lua

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -161,14 +161,13 @@ mappings["bO"] = { "<CMD>BufferLineCloseLeft<CR><CMD>BufferLineCloseRight<CR>",
161161
mappings["bR"] = { "<CMD>BufferLineCloseRight<CR>", "Close All to Right" }
162162

163163
-- command
164-
mappings["<leader>"] = { "<cmd>FineCmdline<CR>", "Command" }
164+
mappings["<leader>"] = { "<CMD>FineCmdline<CR>", "Command" }
165165

166166
-- comment lines
167167
mappings[";"] = { "<Plug>(comment_toggle_linewise_current)<CR>", "Toggle Comment" }
168168
vmappings[";"] = { "<Plug>(comment_toggle_linewise_visual)<CR>", "Toggle Comment" }
169169

170170
-- Dashboard
171-
mappings["H"] = { "<CMD>Alpha<CR>", "Dashboard" }
172171
mappings["H"] = { "<CMD>lua Snacks.dashboard()<CR>", "Dashboard" }
173172

174173
-- Devcontainer
@@ -237,17 +236,17 @@ mappings["qx"] = { "<CMD>x<CR>", "Quit and Save" }
237236

238237
-- search
239238
mappings["/b"] = { "<CMD>Telescope buffers previewer=true<CR>", "Find Buffer" }
240-
mappings["/c"] = { "<cmd>Telescope colorscheme<CR>", "Colorscheme" }
241-
mappings["/f"] = { "<cmd>Telescope find_files<CR>", "Find File" }
242-
mappings["/h"] = { "<cmd>Telescope help_tags<CR>", "Find Help" }
243-
mappings["/H"] = { "<cmd>Telescope highlights<CR>", "Find highlight groups" }
244-
mappings["/M"] = { "<cmd>Telescope man_pages<CR>", "Man Pages" }
245-
mappings["/r"] = { "<cmd>Telescope oldfiles<CR>", "Open Recent File" }
246-
mappings["/R"] = { "<cmd>Telescope registers<CR>", "Registers" }
247-
mappings["/t"] = { "<cmd>Telescope live_grep<CR>", "Text" }
248-
mappings["/k"] = { "<cmd>Telescope keymaps<CR>", "Keymaps" }
249-
mappings["/C"] = { "<cmd>Telescope commands<CR>", "Commands" }
250-
mappings["/l"] = { "<cmd>Telescope resume<CR>", "Resume last search" }
239+
mappings["/c"] = { "<CMD>Telescope colorscheme<CR>", "Colorscheme" }
240+
mappings["/f"] = { "<CMD>Telescope find_files<CR>", "Find File" }
241+
mappings["/h"] = { "<CMD>Telescope help_tags<CR>", "Find Help" }
242+
mappings["/H"] = { "<CMD>Telescope highlights<CR>", "Find highlight groups" }
243+
mappings["/M"] = { "<CMD>Telescope man_pages<CR>", "Man Pages" }
244+
mappings["/r"] = { "<CMD>Telescope oldfiles<CR>", "Open Recent File" }
245+
mappings["/R"] = { "<CMD>Telescope registers<CR>", "Registers" }
246+
mappings["/t"] = { "<CMD>Telescope live_grep<CR>", "Text" }
247+
mappings["/k"] = { "<CMD>Telescope keymaps<CR>", "Keymaps" }
248+
mappings["/C"] = { "<CMD>Telescope commands<CR>", "Commands" }
249+
mappings["/l"] = { "<CMD>Telescope resume<CR>", "Resume last search" }
251250

252251
-- window operations
253252
mappings["wd"] = { "<CMD>close<CR>", "Close" }

0 commit comments

Comments
 (0)