Thursday, July 27, 2017

full screen mode in gvim editor



You need to set the following in your vimrc (mine is /etc/vimrc):



map <silent> <F11>
\    :call system("wmctrl -ir " . v:windowid . " -b toggle,fullscreen")<CR>



Also, you need to have this package installed:
sudo yum install wmctrl.x86_64 -y 


No comments:

Post a Comment