-
Notifications
You must be signed in to change notification settings - Fork 1
/
про-огрызок.el
41 lines (31 loc) · 1.23 KB
/
про-огрызок.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
;;; про-огрызок.el --- Настройки для макбука -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
(modify-all-frames-parameters '((inhibit-double-buffering . t)))
(use-package exec-path-from-shell
:defer t
:ensure t
:init
(exec-path-from-shell-initialize))
(use-package smooth-scroll
:defer t
:ensure t
:config
(smooth-scroll-mode -1)
(setq smooth-scroll/vscroll-step-size 10))
(global-set-key (kbd "s--") 'text-scale-decrease)
(global-set-key (kbd "s-+") 'text-scale-increase)
(global-set-key (kbd "s-=") 'text-scale-increase)
(global-set-key (kbd "s-_") 'text-scale-set)
(global-set-key (kbd "s-w") 'delete-window)
(global-set-key (kbd "C-w") 'delete-window)
(global-set-key (kbd "s-d") 'nil)
(global-set-key (kbd "s-t") 'make-frame)
(global-set-key (kbd "s-q") 'delete-frame)
;; (add-hook 'window-setup-hook (lambda()
;; (setq ns-auto-hide-menu-bar t)
;; (set-frame-position nil 0 -24)
;; (set-frame-size nil (display-pixel-width) (display-pixel-height) t)))
(global-set-key (kbd "C-s-f") 'toggle-frame-fullscreen) ;; Mac style
(provide 'про-огрызок)
;;; про-огрызок.el ends here