commit a7d26c23cab2721834bd753a2143a73cf747a8d1
parent 5af09fdab9fcc520dc77a032ea762a55133f29f3
Author: William Casarin <jb55@jb55.com>
Date: Sat, 27 Mar 2021 08:55:37 -0700
vim: wrap and linebreak gmi
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/dotfiles/.config/nvim/init.vim b/dotfiles/.config/nvim/init.vim
@@ -21,3 +21,4 @@ let maplocalleader = "\\"
nmap <Leader>xda ma:%s/\s\+$//g<CR>`a
autocmd FileType go autocmd BufWritePre <buffer> execute "normal! mz:mkview\<esc>:%!gofmt-safe\<esc>:loadview\<esc>`z"
+autocmd BufEnter,BufNew *.gmi set wrap linebreak