嘗試:read!
:set runtimepath?
命令。Vim映射<Bar>, |,^ V(c-v c-v)和<NL>(c-v c-j)
:set runtimepath
and :set runtimepath?
work;路徑顯示在緩衝區中。
這使關鍵的映射:
:help {key}^D
。
沒有看到任何異乎尋常的東西;檢查^V(c-v c-v)
,\|
,^@(c-v c-j
,<bar>
等
我已經通過循環時,按以下順序:
:read! \| set -runtimepath?
:read! <Bar> set -runtimepath?
:read! ^V set -runtimepath?
:read! set -runtimepath ^V ?
:read! ^@ set -runtimepath? <--this showed the paths in buffer, but did not read
:0,i read! +(set runtimepath ^V?) error, trailing chars
這是我的嘗試的一部分;這裏有一些我的錯誤,如
/tmp/vaRUOTA/2 2>&1
/tmp/vaRUOTA/0 cant read
e485: cant read file /tmp/vaRUOTA/4
我跑sudo與此。
我有一些基本的問題:比如vim :set
(它不是anon reg)?,是?
參數/ cmd是管道/ bkwd查找。
預先感謝您的任何幫助
你想做什麼? – romainl
這些是vi命令。 :讀取讀取文件; :讀!讀取光標的cmd輸出;所以這就是我想要做的。 :set將返回所有路徑;像在我的光標下面的行中的id。 – syntax
我知道這些命令是什麼。根據你的問題,根本不清楚你實際上想要對他們做什麼。所以現在它說你想插入'runtimepath'的值在你的 – romainl