Permalink
Browse files

_

  • Loading branch information...
stnbu committed Dec 7, 2018
1 parent 25bce81 commit 65c0e33a363907b7adf3967551bd8a51f106e3fb
Showing with 32 additions and 5 deletions.
  1. +32 −5 .emacs
37 .emacs
@@ -1,3 +1,5 @@
(setq ispell-program-name "/usr/local/bin/ispell")

(require 'package)
(add-to-list 'package-archives
'("melpa" . "https://melpa.org/packages/"))
@@ -9,11 +11,36 @@
(server-start)

(put 'upcase-region 'disabled nil)
(add-hook 'before-save-hook 'delete-trailing-whitespace)
;; (setq column-number-mode t)
;;(add-hook 'before-save-hook 'delete-trailing-whitespace)
;;(setq column-number-mode t)

(custom-set-variables
'(fill-column 80)
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(column-number-mode t)
'(package-selected-packages (quote (markdown-mode)))
'(tab-width 4))
'(fill-column 80)
'(package-selected-packages (quote (php-mode rust-mode magit markdown-mode)))
'(tab-width 4)
'(visible-bell 1))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)


;; TODO
; magit-status --> press [TAB]
; magit-stage
;;;;;;; in: .dir-locals.el
;;;;;;; (setq before-save-hook nil)
;;;;;;; ;;(add-hook 'before-save-hook 'delete-trailing-whitespace)
; k -- discard staged and unstaged (undo)

(global-set-key (kbd "C-x <up>") 'windmove-up)
(global-set-key (kbd "C-x <down>") 'windmove-down)
(global-set-key (kbd "C-x <right>") 'windmove-right)
(global-set-key (kbd "C-x <left>") 'windmove-left)

0 comments on commit 65c0e33

Please sign in to comment.