Below is my current .vimrc. I will keep adding to it as and when I modify the .vimrc that I use.
se ts=4
se sw=4
au BufNewFile,BufRead *.c se cindent
function Toggle_hls()
:if ( &hlsearch == 1)
: se nohls
:else
: se hls
:endif
endfunction
map <F2> :call Toggle_hls() <CR>
No comments:
Post a Comment