Skip to content

Commit

Permalink
few mac related changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaCrotti committed Oct 4, 2017
1 parent ea57b23 commit 07c4a29
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ca-init.el
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@
eval-in-repl
evil
expand-region
exec-path-from-shell
feature-mode
find-file-in-repository
flycheck
Expand Down Expand Up @@ -383,6 +384,7 @@
(require 'ca-elixir)

(require 'helm-projectile)
(require 'ca-mac)

(beacon-mode t)
(projectile-global-mode t)
Expand Down
3 changes: 2 additions & 1 deletion modules/ca-dired.el
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
;; define some more useful keys
(define-key dired-mode-map "b" 'browse-url-of-dired-file)))

(setq dired-listing-switches "-al -I .git -I .bzr -I .hg")
;; (setq dired-listing-switches "-al -I .git -I .bzr -I .hg")
(setq dired-listing-switches "-al")

(require 'dired-details)
(dired-details-install)
Expand Down
8 changes: 8 additions & 0 deletions modules/ca-mac.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
(setq
ns-alternate-modifier (quote none)
ns-pop-up-frames 1
ns-command-modifier (quote meta))

(exec-path-from-shell-initialize)

(provide 'ca-mac)

0 comments on commit 07c4a29

Please sign in to comment.