Vim not working correctly on nemo user

asked 2019-10-16 20:29:45 +0200

bionade24 gravatar image

Hello, why do I always need to devel-su to use vim? This is realy annoying and unnecessary. How can I solve this?

When on user nemo, vim always says NEW DIRECTORY even when cat shows a filled file.

edit retag flag offensive close delete

Comments

1

vim is not part of a default SFOS installation. A standard vi works well without the mentioned problems. Apart from that, I'd suspect a broken .vimrc.

Maus ( 2019-10-16 21:49:01 +0200 )edit

I wanted to have highlighting, that's why I installed it. And why ship they /etc/vimrc broken? I really have no .vimrc anywhere in the user dirs.

bionade24 ( 2019-10-16 21:52:41 +0200 )edit
1

I just installed vim and it works pretty well.

It installs a fine version of /etc/vi*rc, diff says only

-" filetype plugin on
+filetype plugin on

-" let &guicursor = &guicursor . ",a:blinkon0"
+let &guicursor = &guicursor . ",a:blinkon0"
peterleinchen ( 2019-10-17 00:30:59 +0200 )edit

Have you installed vim-ehanced, too? It's needed for syntax highlighting.

bionade24 ( 2019-10-17 17:36:58 +0200 )edit

I just did

pkcon install vim-enhanced

as

pkcon what-provides vim
Anbieter werden abgerufenStartenAbfragenFertig
Installiert     vim-enhanced-8.1.1244+git1-1.3.1.jolla.armv7hl (installed)
A version of the VIM editor which includes recent enhancements

It loaded a few sub-packages but there is no single vim package as

pkcon search vim
Suche nach DetailsStartenSoftware-Liste wird aktualisiert AbfragenFertigVerfügbar       grilo-plugin-vimeo-0.2.17-1.2.4.jolla.armv7hl (jolla)           Grilo plugin - vimeoVerfügbar       protobuf-vim-2.5.0-1.3.17.jolla.armv7hl (jolla)                 Vim syntax highlighting for Google Protocol Buffers descriptionsInstalliert     vim-common-8.1.1244+git1-1.3.1.jolla.armv7hl (installed)        The common files needed by any version of the VIM editorVerfügbar       vim-debuginfo-8.1.1244+git1-1.3.1.jolla.armv7hl (jolla)         Debug information for package vimVerfügbar       vim-debugsource-8.1.1244+git1-1.3.1.jolla.armv7hl (jolla)       Debug sources for package vimVerfügbar       vim-doc-8.1.1244+git1-1.3.1.jolla.armv7hl (jolla)               Documentation for vimInstalliert     vim-enhanced-8.1.1244+git1-1.3.1.jolla.armv7hl (installed)      A version of the VIM editor which includes recent enhancementsInstalliert     vim-filesystem-8.1.1244+git1-1.3.1.jolla.armv7hl (installed)    VIM filesystem layoutInstalliert     vim-minimal-8.1.1244+git1-1.3.1.jolla.armv7hl (installed)       A minimal version of the VIM editor
peterleinchen ( 2019-10-17 23:12:08 +0200 )edit