diff --git a/bindings.el b/bindings.el index 3f8111a..cef5e01 100644 --- a/bindings.el +++ b/bindings.el @@ -297,7 +297,7 @@ :desc "Delete trailing newlines" "W" #'doom/delete-trailing-newlines :desc "List errors" "x" #'+default/diagnostics :desc "Spaces -> Tabs" "" #'tabify - :desc "Tabs -> Spaces" "" #'untabify + :desc "Tabs -> Spaces" "C-" #'untabify :desc "Diff buffer and file" "b" #'diff-buffer-with-file (:prefix ("-" . "String Case") :desc "cycle" "~" #'string-inflection-all-cycle diff --git a/config.el b/config.el index a3ca5e8..1f72fcc 100644 --- a/config.el +++ b/config.el @@ -10,7 +10,7 @@ ;; See 'C-h v doom-font' for documentation and more examples of what they ;; accept. For example: -(setq doom-font (font-spec :family "JetBrains Mono" :size 18)) +(setq doom-font (font-spec :family "IBM Plex Mono" :size 18)) (setq fancy-splash-image (concat doom-user-dir "splash.png")) (setq doom-theme 'doom-one) @@ -278,3 +278,17 @@ (beg (region-beginning)) (end (region-end))) (font-lock-flush beg end)))) + +(defun +workspaces-associate-frame-fn (frame &optional _new-frame-p) + "Create a blank, new perspective and associate it with FRAME." + (when persp-mode + (with-selected-frame frame + (if (not (cdr-safe (persp-frame-list-without-daemon))) + (+workspace-switch +workspaces-main t) + (+workspace-switch (format "#%s" (+workspace--generate-id)) t)) + (unless (doom-real-buffer-p (current-buffer)) + (switch-to-buffer (doom-fallback-buffer))) + (set-frame-parameter frame 'workspace (+workspace-current-name)) + ;; ensure every buffer has a buffer-predicate + (persp-set-frame-buffer-predicate frame)) + (run-at-time 0.1 nil #'+workspace/display))) diff --git a/meow.el b/meow.el index 01a0766..67e4a1b 100644 --- a/meow.el +++ b/meow.el @@ -91,7 +91,7 @@ '("u" . undo) '("U" . undo-redo) '("v" . meow-visit) - '("V" . meow-goto-line) + ;; '("V" . ) '("w" . meow-mark-word) '("W" . meow-mark-symbol) '("x" . cua-cut-region) @@ -99,7 +99,7 @@ '("y" . kmacro-start-macro) '("Y" . kmacro-end-macro) '("z" . meow-line) - '("Z" . meow-line-expand) + '("Z" . meow-goto-line) '("<" . meow-beginning-of-thing) '(">" . meow-end-of-thing) '("/" . +default/search-buffer)