From 1677194afcf1b67b7bb2cf7c0f5777c84ec75701 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Pankowski?= Date: Sat, 14 Dec 2019 11:44:50 +0100 Subject: [PATCH] add vi-like windmove bindings, "C-c z" for helm-mt, remove 2 defaliases --- init.el | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/init.el b/init.el index 8d880c4..b4c0ffe 100644 --- a/init.el +++ b/init.el @@ -194,7 +194,11 @@ (("C-s-n" . windmove-down) ("C-s-p" . windmove-up) ("C-s-b" . windmove-left) - ("C-s-f" . windmove-right)) + ("C-s-f" . windmove-right) + ("s-j" . windmove-down) + ("s-k" . windmove-up) + ("s-h" . windmove-left) + ("s-l" . windmove-right)) :config (windmove-default-keybindings)) @@ -274,9 +278,7 @@ (interactive) (setq ispell-local-dictionary "polish")) -(defalias 'st #'magit-status) (defalias 'ir #'ispell-region) -(defalias 'md #'markdown-mode) ;; Bind keys @@ -289,7 +291,8 @@ :bind (("C-c s" . shell-pop))) (use-package helm-mt - :bind (("C-c S" . helm-mt))) + :bind (("C-c z" . helm-mt)) + :hook (term-exec . toggle-truncate-lines)) (use-package magit :bind ("C-c m" . magit-status))