dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | Submodules | README

commit ec61f0a2a15aef0ba7f3b91c2d58e182e4cee98d (patch)
parent 7f213efc34f7c574c1a8286eea5b1c0662430875
Author: Alexander Karle <akarle@umass.edu>
Date:   Mon,  2 Apr 2018 13:25:41 -0400

vimrc minor updates: scrolloff, gui scrollbar, .notes syntax

Diffstat:
Mvim/theme.vim | 1+
Mvim/vimrc | 7+++++++
2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/vim/theme.vim b/vim/theme.vim @@ -7,6 +7,7 @@ syntax on " Set cursor line when in insert mode (to indicate insert mode) if(has('autocmd')) autocmd InsertEnter,InsertLeave * set cul! + autocmd BufNewFile,BufRead *.notes set filetype=markdown endif " COLORSCHEME diff --git a/vim/vimrc b/vim/vimrc @@ -56,6 +56,13 @@ set wildmenu set ttimeout set ttimeoutlen=30 +" Scroll when cursor gets within 5 rows of screen end +set scrolloff=5 + +" When in MacVim don't show the scrollbars +set guioptions-=r +set guioptions-=L + " Source helper files " Only load plugins if vim-plug installed! if filereadable(expand("~/.vim/autoload/plug.vim"))