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
a4546666
Commit
a4546666
authored
2 years ago
by
Liu Miao
Browse files
Options
Downloads
Patches
Plain Diff
add tabify
parent
f0c102c9
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lisp/editor.el
+12
-9
12 additions, 9 deletions
lisp/editor.el
with
12 additions
and
9 deletions
lisp/editor.el
+
12
−
9
View file @
a4546666
...
...
@@ -54,9 +54,12 @@
frame-title-format
"%b"
)
;;; Formatting
(
setq-default
indent-tabs-mode
nil
tab-width
4
tab-always-indent
nil
)
(
setq-default
tab-width
4
indent-tabs-mode
nil
)
(
setq-default
tab-always-indent
nil
)
;; Make `tabify' and `untabify' only affect indentation. Not tabs/spaces in the
;; middle of a line.
(
setq
tabify-regexp
"^\t* [ \t]+"
)
(
setq-default
fill-column
80
)
...
...
@@ -89,10 +92,10 @@
;; Font set
(
when
(
find-font
(
font-spec
:name
(
car
user/default-font
)))
(
let*
((
font
(
car
user/default-font
))
(
props
(
cdr
user/default-font
))
(
fontspec
(
apply
'font-spec
:name
font
props
)))
(
set-frame-font
fontspec
nil
t
)))
(
let*
((
font
(
car
user/default-font
))
(
props
(
cdr
user/default-font
))
(
fontspec
(
apply
'font-spec
:name
font
props
)))
(
set-frame-font
fontspec
nil
t
)))
;;; Build-in packages
;;; tramp
...
...
@@ -251,7 +254,6 @@
;;; Undo tree mode
(
use-package
undo-tree
:ensure
t
:hook
(
after-init
.
global-undo-tree-mode
)
:config
(
setq
undo-tree-visualizer-timestamps
t
undo-tree-visualizer-diff
t
...
...
@@ -259,7 +261,8 @@
;; Emacs GC which truncages the undo history very aggresively
undo-limit
800000
undo-strong-limit
12000000
undo-outer-limit
120000000
))
undo-outer-limit
120000000
)
global-undo-tree-mode
)
(
use-package
writeroom-mode
:ensure
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