mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-24 22:33:52 +03:00
GH-382 Use vim command output to cd
This commit is contained in:
parent
c620fec2d0
commit
8612118710
@ -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)")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user