Created
September 5, 2012 10:01
-
-
Save LuRsT/3634373 to your computer and use it in GitHub Desktop.
"Distraction free" vim config for my setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Adapted from http://laktek.com/2012/09/05/distraction-free-writing-with-vim/ | |
" to work with my setup, linux + xterm | |
function! DistractionFreeWriting() | |
colorscheme iawriter | |
set background=light | |
set gfn=Cousine:h14 " font to use | |
"set lines=40 columns=100 " size of the editable area | |
"set fuoptions=background:#00f5f6f6 " macvim specific setting for editor's background color· | |
set guioptions-=r " remove right scrollbar | |
set laststatus=0 " don't show status line | |
set noruler " don't show ruler | |
"set fullscreen " go to fullscreen editing mode | |
set linebreak " break the lines on words | |
set nocursorline " don't show cursorline | |
set number " show numbers to get some left space | |
set numberwidth=10 " increase space in the left side | |
highlight LineNr term=bold cterm=NONE ctermfg=white ctermbg=NONE gui=NONE guifg=NONE guibg=NONE " Hide numbers | |
endfunction |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment