Skip to main content
added 22 characters in body
Source Link
Drew
  • 79.1k
  • 10
  • 123
  • 257

How can I permanently rebind keys?

I'd like to rebind C-ijkli, C-j, C-k, and C-l to act like the arrow keys. However, when using

(global-set-key (kbd "C-l") 'forward-char)

it will only do so for the session; the bindings don't persist after restarting Emacs.

Is there some way to automatically do this every time on startup or via a config file or something?

How can I permanently rebind keys?

I'd like to rebind C-ijkl to act like the arrow keys. However, when using

(global-set-key (kbd "C-l") 'forward-char)

it will only do so for the session; the bindings don't persist after restarting Emacs.

Is there some way to automatically do this every time on startup or via a config file or something?

How can I permanently rebind keys?

I'd like to rebind C-i, C-j, C-k, and C-l to act like the arrow keys. However, when using

(global-set-key (kbd "C-l") 'forward-char)

it will only do so for the session; the bindings don't persist after restarting Emacs.

Is there some way to automatically do this every time on startup or via a config file or something?

cleaned up title to make it more general, put the C-ijkl part in the body of the question, bolded the Q to make it stand out
Source Link

How can I permanently rebind keys to use C-ijkl like the arrow keys?

How can I permanentlyHow can I permanently rebind keys?

I'd like to rebind C-ijkl to act like the arrow keys? When. However, when using

(global-set-key (kbd "C-l") 'forward-char)

it will only do so for the session; the bindings don't persist after restarting Emacs.

Is there some way to automatically do this every time on startup or via a config file or something?

How can I permanently rebind keys to use C-ijkl like the arrow keys?

How can I permanently rebind keys? When using

(global-set-key (kbd "C-l") 'forward-char)

it will only do so for the session; the bindings don't persist after restarting Emacs.

Is there some way to automatically do this every time on startup or via a config file or something?

How can I permanently rebind keys?

How can I permanently rebind keys?

I'd like to rebind C-ijkl to act like the arrow keys. However, when using

(global-set-key (kbd "C-l") 'forward-char)

it will only do so for the session; the bindings don't persist after restarting Emacs.

Is there some way to automatically do this every time on startup or via a config file or something?

Improve formatting and grammar.
Source Link
itsjeyd
  • 14.9k
  • 3
  • 60
  • 87

How can I permanently rebind keys? When using (global-set-key KEY (kbd C-l) 'forward-char),

(global-set-key (kbd "C-l") 'forward-char)

it will only do so for the session, but not be bound tosession; the keysbindings don't persist after restarting emacsEmacs.

Is there some way to automatically do this every time on startup or via a config file or sthsomething?

How can I permanently rebind keys? When using (global-set-key KEY (kbd C-l) 'forward-char), it will only do so for the session, but not be bound to the keys after restarting emacs.

Is there some way to automatically do this every time on startup or via a config file or sth?

How can I permanently rebind keys? When using

(global-set-key (kbd "C-l") 'forward-char)

it will only do so for the session; the bindings don't persist after restarting Emacs.

Is there some way to automatically do this every time on startup or via a config file or something?

Source Link
Alex
  • 81
  • 3
Loading