Skip to content

Commit a017ace

Browse files
committed
Fix capitalization of <CMD>
1 parent e1ef5e5 commit a017ace

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
@@ -160,14 +160,13 @@ mappings["bO"] = { "<CMD>BufferLineCloseLeft<CR><CMD>BufferLineCloseRight<CR>",
160160
mappings["bR"] = { "<CMD>BufferLineCloseRight<CR>", "Close All to Right" }
161161

162162
-- command
163-
mappings["<leader>"] = { "<cmd>FineCmdline<CR>", "Command" }
163+
mappings["<leader>"] = { "<CMD>FineCmdline<CR>", "Command" }
164164

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

169169
-- Dashboard
170-
mappings["H"] = { "<CMD>Alpha<CR>", "Dashboard" }
171170
mappings["H"] = { "<CMD>lua Snacks.dashboard()<CR>", "Dashboard" }
172171

173172
-- Devcontainer
@@ -236,17 +235,17 @@ mappings["qx"] = { "<CMD>x<CR>", "Quit and Save" }
236235

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

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

0 commit comments

Comments
 (0)