用于"自由"光标定位的Emacs模式

sab*_*bof 2 emacs

是否有一种模式允许我将光标放在屏幕上的任何位置(包括在行结束后),通过鼠标单击或通过键?

编辑:

一种基于图像模式的次要模式,它完全符合问题的要求.

(define-minor-mode free-point-mode
    "Place the cursor anywhere on the screen, irrespective of linebreaks, by clicking or using the arrow keys"
  nil nil
  `((,(kbd "<mouse-1>") . picture-mouse-set-point)
    (,[remap right-char] . picture-forward-column)
    (,[remap left-char] . picture-backward-column)
    (,[remap previous-line] . picture-move-up)
    (,[remap next-line] . picture-move-down))
  (require 'picture))

(defadvice picture-mouse-set-point (after no-region activate)
  (deactivate-mark))
Run Code Online (Sandbox Code Playgroud)

Mis*_*ble 5

picture-mode让您将光标定位在屏幕上的任何位置.不要让这个名字欺骗你,这不是关于图像:

要编辑由文本字符构成的图片(例如,将寄存器划分为字段的图片,作为程序中的注释),请使用命令Mx图片模式进入图片模式.