|
|
|
|
|
by pdelgallego
5672 days ago
|
|
That is easy, I always include this lines in the .emacs f new users --- (defun disabled-key ()
"Assign this to disable a key"
(interactive)
(print "All your arrow keys are belong to me. Have a nice day!"))
;; All your arrow keys are disabled Hahahah
(global-set-key (kbd "<up>") 'disabled-key)
(global-set-key (kbd "<down>") 'disabled-key)
(global-set-key (kbd "<left>") 'disabled-key)
(global-set-key (kbd "<right>") 'disabled-key)
(global-set-key (kbd "<C-up>") 'disabled-key)
(global-set-key (kbd "<C-down>") 'disabled-key)
(global-set-key (kbd "<C-left>") 'disabled-key)
(global-set-key (kbd "<C-right>") 'disabled-key)
Learning emacs can means many different things.The first thing you will need to learn is, indeedn to use it as a text editor. But you should also learn many other things, like learning eshell, learn and use elisp to adapt emacs to your work flow, use org emacs, rectangular editing, ... Yesterday I send this "Mastering EShell" link [1] that didn't make the front page. [1] http://news.ycombinator.com/item?id=2002037 |
|
If you're being serious, it kinda seems like just punishing new users for no good reason. If you want that kind of self-flagellation, use vim (kidding! kidding!!)
(FWIW I use arrow keys, but also other smart navigation combinations, a lot. I consider myself a reasonable user of emacs but no pro - I have bells and whistles turned off, fairly hefty .emacs/.emacs.d file, much of which I wrote (or tweaked, to be honest) myself for specific cases, etc. but I know I only use <1% of what is out there. I try and make myself learn a new feature reasonably regularly, though.)