Code Monkey home page Code Monkey logo

Comments (10)

zilongshanren avatar zilongshanren commented on May 24, 2024 1

@li-xinyang 上周的视频我这周末补上,上周比较忙,没有来得及录。

from spacemacs-rocks.

 avatar commented on May 24, 2024
;; Abbreviation Mode and Setting
(abbrev-mode 1)
(define-abbrev-table 'global-abbrev-table '(
                        ("3lxy" "li-xinyang")

我这里没问题,能不能给你全部编辑器的配置信息。空格后会自动展开,在缩写表中定义的字符串。1t 的效果其实是一样的。

from spacemacs-rocks.

ziyuanjun avatar ziyuanjun commented on May 24, 2024

我编辑器的全部配置都是照着山人的视频一句一句敲的,我也觉得很奇怪

from spacemacs-rocks.

ziyuanjun avatar ziyuanjun commented on May 24, 2024

在define-abbrev-table的最后 C-x C-e,输出字符nil,
你的也是这样的吗?

from spacemacs-rocks.

zilongshanren avatar zilongshanren commented on May 24, 2024

@ziyuanjun 我也是输出 nil... 不过这并不影响。

from spacemacs-rocks.

zilongshanren avatar zilongshanren commented on May 24, 2024

@ziyuanjun 你试一下手动在当前 buffer 调用 M-x abbrev-mode 试试

from spacemacs-rocks.

zilongshanren avatar zilongshanren commented on May 24, 2024

@ziyuanjun C-h m 把你的输出拿出来看看。。

from spacemacs-rocks.

ziyuanjun avatar ziyuanjun commented on May 24, 2024

@zilongshanren 在当前buffer 调用 M-x abbrev-mode就可以啦!
C-h m 的输出(调用 M-x abbrev-mode之前):
Enabled minor modes: Auto-Composition Auto-Compression Auto-Encryption
Blink-Cursor Company Delete-Selection Diff-Auto-Refine Electric-Indent
File-Name-Shadow Font-Lock Global-Auto-Revert Global-Company
Global-Eldoc Global-Font-Lock Global-Hl-Line Global-Hungry-Delete
Global-Linum Hungry-Delete Ivy Line-Number Linum Menu-Bar Mouse-Wheel
Popwin Recentf Show-Paren Smartparens Smartparens-Global Tooltip
Transient-Mark

调用后:
Enabled minor modes: Abbrev Auto-Composition Auto-Compression
Auto-Encryption Blink-Cursor Company Delete-Selection Diff-Auto-Refine
Electric-Indent File-Name-Shadow Font-Lock Global-Auto-Revert
Global-Company Global-Eldoc Global-Font-Lock Global-Hl-Line
Global-Hungry-Delete Global-Linum Hungry-Delete Ivy Line-Number Linum
Menu-Bar Mouse-Wheel Popwin Recentf Show-Paren Smartparens
Smartparens-Global Tooltip Transient-Mark

from spacemacs-rocks.

 avatar commented on May 24, 2024

@ziyuanjun 我觉得你也需要检查下配置文件诶 一句句敲可能会敲错的,之前我全部都是自己敲的然后发现不对的时候就直接拷贝粘贴师傅的配置,然后就好了... @zilongshanren 师傅,我回 S 国了,可以更新文字版啦。

from spacemacs-rocks.

zilongshanren avatar zilongshanren commented on May 24, 2024

@ziyuanjun

在你的配置里面添加 : (setq only-global-abbrevs t) 就好了。

from spacemacs-rocks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.