Browse Source

Configure header-line-format

master
10sr 5 years ago
parent
commit
ad72151a4e
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 20 additions and 4 deletions
  1. +20
    -4
      emacs.el

+ 20
- 4
emacs.el View File

@@ -572,6 +572,12 @@ found, otherwise returns nil."
(defvar helm-map)
(define-key helm-map (kbd "C-h") (kbd "DEL")))

(setq-default header-line-format
'(:eval (let ((f (or (buffer-file-name)
default-directory)))
(when f
(abbreviate-file-name f)))))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; letters, font-lock mode and fonts

@@ -1910,6 +1916,11 @@ and search from projectile root (if projectile is available)."
(defalias 'make 'compile)
(define-key ctl-x-map "c" 'compile)


(define-key ctl-x-map (kbd "C-r") 'recently-show)
(define-key ctl-x-map "T" 'git-worktree)
(define-key ctl-x-map "W" 'git-walktree)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; editorconfig-auto-apply

@@ -1949,10 +1960,6 @@ and search from projectile root (if projectile is available)."



(define-key ctl-x-map (kbd "C-r") 'recently-show)
(define-key ctl-x-map "T" 'git-worktree)
(define-key ctl-x-map "W" 'git-walktree)

;;;;;;;;;;;;;;;;
;; flychcek-black

@@ -2058,6 +2065,15 @@ and search from projectile root (if projectile is available)."
(set-variable 'flycheck-python-mypy-ini
".mypy.ini")


;;;;;;;;;;;;;;;;;;;
;; peek-file-mode

(defun peek-file (file)
"Peek FILE."
(interactive)
(message "%s" file))

;; Local Variables:
;; flycheck-disabled-checkers: (emacs-lisp-checkdoc)
;; flycheck-checker: emacs-lisp


Loading…
Cancel
Save