Mercurial > vim
view src/which.sh @ 28127:b9e8f3674090 v8.2.4588
patch 8.2.4588: mapping with key after other matching mapping does not work
Commit: https://github.com/vim/vim/commit/f35fd8e5d484be0e3fdd7c3c24f690083f91264d
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Mar 18 15:41:17 2022 +0000
patch 8.2.4588: mapping with key after other matching mapping does not work
Problem: Mapping with key code after other matching mapping does not work.
Solution: Change ">" to ">=". (closes https://github.com/vim/vim/issues/9903)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 18 Mar 2022 16:45:03 +0100 |
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