   "Create a new vterm window under of the current one."
   (interactive)
   (let* ((ignore-window-parameters t)
-	 (dedicated-p (window-dedicated-p)))
+         (dedicated-p (window-dedicated-p)))
     (split-window-vertically)
     (other-window 1)
     (vterm default-directory)))

  :if nil
  :straight (:type built-in)
  :custom ((desktop-restore-eager 8)
	   (desktop-globals-to-save nil)
	   (desktop-files-not-to-save
	    (rx (or (seq bol "/" (zero-or-more (not (any "/" ":"))) ":")
		    (seq "(ftp)" eol)
		    (seq ".gpg" eol)
		    (seq "*" (one-or-more not-newline) "*")))))
  :config
  (desktop-save-mode t))

(use-package savehist
  :custom ((history-delete-duplicates t)
	   (savehist-save-minibuffer-history t)
	   (savehist-additional-variables '(kill-ring
					    compile-command
					    search-ring))
	   (savehist-ignored-variables '(yes-or-no-p-history)))
  :config
  (savehist-mode t))


  :diminish
  :config
  (setq git-gutter:modified-sign " "
        git-gutter:added-sign " "
        git-gutter:deleted-sign " "
        ;;git-gutter:lighter " GG")
        (global-git-gutter-mode -1)))

(use-package copy-as-format
  :config
  (setq copy-as-format-default "slack")
  :bind
  (:map mode-specific-map
        :prefix-map copy-as-format-prefix-map
        :prefix "f"
        ("f" . copy-as-format)
        ("a" . copy-as-format-asciidoc)
        ("b" . copy-as-format-bitbucket)
        ("d" . copy-as-format-disqus)
        ("g" . copy-as-format-github)
        ("l" . copy-as-format-gitlab)
        ("c" . copy-as-format-hipchat)
        ("h" . copy-as-format-html)
        ("j" . copy-as-format-jira)
        ("m" . copy-as-format-markdown)
        ("w" . copy-as-format-mediawiki)
        ("o" . copy-as-format-org-mode)
        ("p" . copy-as-format-pod)
        ("r" . copy-as-format-rst)
        ("s" . copy-as-format-slack)))

(remove-hook 'xref-after-jump-hook 'xref-pulse-momentarily)
(remove-hook 'xref-after-return-hook 'xref-pulse-momentarily)
