Skip to content

Commit

Permalink
_
Browse files Browse the repository at this point in the history
  • Loading branch information
stnbu committed Dec 7, 2018
1 parent 25bce81 commit 65c0e33
Showing 1 changed file with 32 additions and 5 deletions.
37 changes: 32 additions & 5 deletions .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/"))
Expand All @@ -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.