Vim Tips Wiki
Advertisement

Use this page to discuss script 3123 shell: integration between Vim and its environment: fullscreen, open URL, etc

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on vim.org).
  • This page may be out of date: check the script's vim.org page above, and its release notes.

Comments

I could not get the :Fullscreen command to work from _vimrc, vim says that that is not a recognized command. It seems to work fine when the editor has finished loading.

That's because the plugin script which defines the command is only sourced after _vimrc, cp. the output of :scriptnames. Two ways to fix: Either explicitly source the script that defines the :Fullscreen command before its use (e.g. runtime plugin/shell.vim), or put the :Fullscreen command in a place that is sourced later, e.g. vimfiles/after/plugin/shell.vim. -- Inkarkat 07:48, September 20, 2010 (UTC)
Alternatively you can run the :Fullscreen command from a GUIEnter automatic command, which should also ensure that the plug-in is loaded before the command is executed. -- Peterodding 20:58, January 27, 2011 (UTC)
Advertisement