Created
March 10, 2016 04:03
-
-
Save waltervargas/1754c31cebb8de16454e to your computer and use it in GitHub Desktop.
emacs local personal settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; Code: | |
(add-to-list 'default-frame-alist | |
'(font . "Source Code Pro Semibold")) | |
(require 'flycheck) | |
(add-hook 'js-mode-hook | |
(lambda () (flycheck-mode t))) | |
(setq org-agenda-files (list "~/git/org/tasks.org" | |
"~/git/org/personal.org")) | |
(defun copy-from-osx () | |
(shell-command-to-string "pbpaste")) | |
(defun paste-to-osx (text &optional push) | |
(let ((process-connection-type nil)) | |
(let ((proc (start-process "pbcopy" "*Messages*" "pbcopy"))) | |
(process-send-string proc text) | |
(process-send-eof proc)))) | |
(setq interprogram-cut-function 'paste-to-osx) | |
(setq interprogram-paste-function 'copy-from-osx) | |
(provide 'init-local) | |
;;; init-local.el ends here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment