Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
emacs.d
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
为了安全,强烈建议开启2FA双因子认证:User Settings -> Account -> Enable two-factor authentication!!!
Show more breadcrumbs
Liu Miao
emacs.d
Commits
675dcdc3
Commit
675dcdc3
authored
4 years ago
by
MoScribe
Browse files
Options
Downloads
Patches
Plain Diff
add mode-line-format to config file
parent
5255e175
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
init.el
+3
-18
3 additions, 18 deletions
init.el
with
3 additions
and
18 deletions
init.el
+
3
−
18
View file @
675dcdc3
...
...
@@ -90,19 +90,7 @@
line-number-mode
nil
initial-major-mode
'text-mode
frame-title-format
"%b"
mode-line-format
(
list
"%e"
;; print error message
mode-line-front-space
'
(
:eval
evil-mode-line-tag
)
;; Show evil mode.
mode-line-mule-info
mode-line-client
mode-line-modified
mode-line-remote
mode-line-frame-identification
mode-line-buffer-identification
;; buffer files
mode-line-modes
;; Major mode and some important minor modes.
" "
mode-line-position
;; position of this buffer
;; " "
'
(
vc-mode
vc-mode
)
;; version control messages.
mode-line-misc-info
mode-line-end-spaces
))
mode-line-format
user/mode-line-format
)
;; Set font
(
set-frame-font
"Source Code Pro 11"
t
t
)
...
...
@@ -122,9 +110,6 @@
;; use y-n to replace yes-no
(
fset
'yes-or-no-p
'y-or-n-p
)
;; Set the mode line.
(
setq-default
)
(
add-hook
'prog-mode-hook
'linum-mode
)
(
add-hook
'prog-mode-hook
(
lambda
()
(
setq
truncate-lines
t
)))
...
...
@@ -148,7 +133,7 @@
(
use-package
recentf
:defer
1
:config
(
setq
recentf-save-file
(
expand-file-name
"catch/recentf"
user-emacs-directory
)
)
(
setq
recentf-save-file
user/recentf-save-file
)
)
;;
...
...
@@ -291,7 +276,7 @@
(
use-package
deft
:ensure
t
:config
(
setq-default
deft-extensions
'
(
"org"
)
(
setq-default
deft-extensions
'
user/notes-extensions
deft-directory
user/notes-dir
deft-recursive
t
))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment