Always show statusline. Remove duplicate code.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Fri, 11 Jan 2013 22:14:13 +0200
changeset 608 817b345c30a5
parent 607 db8b30e73baf
child 609 0474cf9957c9
Always show statusline. Remove duplicate code.
.vimrc
--- a/.vimrc	Fri Jan 11 22:05:22 2013 +0200
+++ b/.vimrc	Fri Jan 11 22:14:13 2013 +0200
@@ -78,24 +78,16 @@
 " visual clutter. This option gets rid of the toolbar.
 set guioptions-=T
 
-" This setting ensures that each window contains a statusline that displays
-" the current cursor position.
+" Statusline displays the current cursor position.
 set ruler
+" Always show statusline.
+set laststatus=2
 
 " By default, search matches are highlighted. I find this annoying most of the
 " time. This option turns off search highlighting. You can always turn it back
 " on with :set hls.
 set nohls
 
-" With this nifty option, vim will search for text as you enter it. For
-" instance, if you type /bob to search for bob, vi will go to the first "b"
-" after you type the "b," to the first "bo" after you type the "o," and so on.
-" It makes searching much faster, since if you pay attention you never have to
-" enter more than the minimum number of characters to find your target
-" location. Make sure that you press Enter to accept the match after vim finds
-" the location you want.
-set incsearch
-
 " When you type the first tab hit will complete as much as possible, the
 " second tab hit will provide a list, the third and subsequent tabs will cycle
 " through completion options so you can complete the file without further