Skip to content

Commit

Permalink
vim: fix buggy console vim rendering
Browse files Browse the repository at this point in the history
The `lines` setting has unintended consequences when using vim in a
terminal. The rendering of lines is all messed up. Moving the `lines`
setting to `.gvimrc` fixes the problem.

Fix gh-22
  • Loading branch information
necolas committed Nov 24, 2013
1 parent ca1b49c commit 8973d09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions vim/gvimrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ set gcr=n:blinkon0
set linespace=5
" Set GUI font
set guifont=Monaco:h13
" Increase the default number of lines and columns
set lines=999 columns=999
2 changes: 0 additions & 2 deletions vim/vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,6 @@ set expandtab
set number
" Highlight current line
set cursorline
" Increase default number of lines
set lines=40
" Start scrolling three lines before the horizontal window border
set scrolloff=3
" Don’t reset cursor to start of line when moving around.
Expand Down

0 comments on commit 8973d09

Please sign in to comment.