diff --git a/nvim/lua/keymaps.lua b/nvim/lua/keymaps.lua index 1d895bb..2930484 100644 --- a/nvim/lua/keymaps.lua +++ b/nvim/lua/keymaps.lua @@ -69,7 +69,7 @@ keymap("c", "", "", opts) -- open the current file in the default program keymap("n", "x", [[:!xdg-open %]], opts) --- -- no ex mode for me +-- -- no ex mode for me - Q reformats long lines (auto-wrap) keymap("n", "Q", "gq", opts) keymap("x", "Q", "gq", opts) @@ -93,14 +93,12 @@ keymap("n", "", ":nohlsearch", opts) -- toggle spell checking keymap("n", "s", ":setlocal spell! spelllang=en_us,nl", opts) - -- date time stamp -keymap("n", "dt", [[i=strftime("%a %d %Y %H:%M")]], opts) +keymap("n", "dt", [[i=strftime("%d.%m.%Y")]], opts) -- double space over word to find and replace keymap("n", "", [[:%s/\<=expand("")\>/]], opt) --- search and replace all -- write file if you forgot to give it sudo permission keymap("c", "w!!", [[w !sudo tee %]], opt)