 ; Windows
 (map! :leader "w m" #'doom/window-maximize-buffer)
 ; Magit
-(map! :leader "g l" #'magit-log-head)
-(map! :leader "g L" #'magit-log-buffer-file)
+(map! :leader "g l" #'magit-log-head-maximized)
+(map! :leader "g L" #'magit-log-buffer-file-maximized)
+(map! :map magit-mode-map :nv "q" #'magit-kill-this-buffer)
+(map! :map magit-revision-mode-map :nv "q" #'magit-kill-this-buffer-and-window)
 ; Jest
 (map! :leader "m t" #'jest-function)
 

; Vue mode
(add-to-list 'auto-mode-alist '("\\.vue\\'" . javascript-mode)) ; Enable JS mode for vue files
(add-hook 'vue-mode-hook #'lsp!)

    '((:source "~/.credentials/github.token")))

; Key bindings (faster to type)
(map! "C-k" #'switch-to-next-buffer)
(map! "C-j" #'switch-to-prev-buffer)
(map! :map magit-mode-map :n "C-k" #'switch-to-next-buffer)
(map! :map magit-mode-map :n "C-j" #'switch-to-prev-buffer)


; Key bindings (slower to type)
; Config
