diff --git a/README.md b/README.md index fdfc9c9..dd53432 100644 --- a/README.md +++ b/README.md @@ -3,4 +3,3 @@ This is my neovim configuration. It is - as with all of us - a work in progress. If you are curious about getting started with Neovim I couldn't recommend this course from Typecraft enough: [Neovim from Scratch](https://typecraft.dev/neovim-for-noobs/) - diff --git a/lua/vim-options.lua b/lua/vim-options.lua index 39d4cdb..9ed20d1 100644 --- a/lua/vim-options.lua +++ b/lua/vim-options.lua @@ -16,7 +16,7 @@ vim.opt.wrap = false vim.keymap.set("n", "y", '"+y', { desc = "Yank to system clipboard" }) vim.keymap.set("v", "y", '"+y', { desc = "Yank to system clipboard" }) -vim.keymap.set("n", "tw", ":set wrap!", { desc = "Toggle word wrap" }) +vim.keymap.set("n", "ww", ":set wrap!", { desc = "Toggle word wrap" }) -- if i am in insert mode and i spam one of these keys -- i probably want to escape insert mode