diff --git a/neovim/lua/_bindings.lua b/neovim/lua/_bindings.lua index a7a7532..3fb8d67 100644 --- a/neovim/lua/_bindings.lua +++ b/neovim/lua/_bindings.lua @@ -54,3 +54,8 @@ _G.complete_space = function() end end map("i", "", "v:lua.complete_space()", {expr = true}) + +-- Easily toggle spelling +vim.cmd "command Spell setlocal spell! spelllang=en_us" +-- Pop spelling completion for word under cursor +map("n", "s", "viwas", {})