updated bindings
This commit is contained in:
parent
adf9f53b0e
commit
0ba73008fa
3 changed files with 20 additions and 4 deletions
|
@ -389,9 +389,14 @@
|
|||
"s-g" #'vertico-repeat
|
||||
"M-s-<up>" #'next-window-any-frame
|
||||
"M-s-<down>" #'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-<up>" #'beginning-of-buffer
|
||||
"s-<down>" #'end-of-buffer
|
||||
"s-<return>" #'split-window-below
|
||||
"s-<return>" #'split-window-vertically
|
||||
"s-S-<return>" #'split-window-horizontally
|
||||
"C-M-S-s-<mouse-1>" #'+fold/toggle)
|
||||
|
||||
(map! :localleader
|
||||
|
|
13
config.el
13
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-<left>" '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))
|
||||
|
|
|
@ -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))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue