From: Huck Boles Date: Sun, 6 Aug 2023 15:40:21 +0000 (-0700) Subject: added: wrap lines key binding X-Git-Url: https://git.huck.website/?a=commitdiff_plain;h=bb0f514307da91176e0cdfd73f78d82ed41614b5;p=nvim.git added: wrap lines key binding --- diff --git a/lua/huck/map.lua b/lua/huck/map.lua index cf6cbb1..b5159ba 100644 --- a/lua/huck/map.lua +++ b/lua/huck/map.lua @@ -25,6 +25,7 @@ vim.keymap.set('n', 'c', ':r!') vim.keymap.set('n', 'h', ":vsplit ") vim.keymap.set('n', 'v', ":split ") vim.keymap.set('n', '-', 'setlocal spell spelllang=en_us') +vim.keymap.set('n', 'w', 'set textwidth=80ggVGgq') -- better line editing vim.keymap.set('v', 'J', ":m '>+1gv=gv")