Skip to content

Commit

Permalink
Add general, some more defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
lnfinite Monkeys committed Oct 4, 2019
1 parent b2b911b commit 263e2f5
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions init.el
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
;; Haskell mode provides syntax highlighting and other goodies
(use-package haskell-mode)

;; Use General for easy key binding definitions
(use-package general)

;; Load up timelines-mode, the star of the evening
(load "~/.emacs.d/timelines-mode.el")

Expand All @@ -33,12 +36,12 @@
;; Snippets = less typing = good
(use-package yasnippet
:config
(yas-global-mode 1))
(yas-global-mode 1)
(define-key yas-minor-mode-map (kbd "<tab>") nil)
(define-key yas-minor-mode-map (kbd "TAB") nil)
(define-key yas-minor-mode-map (kbd "SPC") yas-maybe-expand))

(define-key yas-minor-mode-map (kbd "<tab>") nil)
(define-key yas-minor-mode-map (kbd "TAB") nil)

(define-key yas-minor-mode-map (kbd "SPC") yas-maybe-expand)

;;;;;;;;;;;;;; Setup some more user-friendly functionality and defaults (e.g. the usual cut/copy/paste bindings)
(cua-mode t)
Expand Down Expand Up @@ -68,7 +71,10 @@
;; Replaces a selection with any letter pressed
(delete-selection-mode 1)

(setq scroll-conservatively 100)
(setq scroll-conservatively 100
select-enable-clipboard t
show-paren-delay 0
show-trailing-whitespace nil)


;;;;;;;;;;;;;; Setup themes and other aesthetic stuff
Expand Down

0 comments on commit 263e2f5

Please sign in to comment.