Spacemacs使用鼠标复制粘贴

编程入门 行业动态 更新时间:2024-10-26 13:27:46
本文介绍了Spacemacs使用鼠标复制粘贴的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我经常使用鼠标突出显示文本,然后按cmd-c(Osx)复制突出显示的文本.但是,似乎在执行此操作时不会更新光标,因此,与其将突出显示的文本复制到寄存器中,它还从当前光标位置复制到突出显示的位置的末尾.我究竟做错了什么?我不想一直记得在选择之前先单击以移动光标.

I quite often use the mouse to highlight text and then press cmd-c (Osx) to copy the highlighted text. However it seems that the cursor is not updated when I do this and so instead of copying the highlighted text to the register it copies from current cursor position to end of where I highlighted. What am I doing wrong? I dont want to keep remembering to click before select to move the cursor.

我正在使用邪恶模式.

推荐答案

输入

(xterm-mouse-mode -1)

.spacemacs文件中user-config下的应该可以解决问题.

under user-config in your .spacemacs file should do the trick.

更多推荐

Spacemacs使用鼠标复制粘贴

本文发布于:2023-11-25 01:24:53,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1627746.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:鼠标   Spacemacs

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!