Mercurial > vim
view src/which.sh @ 14069:bc91de20ba43 v8.1.0052
patch 8.1.0052: when mapping to <Nop> times out the next mapping is skipped
commit https://github.com/vim/vim/commit/83f4cbd973731872b633d6ba0caf850fb708d70c
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jun 12 21:35:40 2018 +0200
patch 8.1.0052: when mapping to <Nop> times out the next mapping is skipped
Problem: When a mapping to <Nop> times out the next mapping is skipped.
Solution: Reset "timedout" when waiting for a character. (Christian
Brabandt, closes #2921)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 12 Jun 2018 21:45:08 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
#! /bin/sh # # which.sh -- find where an executable is located. It's here because the # "which" command is not supported everywhere. Used by Makefile. IFS=":" for ac_dir in $PATH; do if test -f "$ac_dir/$1"; then echo "$ac_dir/$1" break fi done