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
|
"s-g" #'vertico-repeat
|
||||||
"M-s-<up>" #'next-window-any-frame
|
"M-s-<up>" #'next-window-any-frame
|
||||||
"M-s-<down>" #'previous-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-<up>" #'beginning-of-buffer
|
||||||
"s-<down>" #'end-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)
|
"C-M-S-s-<mouse-1>" #'+fold/toggle)
|
||||||
|
|
||||||
(map! :localleader
|
(map! :localleader
|
||||||
|
|
13
config.el
13
config.el
|
@ -13,6 +13,7 @@
|
||||||
(setq doom-font (font-spec :family "JetBrains Mono" :size 14))
|
(setq doom-font (font-spec :family "JetBrains Mono" :size 14))
|
||||||
(setq fancy-splash-image (concat doom-user-dir "splash.png"))
|
(setq fancy-splash-image (concat doom-user-dir "splash.png"))
|
||||||
(setq doom-theme 'doom-monokai-pro)
|
(setq doom-theme 'doom-monokai-pro)
|
||||||
|
;; (setq doom-theme 'doom-molokai)
|
||||||
|
|
||||||
(setq +doom-dashboard-pwd-policy nil)
|
(setq +doom-dashboard-pwd-policy nil)
|
||||||
|
|
||||||
|
@ -167,7 +168,7 @@
|
||||||
"s-M-<left>" 'centaur-tabs-backward))
|
"s-M-<left>" 'centaur-tabs-backward))
|
||||||
|
|
||||||
;; use kitty for terminal-here
|
;; 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
|
;; set project paths and ignore buffers
|
||||||
(setq projectile-project-search-path '(("~/Source" . 2)))
|
(setq projectile-project-search-path '(("~/Source" . 2)))
|
||||||
|
@ -242,6 +243,16 @@
|
||||||
(after! gcode-mode
|
(after! gcode-mode
|
||||||
(add-hook! 'gcode-mode-hook 'eldoc-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
|
;; (use-package! ready-player
|
||||||
;; :config
|
;; :config
|
||||||
;; (ready-player-add-to-auto-mode-alist))
|
;; (ready-player-add-to-auto-mode-alist))
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
;; configure obsidian integration for note taking fun times
|
;; configure obsidian integration for note taking fun times
|
||||||
(use-package! obsidian
|
(use-package! obsidian
|
||||||
:config
|
:config
|
||||||
(obsidian-specify-path "~/Documents/Obsidian/Primary")
|
(obsidian-specify-path "~/Documents/Obsidian/Primary/")
|
||||||
(setq obsidian-inbox-directory "_Inbox")
|
(setq obsidian-inbox-directory "_Inbox")
|
||||||
(global-obsidian-mode t)
|
(global-obsidian-mode t)
|
||||||
(map! :map obsidian-mode-map
|
(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."
|
"Create new obsidian note. In the `obsidian-inbox-directory' if set otherwise in `obsidian-directory' root."
|
||||||
(interactive)
|
(interactive)
|
||||||
(let* ((title (read-from-minibuffer "Title: " (format-time-string "%Y-%m-%d")))
|
(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)))
|
(clean-filename (s-replace "//" "/" filename)))
|
||||||
(find-file (expand-file-name clean-filename) t))))
|
(find-file (expand-file-name clean-filename) t))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue