You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-4Lines changed: 10 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,9 +10,7 @@ This plug-in aims to improve the integration between [Vim][vim] and its environm
10
10
11
11
Two [Windows DLL files][dll] are included to perform these functions on Windows, while on UNIX external commands are used.
12
12
13
-
## Usage
14
-
15
-
The below paragraphs document the functionality in the `shell.vim` plug-in. I'd be very grateful if people would test the plug-in in different environments and report their results by contacting the [vim-dev](http://vimdoc.sourceforge.net/htmldoc/intro.html#vim-dev) mailing-list or e-mailing me directly at <peter@peterodding.com>. You can test the plug-in by unpacking the [ZIP archive from www.vim.org][download] in the `%USERPROFILE%\vimfiles` directory (on Windows) or the `~/.vim/` directory (on UNIX), restarting Vim and checking whether the commands below work as documented.
13
+
## Usage (commands & functions)
16
14
17
15
### The `:Fullscreen` command
18
16
@@ -50,6 +48,14 @@ Vim will be completely unresponsive until you "press any key to continue" in the
50
48
51
49
Note that on Windows this function uses Vim's ['shell'][sh_opt] and ['shellcmdflag'][shcf_opt] options to compose the command line passed to the DLL.
52
50
51
+
### The `xolox#shell#fullscreen()` function
52
+
53
+
Call this function to toggle Vim's full screen status. The `:Fullscreen` command is just a shorter way to call this function.
54
+
55
+
### The `xolox#shell#is_fullscreen()` function
56
+
57
+
Call this function to determine whether Vim is in full screen mode. My [session.vim plug-in](http://peterodding.com/code/vim/session) uses this to persist full screen mode.
58
+
53
59
### The `g:shell_fullscreen_items` option
54
60
55
61
This variable is a string containing any combination of the following characters:
@@ -58,7 +64,7 @@ This variable is a string containing any combination of the following characters
58
64
*`T`: Hide the [toolbar](http://vimdoc.sourceforge.net/htmldoc/options.html#%27go-T%27) when switching to full-screen;
59
65
*`e`: Hide the [tabline](http://vimdoc.sourceforge.net/htmldoc/options.html#%27go-e%27) when switching to full-screen (this also toggles the [showtabline option](http://vimdoc.sourceforge.net/htmldoc/options.html#%27showtabline%27)).
60
66
61
-
By default all the above items are hidden in full-screen mode.
67
+
By default all the above items are hidden in full-screen mode. You can also set the buffer local variable `b:shell_fullscreen_items` to change these settings for specific buffers.
0 commit comments