禁用游標和呼叫函式介面的emacs配置
關於呼叫函式介面,按下esc + f 後就和按下esc +x 效果差不多 ,比如都可以呼叫函式indent-whole
(defun kill-now ()
(interactive)
(kill-buffer (current-buffer)))
(global-set-key [left] 'kill-now)
(global-set-key [right] 'kill-now)
(global-set-key [home] 'kill-now)
(global-set-key [end] 'kill-now)
(defun wrapfuncall ()
(interactive)
(print 'chenbing)
(funcall (read)))
(global-set-key [(meta m)] 'wrapfuncall )