diff options
author | June McEnroe <programble@gmail.com> | 2013-09-06 18:01:06 -0400 |
---|---|---|
committer | June McEnroe <programble@gmail.com> | 2013-09-06 18:01:06 -0400 |
commit | f89b6ce1db3c2410d9b062cbce64e614dde3c7b1 (patch) | |
tree | 644abe47923b2807775d97aa4de29ec5e95b28da | |
parent | Only set colorscheme for gvim (diff) | |
download | src-f89b6ce1db3c2410d9b062cbce64e614dde3c7b1.tar.gz src-f89b6ce1db3c2410d9b062cbce64e614dde3c7b1.zip |
Disable some options in terminals
-rw-r--r-- | .vimrc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc index 82cec4e3..eb2ca10a 100644 --- a/.vimrc +++ b/.vimrc @@ -52,6 +52,13 @@ if has('mouse') set mouse=a endif +" Less clutter in terminals +if !has('gui_running') + set nospell + set nocursorline + set colorcolumn= +endif + " GUI options set guioptions-=mrLtT " Disable menus, toolbar, scrollbars set guioptions+=c " Disable GUI dialogs |