在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:spacemacs开源软件地址:https://gitee.com/coeuvre/spacemacs开源软件介绍:philosophy|for whom?|screenshots|documentation|contribute|achievements|FAQ ******Quick Install: git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d Table of Contents
IntroductionSpacemacs is a new way to experience Emacs -- a sophisticated andpolished set-up focused on ergonomics, mnemonics and consistency. Just clone it, launch it, then press the space bar to explore theinteractive list of carefully-chosen key bindings. You can also pressthe home buffer's Spacemacs can be used naturally by both Emacs and Vim users -- you caneven mix the two editing styles. Switching easily between input stylesmakes Spacemacs a great tool for pair-programming. Spacemacs is currently in beta, and contributions are very welcome. Features
DocumentationComprehensive documentation is available for each layer by pressingSPC h SPC. You can also check the general documentation,quick start guide and the FAQ. Getting HelpIf you need help, ask your question in the Gitter Chat and a member of thecommunity will help you out. If you prefer IRC, connect to the Gitter Chat IRC server and join the PrerequisitesEmacsSpacemacs requires Emacs 24.4 or above. The development version of Emacs (at thetime of writing, this is 25.2) is not officially supported, but shouldnevertheless be expected to work. Some modes require third-party tools that you'll have to install via yourfavorite package manager. Linux distrosInstall Emacs from the package manager of your Linux distribution. You should install the "emacs" package, not the "xemacs" package.XEmacs is an old fork of Emacs. The X in its name is unrelated to X11.Both Emacs and XEmacs have graphical support. Note: Ubuntu LTS 12.04 and 14.04 repositories have only Emacs 24.3available. You have to build from source Emacs 24.4 or greater,as Spacemacs won't work with 24.3. The same may be true for other distributionsas well. macOSThe recommended way of installing Emacs on macOS is using homebrew: $ brew tap d12frosted/emacs-plus$ brew install emacs-plus$ brew linkapps emacs-plus Note: these homebrew commands will install GNU Emacs, and link it to your Note: the proposed Note: after you have completed the install process below, it isalso recommended to add the osx layer to your dotfile. Installinstructions are available in the osx layer documentation. Note: if the powerline separators on the spaceline are a different (lesssaturated) color than the rest of the line, you can add following snippet to (setq ns-use-srgb-colorspace nil) Keep in mind that this is not ideal solution as it affects all colours in Emacs.Another option is to use different powerline separator. For example, (setq powerline-default-separator 'utf-8) For more information about powerline separators, please refer to appropriatesection in Documentation. WindowsYou can download good quality builds from the emacs-w64 project.It is recommended to install the most recent stable build. Be sure to declare a environment variable named Sometimes you'll get the following error when you first start Emacs: The directory ~/.emacs.d/server is unsafe To fix it change the owner of the directory
Source: Stack Overflow For efficient searches we recommend to install InstallDefault installation
If the mode-line turns red then be sure to consult the FAQ. Alternate installationsIt may be useful to clone Spacemacs outside Emacs dotdirectory Modify HOME environment variableThis solution is ideal to quickly try Spacemacs without compromising yourexisting configuration. mkdir ~/spacemacsgit clone https://github.com/syl20bnr/spacemacs.git ~/spacemacs/.emacs.dHOME=~/spacemacs emacs Note: If you're on Fish shell, you will need to modify the last command to: Modify spacemacs-start-directory variableThis solution is better suited to "embed" Spacemacs into your own configuration.Say you cloned Spacemacs in (setq spacemacs-start-directory "~/.emacs.d/spacemacs/")(load-file (concat spacemacs-start-directory "init.el")) Spacemacs logoFor Ubuntu users, follow this guide tochange the logo in Unity. For Mac users, you need to download the .icns version of the logo,then change the logo on Dock. UpdateSpacemacs has a built-in notification of a new version when you are on the Automatic update (on master branch)When a new version is available a little arrow appears in the mode-line. Its color depends on the number of versions available since your last update.Green means that your current version is recent, orange and red mean that yourcurrent version is older. Click on the arrow to update Spacemacs to the last version. Manual update (on master branch)(Remove the angle brackets when typing the lines below into your shell.) git fetchgit reset --hard <tag version which you are updating to> On develop branch
Revert to a specific versionTo revert to a specific version you just have to checkout the correspondingbranch, for instance to revert to the last git checkout origin/release-0.103 After you update, either manually, or automatically, you are advised to updateyour packages by clicking the Quotes«I feel that spacemacs is an aircraft carrier and I am playing table tennis on the deck as a freerider.» «I LOVE SPACEMACS AND MAGIT That is all» ContributionsSpacemacs is a community-driven project, it needs you to keep it up todate and propose great and useful configuration for all the things! Before contributing be sure to consult thecontribution guidelines and conventions. Here is a throughput graph of the repository for the last few weeks: CommunitiesLicenseThe license is GPLv3 for all parts specific to Spacemacs, this includes:
For the packages shipped in this repository you can refer to the files header. Spacemacs logo by Nasser Alshammari released under a Creative Commons Attribution-ShareAlike 4.0 International License. Supporting SpacemacsThe best way to support Spacemacs is to contribute to it either by reportingbugs, helping the community on the Gitter Chat or sending pull requests. You can show your love for the project by getting cool Spacemacs t-shirts, mugsand more in the Spacemacs Shop. If you want to show your support financially you can contribute to Bountysource or buy a drink for themaintainer by clicking on the Paypal badge. If you used spacemacs in a project and you want to show that fact, you can usethe spacemacs badge:
Thank you! |
请发表评论