-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
--- ctrlr.vim.org 2014-04-09 12:46:37.000000000 -0700
+++ ctrlr.vim 2014-07-17 11:15:41.000000000 -0700
@@ -43,10 +43,14 @@
function! s:ctrlr()
let char = getchar()
+ " getreg('=') does not prompt for a new expr (see :h c_CTRL-R_= and getreg())
+ if nr2char(l:char) == '='
+ return "\<C-R>="
+ endif
if len(getcmdline())
let key = nr2char(l:char)
- if l:key =~# '[0-9a-z"%#:-=.]' | return getreg(l:key)
+ if l:key =~# '[0-9a-z"%#:-.]' | return getreg(l:key)
elseif l:char == s:k.CTRL_W | return expand('<cword>')
elseif l:char == s:k.CTRL_A | return expand('<cWORD>')
elseif l:char == s:k.CTRL_L | return getline('.')
Metadata
Metadata
Assignees
Labels
No labels