Wed, 25 Sep 2024 15:03:13 -0500
No LSP autostart when read-only
I think nvim actually threw out 'view' argc detection, I just use -R and alias
view to it.
1022 | 1 | command! SyntaxCompleteOn setl omnifunc=syntaxcomplete#Complete |
2 | ||
3 | command! Mksession execute "mksession! " . v:this_session | |
4 | ||
5 | " Preview markdown mail -- I edit with headers so I box them in a code block. | |
6 | command! MailPreview enew | set bt=nofile | 0r # | exe 'norm! 0O```<Esc>}O```' | silent exe '%!mutt-md2html | mutt-html2txt' | 0 | |
7 | command! MailPreviewHTML enew | set bt=nofile | setf html | 0r # | exe 'norm! 0O```<Esc>}O```' | silent exe '%!mutt-md2html' | 0 |