From 352e3eb619e1a00f690a210112bb1db0eae792bf Mon Sep 17 00:00:00 2001 From: Mark Woods Date: Thu, 2 Dec 2021 20:41:26 +0000 Subject: [PATCH] Disable projectionist on vim enter, weird issue Running shell commands via a call to system() within a user defined function on vim startup causes weird text to be written to the screen, on MacOS/bash/iTerm. See https://github.com/tpope/vim-rails/issues/579 At some point I'll probably delve into this some more and try to find the root cause, but for now just work around it by disabling running both rails and projectionist VimEnter autocmds which trigger the issue. --- vim/vimrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vim/vimrc b/vim/vimrc index d2e3b96..1f0dccc 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -143,8 +143,14 @@ let sessionman_save_on_exit=0 let g:gist_show_privates = 1 " disable rails plugin on vim enter, slow when used with vim-bundler +" also results in some garbage written to screen, seems a vim issue +" see https://github.com/tpope/vim-rails/issues/579 for some info let g:rails_vim_enter = 0 +" disable projectionist on vim enter, also causes garbage to be written +" to screen, also see https://github.com/tpope/vim-rails/issues/579 +let g:projectionist_vim_enter = 0 + " Don't add the recent files menu from MRU plugin let MRU_Add_Menu = 0