   :config
   (add-to-list 'company-backends 'company-restclient))
 
-;;; better json experience
-(use-package json-mode)
 ;; counsel-jq for real time jq json filter
 (use-package counsel-jq
   :config
   (with-eval-after-load "json-mode"
-    (define-key json-mode-map (kbd "C-c C-j") #'counsel-jq)))
+    (define-key json-mode-map (kbd "C-c C-j") #'counsel-jq)
+    (define-key json-mode-map (kbd "C-c C-j") #'json-mode-beautify)))
 
 ;;; auto tail log files
 (add-to-list 'auto-mode-alist '("\\.log\\'" . auto-revert-mode))

(add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode)


;; display line numbers for programming modes
(setq display-line-numbers-type 'relative)
(add-hook 'prog-mode-hook 'display-line-numbers-mode)
;; highlight current line
(global-hl-line-mode t)
;; focus help window
(setq help-window-select t)


;;; Magit
;; getting errors until I installed magit-popup and with-editor

(setq org-adapt-indentation nil)
(setq org-log-done 'time)
(setq org-log-done-with-time t)
(setq org-imenu-depth 7)
;; improve visibility with indentations.
(setq org-startup-indented t)
;;; improve bullets
