" Hide menus set guioptions-=T set guioptions-=r set guioptions-=l set guioptions-=L set guioptions-=R " Only remove menubar on non-windows platforms. " The windows version looks a bit like ass without it, " somehow, it develops ugly white borders around " the bottom frame, I have no clue where they come from. if !has("gui_win32") set guioptions-=m endif " Add Vim icon to window, where it is shown depends on platform, windowing " system, X11 server depth, etc etc. set guioptions+=i " Automagically yank to windowing system clipboard on visual select. " This makes gvim behave like a normal unix application. set guioptions+=a " Typography if has("gui_gtk2") || has("gui_gtk3") set guifont=Noto\ Mono\ for\ Powerline\ 12 elseif has("gui_macvim") set guifont=Menlo\ Regular:h14 elseif has("gui_win32") set guifont=Consolas:h11:cANSI endif " Toggle fullscreen " - Don't need it anymore; i3wm does it (Super+f). " map :call system("wmctrl -ir " . v:windowid . " -b toggle,fullscreen") " Set initial window size " set lines=36 columns=144 " Disable mouse " set mouse=c " Colorscheme settings " It is required to use the Atomic Color Scheme " Source: https://github.com/gerardbm/vim-atomic " function! AtomicSwitcher() " if (strftime('%H') > 8) && (strftime('%H') < 20) " AtomicSpaceMC " else " AtomicNightHC " endif " endfunction " call AtomicSwitcher() colorscheme atomic AtomicSpaceMC " Shortcuts nnoremap :call CycleModes():colorscheme atomic nnoremap 1 :AtomicSpaceHC nnoremap 2 :AtomicSpaceMC nnoremap 3 :AtomicSpaceLC nnoremap 4 :AtomicNightHC nnoremap 5 :AtomicNightMC nnoremap 6 :AtomicNightLC nnoremap 7 :AtomicLightHC nnoremap 8 :AtomicLightMC nnoremap 9 :AtomicLightLC nnoremap :AtomicOnionHC nnoremap :AtomicOnionMC nnoremap :AtomicOnionLC nnoremap :AtomicBloodHC nnoremap :AtomicBloodMC nnoremap :AtomicBloodLC nnoremap :AtomicGrassHC nnoremap :AtomicGrassMC nnoremap :AtomicGrassLC nnoremap :AtomicOceanHC nnoremap :AtomicOceanMC nnoremap :AtomicOceanLC " Paste ('p') from the clipboard set clipboard=unnamedplus