vim - Change inside brackets not working in vim
问题描述
I'm trying to change the text inside brackets with ci{
but there is nothing happening at all.
When I'm trying to do this with ci"
it works fine. When being in insert mode, I can type (
,{
,[
, just as usual, and even the jumping between paragraphs with {
or }
just works as expected. It seems like it's just the ci{
commands that don't work.
For example I have the following sentence in the document, with | being the cursor and in normal-mode:
This| is a "Test" {or isn't it}.
ci{
results in still being normal-mode
This| is a "Test" {or isn't it}.
But ci"
results in with being in insert-mode
This is a "|" {or isn't it}.
I'm using manjaro, with i3, and urxvt.
I've found out that this key is interpreted by the keyboard driver and therefore is not understood by vim from this post.
Is there a workaround or a solution to this?
解决方案
推荐阅读
- json - JSON 中的动态标签
- keyboard - USB 3 主机可以编程为 USB 3 外围设备(或 HID 键盘)吗?
- reactjs - 如果用户已经存在于数据库中,则使用 react redux express 进行注册验证
- python - 将具有相同键的新值添加到 Firestore firebase 中的现有文档而不覆盖
- python - Python UDP 请求挂起
- python - pip3 在安装任何东西时不起作用并抛出 pip 需要 TLS/SSL,ssl Python 不可用
- javascript - 从three.js中的3个顶点渲染平面
- linux - 所选目录不是有效的 glassfish 主目录
- java - 本地依赖的 Quarkus ClassNotFoundException
- php - 在 PHP 中运行两个 SQL 查询,其中第一个语句创建一个临时表供第二个语句使用