Show long lines... Substitude all matches in line.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Fri, 11 Jan 2013 22:21:25 +0200
changeset 609 0474cf9957c9
parent 608 817b345c30a5
child 610 3db3d6236d9c
Show long lines... Substitude all matches in line.
.vimrc
--- a/.vimrc	Fri Jan 11 22:14:13 2013 +0200
+++ b/.vimrc	Fri Jan 11 22:21:25 2013 +0200
@@ -27,6 +27,8 @@
 
 " Highlight line with cursor.
 set cursorline
+" Show long lines...
+set colorcolumn=120
 
 " Hide buffers instead of closing them.
 set hidden
@@ -66,6 +68,11 @@
 set smartcase
 set hlsearch
 
+" Substitude all matches in line.
+set gdefault
+nnoremap / /\v
+vnoremap / /\v
+
 " Beep instead of blink.
 set novisualbell
 set noerrorbells