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
a4c9e85c
Commit
a4c9e85c
authored
4 years ago
by
MoScribe
Browse files
Options
Downloads
Patches
Plain Diff
add apps.el
parent
6b101986
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
init.el
+2
-32
2 additions, 32 deletions
init.el
lisp/apps.el
+31
-0
31 additions, 0 deletions
lisp/apps.el
lisp/editor.el
+14
-0
14 additions, 0 deletions
lisp/editor.el
with
47 additions
and
32 deletions
init.el
+
2
−
32
View file @
a4c9e85c
...
...
@@ -83,6 +83,7 @@
)
(
require
'editor
)
(
require
'completion
)
;;; Navigation
(
use-package
ivy
...
...
@@ -136,44 +137,12 @@
(
"C-c p k"
.
'projectile-kill-buffers
))
)
;; Version Control=========================================================================
(
use-package
magit
:ensure
t
:bind
((
"C-c g s"
.
'magit-status
)
(
"C-c g d"
.
'magit-diff-range
)
)
)
;;=========================================================================================
;;; Deft
(
use-package
deft
:ensure
t
:config
(
setq-default
deft-extensions
user/notes-extensions
deft-directory
user/notes-dir
deft-recursive
t
))
;;; youdao-dict
(
use-package
youdao-dictionary
:ensure
t
:bind
((
"C-c o y"
.
'youdao-dictionary-search-at-point+
))
)
;;; Keybinding
(
use-package
evil
:ensure
t
)
(
use-package
evil-leader
:ensure
t
)
(
use-package
which-key
:ensure
t
:init
(
which-key-mode
)
:config
:diminish
which-key-mode
)
(
require
'functions
)
(
require
'keybindings
)
(
require
'prog-common
)
...
...
@@ -181,6 +150,7 @@
(
require
'prog-python
)
(
require
'prog-haskell
)
(
require
'init-org
)
(
require
'apps
)
)
...
...
This diff is collapsed.
Click to expand it.
lisp/apps.el
0 → 100644
+
31
−
0
View file @
a4c9e85c
;;; apps.el --- Emacs apps
;;
;;; Commentary:
;;; Code:
;;; Deft
(
use-package
deft
:ensure
t
:config
(
setq-default
deft-extensions
user/notes-extensions
deft-directory
user/notes-dir
deft-recursive
t
))
;;; youdao-dict
(
use-package
youdao-dictionary
:ensure
t
:bind
((
"C-c o y"
.
'youdao-dictionary-search-at-point+
))
)
;;; Magit for git
(
use-package
magit
:ensure
t
:bind
((
"C-c g s"
.
'magit-status
)
(
"C-c g d"
.
'magit-diff-range
)
)
)
(
provide
'apps
)
;;; apps.el ends here
This diff is collapsed.
Click to expand it.
lisp/editor.el
+
14
−
0
View file @
a4c9e85c
...
...
@@ -171,11 +171,25 @@
(
use-package
anzu
:ensure
t
:defer
t
:hook
isearch-mode
)
(
use-package
evil-anzu
:ensure
t
:defer
t
:config
(
global-anzu-mode
1
)))
;;; Whichkey
(
use-package
which-key
:ensure
t
:init
(
which-key-mode
)
:config
:diminish
which-key-mode
)
(
provide
'editor
)
;;; editor.el ends here
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