Skip to content

Commit

Permalink
Disable projectionist on vim enter, weird issue
Browse files Browse the repository at this point in the history
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 tpope/vim-rails#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.
  • Loading branch information
mmrwoods committed Dec 2, 2021
1 parent 0b94bd9 commit 352e3eb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions vim/vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 352e3eb

Please sign in to comment.