Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
设置vim为默认软件,打开文本变成新建文本?
Experiences and Insight
503
views ·
4
replies ·
To
floor
Go
anye7up
deepin
2018-12-28 07:17
Author
如图,打开文本,不显示内容,而是相当于新建文本了一般。
已经试过,用命令行打开vim和gvim都是正常显示文本的。
并且两个软件我都用```sudo apt-get purge ```命令清除并重装过了。问题依旧。
想请问,有知道这是什么问题造成的吗?我又该如何解决呢?
Reply
Like 0
Favorite
View the author
All Replies
anye7up
deepin
2018-12-29 10:15
#1
有人碰过相似的问题吗?
Reply
Like 0
View the author
addhapp
deepin
2018-12-29 10:44
#2
从窗口上看你打开的是未命名文件,可能是关键的问题
Reply
Like 0
View the author
irides
deepin
2018-12-29 17:15
#3
自己编译的 vim(v8.1.576),选择默认程序为 GVIM 时,功能正常,没有复现你的问题。
Reply
Like 0
View the author
anye7up
deepin
2019-04-17 03:53
#4
新装的系统安装了vim-gtk3也没有gvim的默认可以选择。在手动选择/usr/bin/gvim之后,又出现了打开任意文本都是未命名的空白文本。
而用命令行gvim 可以正常打开文本,于是怀疑是参数的问题,参考了其他桌面图标,把gvim也弄了个桌面快捷方式,然后默认软件手动选择成桌面的gvim快捷方式,再打开文本就正常了。
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
Nuntia - Modern IMAP/SMTP mail client for Deepin (Beta tester wanted!)
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
Taskbar no longer shows popups
Four agent skills for laptop power, sleep, and honest bug reports
Popular Events
More
如图,打开文本,不显示内容,而是相当于新建文本了一般。
已经试过,用命令行打开vim和gvim都是正常显示文本的。
并且两个软件我都用```sudo apt-get purge ```命令清除并重装过了。问题依旧。
想请问,有知道这是什么问题造成的吗?我又该如何解决呢?