Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
takeokunn committed Nov 5, 2024
1 parent 587a749 commit 6d50262
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions home-manager/programs/emacs/elisp/init.org
Original file line number Diff line number Diff line change
Expand Up @@ -4040,14 +4040,18 @@ https://github.com/ch11ng/exwm/wiki#gpg-pinentry
flutter-mode) "flutter" nil t)

(with-eval-after-load 'flutter
(add-hook 'flutter-mode-hook #'flutter--initialize))
(add-hook 'flutter-mode-hook
#'(lambda ()
(push '("*Flutter*") popwin:special-display-config)
(flutter--initialize))))

(defun my/flutter-switch-buffer ()
(interactive)
(when (get-buffer "*Flutter*")
(pop-to-buffer "*Flutter*")))

(with-eval-after-load 'dart
(define-key dart-mode-map (kbd "C-c C-z")
#'(lambda ()
(interactive "P")
(when (get-buffer "*Flutter")
(pop-to-buffer "*Flutter*")))))
(with-eval-after-load 'dart-mode
(define-key dart-mode-map (kbd "C-c z") #'my/flutter-switch-buffer))
#+end_src
* Elfeed
** elfeed
Expand Down Expand Up @@ -4788,11 +4792,11 @@ https://github.com/ch11ng/exwm/wiki#gpg-pinentry
*** consult-org-roam
#+begin_src emacs-lisp :tangle yes
(autoload-if-found '(consult-org-roam-mode
consult-org-roam-file-find
consult-org-roam-backlinks
consult-org-roam-backlinks-recursive
consult-org-roam-forward-links
consult-org-roam-search) "consult-org-roam" nil t)
consult-org-roam-file-find
consult-org-roam-backlinks
consult-org-roam-backlinks-recursive
consult-org-roam-forward-links
consult-org-roam-search) "consult-org-roam" nil t)

(keymap-global-set "C-c n e" #'consult-org-roam-file-find)
(keymap-global-set "C-c n b" #'consult-org-roam-backlinks)
Expand Down

0 comments on commit 6d50262

Please sign in to comment.