diff --git a/dots/.config/nvim/lua/core/mappings.lua b/dots/.config/nvim/lua/core/mappings.lua index c6877b9b..6c383e8d 100755 --- a/dots/.config/nvim/lua/core/mappings.lua +++ b/dots/.config/nvim/lua/core/mappings.lua @@ -108,6 +108,10 @@ M.setup = function() -- Binding to allow shift space indent vim.keymap.set("i", "", "", { silent = true, desc = "Insert: Indent" }) + -- Create newline from anywhere in current line without modifying current line + vim.keymap.set("i", "", "o", { silent = true, desc = "Insert: New Line" }) + vim.keymap.set("i", "", "O", { silent = true, desc = "Insert: New Line" }) + -- Insert an Em Dash in insert mode vim.keymap.set("i", "", "—", { silent = true, desc = "Insert: Em Dash" }) end