You can add the key bindings you want to use to evil-normal-state-map
:
(eval-after-load "evil"
'(progn
(define-key evil-normal-state-map (kbd "C-h") 'evil-window-left)
(define-key evil-normal-state-map (kbd "C-j") 'evil-window-down)
(define-key evil-normal-state-map (kbd "C-k") 'evil-window-up)
(define-key evil-normal-state-map (kbd "C-l") 'evil-window-right)))
Wrapping the code into eval-after-load
is necessary to ensure that evil-normal-state-map
is defined/available when making the calls to define-key
.
If you want to make the same bindings available in other "states" (such as "Motion" state) as well, just add them to the corresponding key maps as shown above (in the case of "Motion" state, the corresponding map is called evil-motion-state-map
).
To get Emacs to use the system clipboard, try setting x-select-enable-clipboard
to a non-nil
value:
(setq x-select-enable-clipboard t)
There are also specific commands for killing and yanking that use the clipboard. From the documentation:
clipboard-kill-region
:Kill the region, and save it in the X clipboard.
clipboard-kill-ring-save
:Copy region to kill ring, and save in the X clipboard.