Ssh mode for tramp. Binding for magit.
This commit is contained in:
parent
c62485eb3e
commit
2953a5ee80
16
init.el
16
init.el
@ -92,7 +92,7 @@ Return a list of installed packages or nil for every package not installed."
|
|||||||
;; =============================================================================
|
;; =============================================================================
|
||||||
|
|
||||||
(defvar packages-essential
|
(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))
|
yasnippet cl-lib flx-ido))
|
||||||
|
|
||||||
(defvar packages-other
|
(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 '(lambda () (setq debug-on-error t)))
|
||||||
(add-hook 'after-init-hook #'flycheck-mode)
|
(add-hook 'after-init-hook #'flycheck-mode)
|
||||||
|
|
||||||
|
(require 'tramp)
|
||||||
|
(setq tramp-default-method "ssh")
|
||||||
|
|
||||||
(use-package ace-jump-mode
|
(use-package ace-jump-mode
|
||||||
:ensure t
|
:ensure t
|
||||||
:commands ace-jump-mode
|
:commands ace-jump-mode
|
||||||
@ -168,6 +171,11 @@ Return a list of installed packages or nil for every package not installed."
|
|||||||
(progn
|
(progn
|
||||||
(add-hook 'prog-mode-hook (lambda () (rainbow-delimiters-mode t)))))
|
(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
|
;; Programming Mode Hooks
|
||||||
;; =============================================================================
|
;; =============================================================================
|
||||||
@ -213,11 +221,7 @@ Return a list of installed packages or nil for every package not installed."
|
|||||||
(use-package helm-projectile
|
(use-package helm-projectile
|
||||||
:ensure t
|
:ensure t
|
||||||
:config
|
:config
|
||||||
(progn
|
(progn (helm-projectile-on)))))
|
||||||
(helm-projectile-on))
|
|
||||||
:init
|
|
||||||
(progn
|
|
||||||
))))
|
|
||||||
|
|
||||||
(ido-mode t)
|
(ido-mode t)
|
||||||
(ido-everywhere 1)
|
(ido-everywhere 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user