summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2013-09-06 18:01:06 -0400
committerJune McEnroe <june@causal.agency>2013-09-06 18:01:06 -0400
commit847d68d79446ff48243ae476022b2a64571557e9 (patch)
tree644abe47923b2807775d97aa4de29ec5e95b28da
parentOnly set colorscheme for gvim (diff)
downloadsrc-847d68d79446ff48243ae476022b2a64571557e9.tar.gz
src-847d68d79446ff48243ae476022b2a64571557e9.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