aboutsummaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
authorTeddy Wing2014-05-25 17:45:57 -0400
committerTeddy Wing2014-05-25 17:45:57 -0400
commite9a3ee3c264fa3d002f1cc559d353021b4d2ddcf (patch)
treea7330213c2138f7731e8c25c5d43d907937f0cef /vimrc
parentb8c6427bc0744a0d0ada6d37f955716210112f04 (diff)
downloaddotvim-e9a3ee3c264fa3d002f1cc559d353021b4d2ddcf.tar.bz2
vimrc: set cursorline
Highlight the current line. Makes it easier to see where the cursor is.
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 75c5900..714d360 100644
--- a/vimrc
+++ b/vimrc
@@ -154,6 +154,8 @@
" delete a word, add those changes to the undo history so that I can
" go back and don't have to remember what I typed if I want to undo.
" * Add <leader>gu mapping to toggle Gundo
+" * Set `cursorline` to highlight the current line. Shame it doesn't
+" play nice with soft wrapping but I'm going to try it out for now.
"
@@ -187,6 +189,8 @@ set incsearch " Search for text as you enter it
set ruler " Show cursor position
set number " Show line numbers
+set cursorline " Highlight the current line
+
set list " Show invisibles by default
set hidden " Don't raise errors when switching buffers with unsaved changes