Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

Double Commander: GViM Does Not Work as Viewer/Editor

📅 2010-Aug-17 ⬩ ✍️ Ashwin Nanjappa ⬩ 📚 Archive

Double Commander is an open source file manager in the likeness of the venerable Norton Commander. By default its View (F3) and Edit (F4) options open the file for viewing or editing with its own internal viewer and editor. On Windows 7, I like to set the viewer and editor as GViM, which can be set in the Configuration → Options → Tools. However, this setting does not work, since View (F3) or Edit (F4) does not do anything.

This is due to a bug in Double Commander, which cannot handle a path with spaces. On Windows 7, ViM is typically installed to C:\Program Files (x86)\Vim\vim72, which is a path with spaces. To make Double Commander handle this, open the Tools dialog (like above) and enclose the path to gvim.exe (or any executable) in double quotes. View (F3) and Edit (F3) should work after this.

Tried with: Double Commander 0.4.5.1 Beta