vim standard text editor after installation

David Rabel David.Rabel at NoreSoft.com
Tue Sep 13 13:03:05 UTC 2016


Hi James,

thanks for your email.

On 13.09.2016 02:54, James McCoy wrote:
> On Mon, Sep 12, 2016 at 02:17:32PM +0200, David Rabel wrote:
>> Hi there,
>>
>> after installing vim a lot of files are opened in vim instead of gedit
>> when doubleclicking them. I use cinnamon with nemo. Is this behaviour
>> wanted?
> 
> With vim-gnome installed (at least prior to the 7.4.2330 upload),
> vim.gnome was setup as one of the gnome-text-editor alternatives (albeit
> at a lower priority than gedit).  All the Vim packages also are setup as
> providers for the editor, view, ex, and a few other alternatives.

There is no vim-gnome package installed. Nor any other package from [1].


> The Vim packages also add information about themselves into the MIME
> database.

Maybe it has something to do with that. In
/usr/share/applications/mimecache.info there are many lines like
"text/x-c=vim.desktop" while
gedit only appears for text/plain . Still I don't know what to do about it.

> 
> Whether any of that matters depends on how whatever you're
> doubleclicking on determines what to use to open files.
> 
>> Because if so, I would like to suggest rethinking it. When working with
>> the command line I want to use vim, but when doubleclicking a file from
>> a graphical desktop environment I would not expect it to be opened in vim.
> 
> Then maybe you don't want the gvim-providing packages installed and only
> want vim/vim-nox?

No, there is no gvim-providing package installed.

> 
> Cheers,
> 

Yours,
 David


[1] https://packages.debian.org/de/stretch/gvim

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20160913/e3ccaac1/attachment.sig>


More information about the pkg-vim-maintainers mailing list