Vim Tips Wiki
Register
We recommend that you log in before editing. This will allow other users to leave you a message about your edit, and will let you track edits via your Watchlist. Creating an account is quick and free.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 60: Line 60:
 
" Search for selected text.
 
" Search for selected text.
 
" http://vim.wikia.com/wiki/VimTip171
 
" http://vim.wikia.com/wiki/VimTip171
βˆ’
let s:save_cpo = &cpo | set cpo&vim
+
let s:save_cpo = &cpo | set cpoptions&
 
if !exists('g:VeryLiteral')
 
if !exists('g:VeryLiteral')
 
let g:VeryLiteral = 0
 
let g:VeryLiteral = 0
Line 92: Line 92:
 
nmap <unique> <Leader>vl <Plug>VLToggle
 
nmap <unique> <Leader>vl <Plug>VLToggle
 
endif
 
endif
βˆ’
let &cpo = s:save_cpo | unlet s:save_cpo
+
let &cpoptions = s:save_cpo | unlet s:save_cpo
 
</pre>
 
</pre>
   
Please note that all contributions to the Vim Tips Wiki are considered to be released under the CC-BY-SA
Cancel Editing help (opens in new window)