summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2013-09-06 18:01:06 -0400
committerJune McEnroe <programble@gmail.com>2013-09-06 18:01:06 -0400
commitf89b6ce1db3c2410d9b062cbce64e614dde3c7b1 (patch)
tree644abe47923b2807775d97aa4de29ec5e95b28da
parentOnly set colorscheme for gvim (diff)
downloadsrc-f89b6ce1db3c2410d9b062cbce64e614dde3c7b1.tar.gz
src-f89b6ce1db3c2410d9b062cbce64e614dde3c7b1.zip
Disable some options in terminals
-rw-r--r--.vimrc7
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