Vim width is adjusted to take into account space needed for line numbers from left.

This commit is contained in:
Vahagn Khachatryan
2013-07-09 15:45:07 +05:00
parent 96acfe3416
commit 7fd3214216

View File

@@ -17,7 +17,7 @@ set ruler " show the cursor position all the time
set tabstop=4 " make tabes to be equal to 4 space chars. set tabstop=4 " make tabes to be equal to 4 space chars.
set shiftwidth=4 " for shifting by 4 when pressing tab. set shiftwidth=4 " for shifting by 4 when pressing tab.
set fileformat=unix " line ending is unix set fileformat=unix " line ending is unix
set textwidth=80 " 80 char text "set textwidth=90 " 80 char text
let g:netrw_preview = 1 " netrw open window to the right let g:netrw_preview = 1 " netrw open window to the right
let g:netrw_browse_split = 3 " open in a tab let g:netrw_browse_split = 3 " open in a tab
@@ -187,7 +187,7 @@ if has("gui_running")
colors darkblue " set color scheme colors darkblue " set color scheme
"set guifont=FreeMono:h12 "set guifont=FreeMono:h12
set lines=50 set lines=50
set columns=80 set columns=85
if exists("+spell") if exists("+spell")
set spell set spell
endif endif