Browse Source

Keybind and font fixes

master
Juan Placencia 4 years ago
parent
commit
f16101fdf9
3 changed files with 5 additions and 5 deletions
  1. +1
    -3
      uno/bootstrap.org
  2. +2
    -0
      uno/modules/key/emacs.org
  3. +2
    -2
      uno/modules/ui/theme.org

+ 1
- 3
uno/bootstrap.org View File

@ -100,9 +100,7 @@ Set up general and leader key binds that are used throughout.
(general-create-definer uno-mode-leader-define (general-create-definer uno-mode-leader-define
:prefix uno-mode-leader-key :prefix uno-mode-leader-key
:keymaps 'override :keymaps 'override
:states '(motion normal visual))
(uno-leader-define "" nil)
(uno-mode-leader-define "" nil))
:states '(motion normal visual)))
#+END_SRC #+END_SRC
* Modules * Modules

+ 2
- 0
uno/modules/key/emacs.org View File

@ -23,6 +23,8 @@ Define core keybinds.
(confirm-kill-emacs 'y-or-n-p) (confirm-kill-emacs 'y-or-n-p)
:general :general
(uno-leader-define (uno-leader-define
:placebo t ;; Dummy keyword required to use variable name below
uno-leader-key '(execute-extended-command :which-key "Execute command")
"f" '(:ignore t :which-key "File") "f" '(:ignore t :which-key "File")
"fe" '(:ignore t :which-key "Emacs") "fe" '(:ignore t :which-key "Emacs")
"fR" '(uno/key/emacs/rename-file :which-key "Rename file") "fR" '(uno/key/emacs/rename-file :which-key "Rename file")

+ 2
- 2
uno/modules/ui/theme.org View File

@ -34,8 +34,8 @@ Define UI theme package.
:after uno-ui-theme :after uno-ui-theme
:if (display-graphic-p) :if (display-graphic-p)
:config :config
(let ((-fixed-font "Victor Mono")
(-variable-font "PT Sans"))
(let ((-fixed-font "VictorMono Nerd Font Mono")
(-variable-font "PT Sans Narrow"))
(when (x-list-fonts -fixed-font) (when (x-list-fonts -fixed-font)
(set-face-attribute 'default nil (set-face-attribute 'default nil
:family -fixed-font :family -fixed-font

Loading…
Cancel
Save