雖然我主要使用Sublime Text(使用Vintageous插件),但我試圖在我的工作流程中採用Vim風格的實踐。正如您所預料的那樣,我想了解如何更快速地瀏覽文檔以編輯其內容。Vim,實際使用示例
例如,假設我想跳過並編輯JSON文件中的ID值,或者從文檔的第一行跳轉到編輯Gale Gomez的名字。
我明白了一些像「引號裏的變化」的基本命令(CI「)或‘改變字’(CW),我希望能得到在頁面導航更好。
想法或建議?
{
"id": 5,
"firstName": "Jayne",
"lasttName": "Norris",
"email": "[email protected]"
},
{
"id": 6,
"firstName": "Gale",
"lasttName": "Gomez",
"email": "[email protected]"
},
{
"id": 7,
"firstName": "Garner",
"lasttName": "Crane",
"email": "[email protected]"
},
{
"id": 7,
"firstName": "Gill",
"lasttName": "Carter",
"email": "[email protected]"
},
{
"id": 8,
"firstName": "Evans",
"lasttName": "Douglas",
"email": "[email protected]"
}
啊!我看到這裏發生了什麼。謝謝! – forcequitIO
許多方法去皮膚貓,但我會改變搜索到'/「ID」:\ zs'。這樣,你已經定位在你想改變的單詞上了,'n3wcw'可以簡化爲'ncw'。 –