vim-shell icon indicating copy to clipboard operation
vim-shell copied to clipboard

vim-shell opens text files in NotePad

Open wolfv6 opened this issue 10 years ago • 2 comments

I am reading a .txt file in Vim 7.4, on Windows 7. When I F-6 on a .txt or .text file URI in Vim, the file opens in NotePad.

file:///C:/Users/wolf/Documents/a.txt
file:///C:/Users/wolf/Documents/b.text

When I click on a.txt or b.text from Explorer, the file opens in Vim. The irony :) From Explorer > Properties > Opens with: Vi Improved - A Text Editor.

Is there a way to make vim-shell open .txt files in Vim?

vim-shell opens these file types as expected: .doc .odt .cvs .bmp

vim-shell is unresponsive when I F-6 on these file types: .markdown (Explorer opens it in Vim)

vim-shell opens these file types in NotePad: .txt (Explorer opens it in Vim) .text (Explorer opens it in Vim)

wolfv6 avatar Jun 19 '14 13:06 wolfv6

Does it work correctly when you remove the file:/// part at the start of the filename and then press F-6?

xolox avatar Jun 19 '14 19:06 xolox

Yes, and I get the same results without the leading "file:///".   Wolfram Volpi [email protected]

On Thursday, June 19, 2014 1:02 PM, Peter Odding [email protected] wrote:

Does it work correctly when you remove the file:/// part at the start of the filename and then press F-6? — Reply to this email directly or view it on GitHub.

wolfv6 avatar Jun 19 '14 19:06 wolfv6