在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:spacemacs开源软件地址:https://gitee.com/mirrors/spacemacs开源软件介绍:philosophy|for whom?|screenshots|documentation|contribute|achievements|FAQ Quick Install: This assumes you don't have an existing Emacs setup and want to run Spacemacs asyour config. If you do have one, look atthe full installation instructions for other options.
Table of Contents
IntroductionSpacemacs is a new way of experiencing Emacs -- it's a sophisticated andpolished set-up, focused on ergonomics, mnemonics and consistency. Just clone and launch it, then press the space bar to explore the interactivelist of carefully-chosen key bindings. You can also press the home buffer's Spacemacs can be used naturally by both Emacs and Vim users -- you can even mixthe two editing styles. Being able to quickly switch between input styles, makesSpacemacs a great tool for pair-programming. Spacemacs is currently in beta, and any 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 Last but not least there are a lot of high class tutorials available on YouTube:
PrerequisitesSpacemacs is an extension of a popular text editor called Emacs. Thus you needto first install base Emacs and then download the Spacemacs extension files withGit. EmacsSpacemacs requires Emacs 27.1 or above. The development version of Emacs is notofficially supported, but it should nevertheless be expected to work. Some modes require third-party tools that you'll have to install via yourfavorite package manager. Linux distrosInstall the Do not install the Emacs has graphical support. Note: Some linux distributions support only emacs versions older than 27.1.In this case you should built from source instead. macOSInstall emacsUsing emacs-plusbrew tap d12frosted/emacs-plus# to install Emacs 27brew install emacs-plus@27 --with-spacemacs-icon# or to install Emacs 28brew install emacs-plus@28 --with-spacemacs-iconbrew link emacs-plus Using emacs-macbrew tap railwaycat/emacsmacportbrew install emacs-macbrew link emacs-mac Using caskHomebrew now recommends to use the cask version with the following message:"Please try the Cask for a better-supported Cocoa version". To install the caskversion: brew install --cask emacs This installs a pre-built package from https://emacsformacosx.com/ Other waysIf you're not comfortable with the ways mentioned above, thenEmacsWiki lists downa few ways to install Emacs for macOS. Install Source Code Pro fontOnce Emacs is installed, run the following commands in the terminal to installthe default Source Code Pro font: brew tap homebrew/cask-fontsbrew install --cask font-source-code-pro Install Spacemacsgit clone https://github.com/syl20bnr/spacemacs ~/.emacs.d Notes:After completing the Spacemacs install process, then it's alsorecommended to add the osx layer to your dotfile. Installationinstructions are available in the documentation for the osx layer. Depending on the installed version of GnuTLS securely installing emacspackages may fail. In this case it is possible to install using You might also have some issues when doing some search on your projects, youprobably want to install GNU ripgrepthrough homebrew: brew install ripgrep WindowsDownload the official 64-bit (x86_64) stable builds from the GNU FTP. You'll also need Install Spacemacs in WindowsBy default Emacs looks for the
Notes
InstallDefault installation
Notes:If you are behind a firewall or similar and you get an error regarding packagedownloads then you may try to disable the HTTPS protocol by starting Emacs with emacs --insecure but this should be a last resort because of the security implications. You can set the
If the mode-line turns red then be sure to consult the FAQ. Alternative installationsThere are currently, two supported, alternative locations, for a Spacemacsconfiguration. Modify HOME environment variableThis solution is ideal for quickly trying Spacemacs without compromising yourexisting configuration. Clone Spacemacs outside the Emacs dotdirectory mkdir ~/spacemacsgit clone https://github.com/syl20bnr/spacemacs.git ~/spacemacs/.emacs.dHOME=~/spacemacs emacs Note: If you're using the Fish shell, then you'll need to modify the lastcommand to: Modify spacemacs-start-directory variableThis solution is better suited to "embed" Spacemacs into your own configuration.If you've cloned Spacemacs into (setq spacemacs-start-directory "~/.emacs.d/spacemacs/")(load-file (concat spacemacs-start-directory "init.el")) Spacemacs logoFor Linux users, create For macOS users, you need to download the .icns version of the logo,then change the logo on the Dock. UpdateSpacemacs supports two different update schemes, the default is a rolling update scheme basedon the latest version of packages available. This version can be found on the The second depreciated one is a fixed version scheme which is based on a stable setof packages. This version can be found on the Rolling update (on develop)
Automatic update (on master branch)When a new version is available then a little arrow appears in the mode-line. Its color depends on the number of versions that have been released since yourlast update. Green means that you have a recent version, orange and red meansthat you have an older version. Click on the arrow to update Spacemacs to the latest version. Manual update (on master branch)Remove the git fetchgit reset --hard <tag version which you are updating to> Revert to a specific version (on master branch)To revert to a specific version, just checkout the corresponding branch. Forinstance to revert to version git checkout origin/release-0.200 After updating Spacemacs (either manually or automatically), then you alsoshould check if any updates are available for your packages. On the SpacemacsHome Buffer SPC b h, click (press RET) on the Quotes«I feel that spacemacs is an aircraft carrier and I am playing table tennison 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 to dateand to propose great and useful configurations for all the things! Before contributing be sure to consult thecontribution guidelines and conventions. CommunitiesSpacemacs EverywhereOnce you've learned the Spacemacs key bindings, you can use them in other IDEs/tools, thanks to the following projects:
LicenseThe 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 aCreative 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, then you can contribute toBountysource, or buy a drink for the maintainer by clicking on thePaypal badge. If you used spacemacs in a project, and you want to show that fact, you can usethe spacemacs badge:
Thank you! |
请发表评论