Skip to content

Commit

Permalink
Use better fullscreen plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
javi-dev committed Mar 13, 2016
1 parent 8ffd42f commit b03b7b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
10 changes: 3 additions & 7 deletions gvimrc.vim
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,7 @@ set guifont=Fira_Code:h17
set linespace=15

"=========== Full Screen ===========
"Start in fullscreen
autocmd GUIEnter * silent! WToggleFullscreen
"Activate/deactivate full screen with function key <F11>.
map <F11> <Esc>:call libcallnr("gvimfullscreen.dll", "ToggleFullScreen", 0)<CR>
"I think this loads the full screen plugin or something.
augroup fullscreen
autocmd!
autocmd VimEnter * call libcallnr("gvimfullscreen.dll", "ToggleFullScreen", 0)
augroup END
map <F11> :WToggleFullscreen<CR>
1 change: 1 addition & 0 deletions plugins.vim
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Plugin 'tpope/vim-surround'
Plugin 'stanangeloff/php.vim'
Plugin 'arnaud-lb/vim-php-namespace'
Plugin 'ervandew/supertab'
Plugin 'kkoenig/wimproved.vim'

" All of your Plugins must be added before the following line
call vundle#end() " required
Expand Down

0 comments on commit b03b7b9

Please sign in to comment.