I'm transitioning from VIM (using GNU Emacs 24.5.1
). I want to move between "windows" using familiar keys i.e.
(global-set-key (kbd "C-k") 'windmove-up)
(global-set-key (kbd "C-j") 'windmove-down)
(global-set-key (kbd "C-h") 'windmove-left)
(global-set-key (kbd "C-l") 'windmove-right)
However in org-mode...
C-k runs the command org-kill-line, which is an interactive Lisp function in `org.el'.
It is bound to C-k.
(org-kill-line &optional ARG)
Kill line, to tags or end of line.
So I tried removing the org-kill-line
mapping but I couldn't get it to work:
(eval-after-load "org"
'(define-key org-mode-map [remap org-kill-line] nil))
Disclaimer: I've only been using emacs for 3 days so far.