From bb0f514307da91176e0cdfd73f78d82ed41614b5 Mon Sep 17 00:00:00 2001 From: Huck Boles Date: Sun, 6 Aug 2023 08:40:21 -0700 Subject: [PATCH] added: wrap lines key binding --- lua/huck/map.lua | 1 + 1 file changed, 1 insertion(+) 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") -- 2.45.2