Skip to navigation
Insert console.log(''); into a JavaScript Emacs buffer with keystroke
02.05.23
in your init.el add ```console (defun insert_console () (interactive) (insert-before-markers "console.log('');") (backward-char 3) ) (global-set-key (kbd "C-c c") (lambda () (interactive) (insert_console))) ```
http://xahlee.info/emacs/emacs/elisp_cursor_position.html
Reply
Anonymous
Information Epoch 1732434200
Think hierarchically.
Home
Notebook
Contact us