From 0ba73008fa03ee300fa67af73db5b123cda12862 Mon Sep 17 00:00:00 2001 From: Matt Nish-Lapidus Date: Mon, 16 Sep 2024 22:42:30 -0400 Subject: [PATCH] updated bindings --- bindings.el | 7 ++++++- config.el | 13 ++++++++++++- obsidian-config.el | 4 ++-- 3 files changed, 20 insertions(+), 4 deletions(-) diff --git a/bindings.el b/bindings.el index 746a482..0d71069 100644 --- a/bindings.el +++ b/bindings.el @@ -389,9 +389,14 @@ "s-g" #'vertico-repeat "M-s-" #'next-window-any-frame "M-s-" #'previous-window-any-frame + "s-M-h" #'windmove-left + "s-M-j" #'windmove-up + "s-M-k" #'windmove-down + "s-M-l" #'windmove-right "s-" #'beginning-of-buffer "s-" #'end-of-buffer - "s-" #'split-window-below + "s-" #'split-window-vertically + "s-S-" #'split-window-horizontally "C-M-S-s-" #'+fold/toggle) (map! :localleader diff --git a/config.el b/config.el index fe7b165..90eb95a 100644 --- a/config.el +++ b/config.el @@ -13,6 +13,7 @@ (setq doom-font (font-spec :family "JetBrains Mono" :size 14)) (setq fancy-splash-image (concat doom-user-dir "splash.png")) (setq doom-theme 'doom-monokai-pro) +;; (setq doom-theme 'doom-molokai) (setq +doom-dashboard-pwd-policy nil) @@ -167,7 +168,7 @@ "s-M-" 'centaur-tabs-backward)) ;; use kitty for terminal-here -(setq terminal-here-mac-terminal-command '("kitty" "@" "launch" "--type=tab")) +;; (setq terminal-here-mac-terminal-command '("kitty" "@" "launch" "--type=tab")) ;; set project paths and ignore buffers (setq projectile-project-search-path '(("~/Source" . 2))) @@ -242,6 +243,16 @@ (after! gcode-mode (add-hook! 'gcode-mode-hook 'eldoc-mode)) +;; (use-package! tramp +;; :init +;; ;; Make sure we work on remote guixsd machines :) +;; ;; probably only helps if you start on a guixsd machine..! +;; (setq tramp-remote-path +;; (append path-tramp-remote +;; '("~/.guix-profile/bin" "~/.guix-profile/sbin" +;; "/run/current-system/profile/bin" +;; "/run/current-system/profile/sbin")))) + ;; (use-package! ready-player ;; :config ;; (ready-player-add-to-auto-mode-alist)) diff --git a/obsidian-config.el b/obsidian-config.el index 5357516..ae70f70 100644 --- a/obsidian-config.el +++ b/obsidian-config.el @@ -3,7 +3,7 @@ ;; configure obsidian integration for note taking fun times (use-package! obsidian :config - (obsidian-specify-path "~/Documents/Obsidian/Primary") + (obsidian-specify-path "~/Documents/Obsidian/Primary/") (setq obsidian-inbox-directory "_Inbox") (global-obsidian-mode t) (map! :map obsidian-mode-map @@ -16,6 +16,6 @@ "Create new obsidian note. In the `obsidian-inbox-directory' if set otherwise in `obsidian-directory' root." (interactive) (let* ((title (read-from-minibuffer "Title: " (format-time-string "%Y-%m-%d"))) - (filename (s-concat obsidian-directory "/_Journal/" title ".md")) + (filename (s-concat obsidian-directory "_Journal/" title ".md")) (clean-filename (s-replace "//" "/" filename))) (find-file (expand-file-name clean-filename) t))))