.dotfiles

Check-in [68ed7f464d]
Login

Check-in [68ed7f464d]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:ripgrep is relatively nice. Let's use it in Emacs if we have ripgrep available anyway.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 68ed7f464dc1014ed95bb2d5ef8e294b9b00cdff4aade387d01c0f95f2a47644
User & Date: Cthulhux 2020-05-12 11:10:25
Context
2020-05-18
13:10
Emacs: added web-mode check-in: 98b1be1e28 user: Cthulhux tags: trunk
2020-05-12
11:10
ripgrep is relatively nice. Let's use it in Emacs if we have ripgrep available anyway. check-in: 68ed7f464d user: Cthulhux tags: trunk
2020-05-10
08:57
Emacs: added projectile check-in: 8ce1e1b672 user: Cthulhux tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to emacs/init.el.

203
204
205
206
207
208
209







210
211
212
213
214
215
216
  :commands (markdown-mode gfm-mode)
  :mode (("README\\.md\\'" . gfm-mode)
         ("\\.md\\'" . markdown-mode)
         ("\\.markdown\\'" . markdown-mode))
  :init
  (when (executable-find "multimarkdown") (setq markdown-command "multimarkdown")))








;; Project-related functionalities:
(use-package projectile
  :ensure t
  :init
  (projectile-mode +1)
  (define-key projectile-mode-map (kbd "s-p") 'projectile-command-map)
  (define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map))







>
>
>
>
>
>
>







203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
  :commands (markdown-mode gfm-mode)
  :mode (("README\\.md\\'" . gfm-mode)
         ("\\.md\\'" . markdown-mode)
         ("\\.markdown\\'" . markdown-mode))
  :init
  (when (executable-find "multimarkdown") (setq markdown-command "multimarkdown")))

;; Use ripgrep instead of grep (if applicable).
(when (executable-find "rg")
  (use-package rg
    :ensure t
    :init
    (rg-enable-default-bindings)))
  
;; Project-related functionalities:
(use-package projectile
  :ensure t
  :init
  (projectile-mode +1)
  (define-key projectile-mode-map (kbd "s-p") 'projectile-command-map)
  (define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map))