diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-07-11 11:19:01 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-07-11 11:19:01 +0200 |
commit | 6b76eb2f49a6758cd60a9c9a354d58f62405d78b (patch) | |
tree | 0da796ba2e64a598c285eabf98c8ed1146c6107d /dotfiles/.emacs | |
parent | Add 1 git-crypt collaborator (diff) | |
download | nixos-config-6b76eb2f49a6758cd60a9c9a354d58f62405d78b.tar.gz nixos-config-6b76eb2f49a6758cd60a9c9a354d58f62405d78b.tar.bz2 nixos-config-6b76eb2f49a6758cd60a9c9a354d58f62405d78b.zip |
Emacs: Update emacs config
Diffstat (limited to 'dotfiles/.emacs')
-rw-r--r-- | dotfiles/.emacs | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/dotfiles/.emacs b/dotfiles/.emacs index fe045ea..dd66cc4 100644 --- a/dotfiles/.emacs +++ b/dotfiles/.emacs @@ -35,6 +35,10 @@ (use-package doom-modeline :init (doom-modeline-mode 1)) +;; One line scrolling +(setq scroll-step 1) +(setq scroll-conservatively 10000) + (global-display-line-numbers-mode) (global-visual-line-mode t) @@ -51,11 +55,22 @@ :config (dashboard-setup-startup-hook)) - ;;(setq initial-buffer-choice (lambda () (get-buffer-create "*dashboard*"))) +(setq dashboard-footer-messages '("I showed you my source code, plz respond.")) + +;;(setq initial-buffer-choice (lambda () (get-buffer-create "*dashboard*"))) ;;TODO, make it work with directories (setq initial-buffer-choice (lambda () (if (buffer-file-name) (current-buffer) ;; leave as-is - (get-buffer-create "*dashboard*")))) \ No newline at end of file + (get-buffer-create "*dashboard*")))) + +(use-package nix-mode + :mode "\\.nix\\'") + +(use-package haskell-mode) + +(use-package typescript-mode) + +(use-package jq-mode) |