Mercurial > vim
comparison src/testdir/shared.vim @ 28704:e1aff2f300be v8.2.4876
patch 8.2.4876: MS-Windows: Shift-BS results in strange char in powershell
Commit: https://github.com/vim/vim/commit/dfbdadce44b754cfa9f55111bdc44bb6a5d6b320
Author: Christian Brabandt <cb@256bit.org>
Date: Thu May 5 20:46:47 2022 +0100
patch 8.2.4876: MS-Windows: Shift-BS results in strange char in powershell
Problem: MS-Windows: Shift-BS results in strange character in powershell.
Solution: Add K_S_BS. (Christian Brabandt, closes https://github.com/vim/vim/issues/10283, closes https://github.com/vim/vim/issues/10279)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 05 May 2022 22:00:05 +0200 |
parents | d32dc906dd2c |
children | d8a962d7b008 |
comparison
equal
deleted
inserted
replaced
28703:d5622e8a1960 | 28704:e1aff2f300be |
---|---|
246 " Get the command to run Vim, with -u NONE and --not-a-term arguments. | 246 " Get the command to run Vim, with -u NONE and --not-a-term arguments. |
247 " If there is an argument use it instead of "NONE". | 247 " If there is an argument use it instead of "NONE". |
248 func GetVimCommand(...) | 248 func GetVimCommand(...) |
249 if !filereadable('vimcmd') | 249 if !filereadable('vimcmd') |
250 echo 'Cannot read the "vimcmd" file, falling back to ../vim.' | 250 echo 'Cannot read the "vimcmd" file, falling back to ../vim.' |
251 let lines = ['../vim'] | 251 if !has("win32") |
252 let lines = ['../vim'] | |
253 else | |
254 let lines = ['..\vim.exe'] | |
255 endif | |
252 else | 256 else |
253 let lines = readfile('vimcmd') | 257 let lines = readfile('vimcmd') |
254 endif | 258 endif |
255 if a:0 == 0 | 259 if a:0 == 0 |
256 let name = 'NONE' | 260 let name = 'NONE' |