File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
- *starting.txt* For Vim バージョン 9.1. Last change: 2024 Jul 04
1
+ *starting.txt* For Vim バージョン 9.1. Last change: 2024 Jul 08
2
2
3
3
4
4
VIMリファレンスマニュアル by Bram Moolenaar
@@ -1218,7 +1218,7 @@ Unixでコンパイル時に$VIMRUNTIMEの初期値を設定した場合(":versi
1218
1218
シェル内で $VIMRUNTIME の値が必要な場合(例えば、ヘルプファイルを grep するスク
1219
1219
リプトなど)は、次のようにすれば得られる: >
1220
1220
1221
- VIMRUNTIME=` vim -e -T dumb --cmd 'exe "set t_cm=\<C-M>"|echo $VIMRUNTIME|quit' | tr -d '\015' `
1221
+ VIMRUNTIME=$( vim -es '+put= $VIMRUNTIME|print| quit!')
1222
1222
1223
1223
$VIMRUNTIME を空の値に設定してはならない。いくつかの機能が動作しなくなる場合が
1224
1224
ある。
Original file line number Diff line number Diff line change 1
- *starting.txt* For Vim version 9.1. Last change: 2024 Jul 04
1
+ *starting.txt* For Vim version 9.1. Last change: 2024 Jul 08
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1257,7 +1257,7 @@ To change it later, use a ":let" command like this: >
1257
1257
In case you need the value of $VIMRUNTIME in a shell (e.g., for a script that
1258
1258
greps in the help files) you might be able to use this: >
1259
1259
1260
- VIMRUNTIME=` vim -e -T dumb --cmd 'exe "set t_cm=\<C-M>"|echo $VIMRUNTIME|quit' | tr -d '\015' `
1260
+ VIMRUNTIME=$( vim -es '+put= $VIMRUNTIME|print| quit!')
1261
1261
1262
1262
Don't set $VIMRUNTIME to an empty value, some things may stop working.
1263
1263
You can’t perform that action at this time.
0 commit comments