Compare commits
4 Commits
48233b9474
...
11f3420414
| Author | SHA1 | Date | |
|---|---|---|---|
| 11f3420414 | |||
| 961ac65483 | |||
| 7d30ca2b09 | |||
| d50d4715df |
@ -3,6 +3,7 @@
|
||||
(tooltip-mode -1)
|
||||
(tool-bar-mode -1)
|
||||
(scroll-bar-mode -1)
|
||||
(tab-bar-mode 1)
|
||||
(setq ring-bell-function 'ignore)
|
||||
(add-to-list 'default-frame-alist '(fullscreen . maximized))
|
||||
(setq make-backup-files nil)
|
||||
@ -17,9 +18,13 @@
|
||||
|
||||
(cond
|
||||
((eq system-type 'darwin)
|
||||
(set-face-attribute 'default nil :font "Fira Code" :height 165))
|
||||
;; macOS-specific settings
|
||||
(set-face-attribute 'default nil :font "Fira Code" :height 165)
|
||||
(setq ns-alternate-modifier 'alt
|
||||
ns-command-modifier 'meta
|
||||
ns-function-modifier 'hyper
|
||||
ns-right-alternate-modifier nil)) ;; Act as AltGR, for "|"
|
||||
((eq system-type 'gnu/linux)
|
||||
|
||||
(set-face-attribute 'default nil :font "JetBrains Mono" :height 130)))
|
||||
|
||||
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
|
||||
@ -124,16 +129,23 @@
|
||||
"ff" '(counsel-find-file :which-key "find file")
|
||||
"fg" '(counsel-git :which-key "find file git")
|
||||
"fb" '(counsel-switch-buffer :which-key "find buffers")
|
||||
"fd" '(dired :which-key "dired")
|
||||
"gf" '(counsel-ag :which-key "grep")
|
||||
"gF" '(counsel-git-grep :which-key "git grep")
|
||||
"gg" '(magit-status :whichkey "magit")
|
||||
"t" '(:ignore t :which-key "toggles")
|
||||
"tt" '(counsel-load-theme :which-key "choose theme")
|
||||
"o" '(:ignore o :which-key "open")
|
||||
"ot" '(vterm :which-key "vterm")
|
||||
"t" '(:ignore t :which-key "tabs")
|
||||
"tt" '(tab-new :which-key "new tab")
|
||||
"tf" '(tab-bar-select-by-name :which-key "switch tab using name")
|
||||
"tc" '(tab-close :which-key "close tab")
|
||||
"tr" '(tab-rename :which-key "rename tab")
|
||||
"p" '(projectile-command-map :which-key "projectile")
|
||||
"b" '(:ignore b :which-key "buffers")
|
||||
"bf" '(counsel-switch-buffer :which-key "find buffers")
|
||||
"bn" '(next-buffer :which-key "next buffer")
|
||||
"be" '(eval-buffer :which-key "eval buffer")
|
||||
"bk" '(kill-buffer :which-key "kill buffer")
|
||||
"bp" '(previous-buffer :which-key "previous buffer")))
|
||||
|
||||
(general-define-key
|
||||
@ -180,3 +192,6 @@
|
||||
(use-package magit
|
||||
:custom
|
||||
(magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1))
|
||||
|
||||
(use-package vterm
|
||||
:ensure t)
|
||||
|
||||
Reference in New Issue
Block a user