Skip to content

Commit

Permalink
fix: win-register-hot-key to win spec config
Browse files Browse the repository at this point in the history
  • Loading branch information
lyt0628 committed Oct 15, 2024
1 parent 5a8bafc commit fbe9a5d
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 12 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
tmp/
.gitignore

org-roam.db
11 changes: 0 additions & 11 deletions lisp/init-keymap.el
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,6 @@
(require 'init-variables)


;; Config form Windows ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(setq w32-pass-rwindow-to-system nil) ; block right window icon key
(setq w32-pass-lwindow-to-system nil) ; block left window icon key
(setq w32-lwindow-modifier 'super) ; rebind win to super
(w32-register-hot-key [s-])

(setq w32-scroll-lock-modifier 'super)

(setq w32-pass-apps-to-system nil)
(setq w32-apps-modifier 'hyper) ; Menu key


;; desprecaed
(defconst lyt-extra-modifier-key "s")
Expand Down
15 changes: 15 additions & 0 deletions lisp/init-variables-win.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,18 @@
(require 'bookmark)
(setq bookmark-default-file
(expand-file-name "bookmark-win.el" lyt-emacs-directory))




;; Config form Windows ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(setq w32-pass-rwindow-to-system nil) ; block right window icon key
(setq w32-pass-lwindow-to-system nil) ; block left window icon key
(setq w32-lwindow-modifier 'super) ; rebind win to super
(w32-register-hot-key [s-])

(setq w32-scroll-lock-modifier 'super)

(setq w32-pass-apps-to-system nil)
(setq w32-apps-modifier 'hyper) ; Menu key

File renamed without changes.

0 comments on commit fbe9a5d

Please sign in to comment.