view src/typemap @ 11985:d036c1c8537d v8.0.0873

patch 8.0.0873: in terminal cannot use CTRL- CTRL-N to start Visual mode commit https://github.com/vim/vim/commit/aaa8a35fbd38d5e6cc57ae60a8477e787d695a20 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 5 20:17:00 2017 +0200 patch 8.0.0873: in terminal cannot use CTRL-\ CTRL-N to start Visual mode Problem: In a terminal window cannot use CTRL-\ CTRL-N to start Visual mode. Solution: After CTRL-\ CTRL-N enter Terminal-Normal mode for one command.
author Christian Brabandt <cb@256bit.org>
date Sat, 05 Aug 2017 20:30:03 +0200
parents dec4338a7da2
children
line wrap: on
line source

TYPEMAP
VIWIN	T_VIOBJNOMUNGE
VIBUF	T_VIOBJNOMUNGE

INPUT
T_VIOBJNOMUNGE
	if (sv_isa($arg, \"${ntype}\")) {
	    IV tmp = SvIV((SV*)SvRV($arg));
	    $var = INT2PTR($type, tmp);
	    if (!tmp)
		croak(\"$ntype no longer exists\");
	}
	else
	    croak(\"$var is not of type ${ntype}\")