76 |
76 |
77 " I find the toolbar in the GUI version of vim (gvim) to be somewhat useless |
77 " I find the toolbar in the GUI version of vim (gvim) to be somewhat useless |
78 " visual clutter. This option gets rid of the toolbar. |
78 " visual clutter. This option gets rid of the toolbar. |
79 set guioptions-=T |
79 set guioptions-=T |
80 |
80 |
81 " This setting ensures that each window contains a statusline that displays |
81 " Statusline displays the current cursor position. |
82 " the current cursor position. |
|
83 set ruler |
82 set ruler |
|
83 " Always show statusline. |
|
84 set laststatus=2 |
84 |
85 |
85 " By default, search matches are highlighted. I find this annoying most of the |
86 " By default, search matches are highlighted. I find this annoying most of the |
86 " time. This option turns off search highlighting. You can always turn it back |
87 " time. This option turns off search highlighting. You can always turn it back |
87 " on with :set hls. |
88 " on with :set hls. |
88 set nohls |
89 set nohls |
89 |
|
90 " With this nifty option, vim will search for text as you enter it. For |
|
91 " instance, if you type /bob to search for bob, vi will go to the first "b" |
|
92 " after you type the "b," to the first "bo" after you type the "o," and so on. |
|
93 " It makes searching much faster, since if you pay attention you never have to |
|
94 " enter more than the minimum number of characters to find your target |
|
95 " location. Make sure that you press Enter to accept the match after vim finds |
|
96 " the location you want. |
|
97 set incsearch |
|
98 |
90 |
99 " When you type the first tab hit will complete as much as possible, the |
91 " When you type the first tab hit will complete as much as possible, the |
100 " second tab hit will provide a list, the third and subsequent tabs will cycle |
92 " second tab hit will provide a list, the third and subsequent tabs will cycle |
101 " through completion options so you can complete the file without further |
93 " through completion options so you can complete the file without further |
102 " keys. |
94 " keys. |