From 2953a5ee8011303868bd47c3fb7ad0a0a1f0aa63 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 13 Nov 2014 15:21:24 -0800 Subject: [PATCH] Ssh mode for tramp. Binding for magit. --- init.el | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/init.el b/init.el index b4a34358..65dcf841 100644 --- a/init.el +++ b/init.el @@ -92,7 +92,7 @@ Return a list of installed packages or nil for every package not installed." ;; ============================================================================= (defvar packages-essential - '(popup magit auto-complete ido-ubiquitous mo-git-blame multiple-cursors + '(popup auto-complete ido-ubiquitous mo-git-blame multiple-cursors yasnippet cl-lib flx-ido)) (defvar packages-other @@ -137,6 +137,9 @@ Return a list of installed packages or nil for every package not installed." (add-hook 'after-init-hook '(lambda () (setq debug-on-error t))) (add-hook 'after-init-hook #'flycheck-mode) +(require 'tramp) +(setq tramp-default-method "ssh") + (use-package ace-jump-mode :ensure t :commands ace-jump-mode @@ -168,6 +171,11 @@ Return a list of installed packages or nil for every package not installed." (progn (add-hook 'prog-mode-hook (lambda () (rainbow-delimiters-mode t))))) +(use-package magit + :ensure t + :commands magit-status + :bind (("C-x g" . magit-status))) + ;; ============================================================================= ;; Programming Mode Hooks ;; ============================================================================= @@ -213,11 +221,7 @@ Return a list of installed packages or nil for every package not installed." (use-package helm-projectile :ensure t :config - (progn - (helm-projectile-on)) - :init - (progn - )))) + (progn (helm-projectile-on))))) (ido-mode t) (ido-everywhere 1)