亦良Cool 2022-12-06 10:44 采纳率: 100%
浏览 22
已结题

KALI 自带的vi编辑器不会用!有什么办法?

问题遇到的现象和发生背景

我安装了一个windwos子系统KALI
自带VI方向键乱跳,删除键也不能用。

用代码块功能插入代码,请勿粘贴截图
┌──(root㉿yubai)-[/]
└─# apt remove vim-common
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libc-bin : Depends: libc6 (< 2.34) but 2.36-4 is to be installed
            Recommends: manpages but it is not going to be installed
 vim-tiny : Depends: vim-common (= 2:9.0.0135-1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

┌──(root㉿yubai)-[/]
└─# apt install vim
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libc-bin : Depends: libc6 (< 2.34) but 2.36-4 is to be installed
            Recommends: manpages but it is not going to be installed
 vim : Depends: vim-common (= 2:9.0.0813-1) but 2:9.0.0135-1 is to be installed
       Depends: vim-runtime (= 2:9.0.0813-1) but it is not going to be installed
       Depends: libgpm2 (>= 1.20.7) but it is not going to be installed
       Depends: libsodium23 (>= 1.0.14) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

┌──(root㉿yubai)-[/]
└─#                      

运行结果及报错内容

自带VI方向键乱跳,删除键也不能用。我只想改个源而已,这编辑器太痛苦了

我的解答思路和尝试过的方法

我尝试安装vim,但是报错。

我想要达到的结果
  • 写回答

1条回答 默认 最新

  • 不懂语言的猿 2022-12-06 23:40
    关注

    vi的删除和上下左右好像要先esc切换模式,反正我是受不了直接升级vim,不知道这个你试过没有
    http://t.zoukankan.com/yugengde-p-8638829.html

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

问题事件

  • 系统已结题 12月17日
  • 已采纳回答 12月9日
  • 创建了问题 12月6日

悬赏问题

  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度
  • ¥30 关于#r语言#的问题:如何对R语言中mfgarch包中构建的garch-midas模型进行样本内长期波动率预测和样本外长期波动率预测