1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-24 03:25:03 +03:00

GH-382 Use vim command output to cd

This commit is contained in:
Tae Won Ha 2017-01-09 22:30:39 +01:00
parent c620fec2d0
commit 8612118710
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44

View File

@ -99,7 +99,7 @@ public class NeoVimView: NSView, NeoVimUiBridgeProtocol, NSUserInterfaceValidati
set {
let path = newValue.path
let escapedCwd = self.agent.escapedFileName(path)
self.agent.vimCommand("silent cd \(escapedCwd)")
self.agent.vimCommandOutput("cd \(escapedCwd)")
}
}