Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (setenv "PATH"
- (concat
- "/home/user/Development/mc-s1-sdk/bin/linux/x86_64/" ":"
- (getenv "PATH")
- )
- )
- (require 'package)
- (let* ((no-ssl (and (memq system-type '(windows-nt ms-dos))
- (not (gnutls-available-p))))
- (proto (if no-ssl "http" "https")))
- (add-to-list 'package-archives
- (cons "melpa" (concat proto "://melpa.org/packages/")) t))
- (package-initialize)
- (global-set-key (kbd "C-c a") 'org-agenda)
- (require 'smartparens-config)
- (require 'multiple-cursors)
- (global-set-key (kbd "C->") 'mc/mark-next-like-this)
- (global-set-key (kbd "C-<") 'mc/mark-previous-like-this)
- (require 'pdf-tools)
- (pdf-tools-install)
- (add-to-list 'load-path
- "/home/user/.emacs.d/elisp/hideshow-org")
- (require 'hideshow-org)
- (require 'compile)
- (add-hook 'c-mode-hook
- (lambda ()
- (progn
- (unless (file-exists-p "Makefile")
- (set (make-local-variable 'compile-command)
- (let ((file (file-name-nondirectory buffer-file-name)))
- (format "clang -S -O2 %s"
- file))))
- (hs-org/minor-mode))))
- (add-hook 'asm-mode-hook
- (lambda ()
- (auto-revert-mode)))
- (add-hook 'racket-mode-hook #'smartparens-mode)
- (global-set-key (kbd "C-x C-o") 'previous-multiframe-window)
- (global-set-key (kbd "C-c c") 'compile)
- (global-set-key (kbd "C-c w") 'fit-window-to-buffer)
- (setq backup-directory-alist '(("." . "~/.emacs.d/saves")))
- (defun workday-after (fix-date cur-date)
- (and
- (memq (calendar-day-of-week cur-date) '(1 2 3 4 5))
- (calendar-date-compare (list fix-date) (list cur-date))))
- (custom-set-variables
- ;; 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.
- '(backup-by-copying t)
- '(column-number-mode t)
- '(create-lockfiles nil)
- '(custom-enabled-themes (quote (tango)))
- '(desktop-save-mode nil)
- '(display-time-24hr-format t)
- '(display-time-mode t)
- '(fill-column 80)
- '(fit-window-to-buffer-horizontally t)
- '(inhibit-startup-screen t)
- '(org-agenda-files (quote ("~/org/work.org")))
- '(org-clock-display-default-range (quote untilnow))
- '(org-clock-idle-time 10)
- '(org-clock-mode-line-total (quote today))
- '(org-clock-x11idle-program-name "xprintidle")
- '(package-selected-packages
- (quote
- (org smartparens racket-mode 2048-game pdf-tools multiple-cursors)))
- '(pdf-view-image-relief 0)
- '(scroll-step 1)
- '(show-paren-mode t)
- '(tab-always-indent (quote complete))
- '(tab-width 4)
- '(tool-bar-mode nil))
- (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.
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement