Skip to content

Commit 8d23829

Browse files
authored
Merge pull request #1265 from ychin/fix-macvim-vimtutor-menu
Fix vimtutor menu not working
2 parents a6a0c17 + ea193e8 commit 8d23829

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runtime/menu.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ endif
108108
if has("gui_macvim")
109109
" Run vimtutor in GUI mode. Need to make sure to override the PATH so we use
110110
" this app instead of accidentally opening another installed Vim/MacVim.
111-
an 9999.5 &Help.Vim\ Tutor :silent !PATH="$VIM/../../bin":/usr/bin:/bin:/usr/sbin:/sbin $VIM/../../bin/vimtutor -g&<CR>
112-
tln 9999.5 &Help.Vim\ Tutor <C-W>:silent !PATH="$VIM/../../bin":/usr/bin:/bin:/usr/sbin:/sbin $VIM/../../bin/vimtutor -g&<CR>
111+
an 9999.5 &Help.Vim\ Tutor :silent call system('PATH="$VIM/../../bin":/usr/bin:/bin:/usr/sbin:/sbin $VIM/../../bin/vimtutor -g&')<CR>
112+
tln 9999.5 &Help.Vim\ Tutor <C-W>:silent call system('PATH="$VIM/../../bin":/usr/bin:/bin:/usr/sbin:/sbin $VIM/../../bin/vimtutor -g&')<CR>
113113
an 9999.6 &Help.-sep-vim-tutor- <Nop>
114114
endif
115115
an 9999.10 &Help.&Overview<Tab><F1> :help<CR>

0 commit comments

Comments
 (0)