How to set it?
I tried
(add-hook 'ido-setup-hook
(lambda ()
(local-set-key (kbd "C-<RET>") 'ido-select-text)))
and
(define-key ido-common-completion-map (kbd "C-<RET>") 'ido-select-text)
Nothing worked.
EDIT:
I tried
(define-key ido-file-dir-completion-map (kbd "<C-return>") 'ido-select-text)
and
(define-key ido-common-completion-map (kbd "<C-return>") 'ido-select-text)
Not works again.
EDIT2:
Ultimatelly strange, even this not works.
(global-set-key (kbd "<C-return>") 'ido-select-text)
What's going on??? Actually, cua-select-rectangle is invoked regardles of my binding.
My emacs version GNU Emacs 24.5.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.18.9)\n of 2016-04-11 on buildvm-25.phx2.fedoraproject.org
Using in GUI mode and CUA mode.
C-h k C-<return>
Returns (in standard buffer and IDO buffer)
<C-return> runs the command cua-set-rectangle-mark, which is an
interactive autoloaded compiled Lisp function in `cua-rect.el'.
It is bound to <C-return>.
(cua-set-rectangle-mark &optional REOPEN)
Set mark and start in CUA rectangle mode.
With prefix argument, activate previous rectangle if possible.