Commit graph

173 commits

Author SHA1 Message Date
syl20bnr 4a5ec73edf core: add --insecure command line parameter
Will set dotspacemacs-elpa-https to nil. Useful to be able to install
spacemacs in an environment where https is an issue.
2015-12-07 23:10:44 -05:00
syl20bnr 26ecdee0e3 New dotspacemacs variable dotspacemacs-elpa-timeout
Increase timeout from 3 seconds to 5 seconds.
2015-12-06 02:22:49 -05:00
justbur 394fec28e0 keys: Fix an issue with C-i/tab distinction
Before this <tab> => TAB if there is no binding for <tab>, but then
`spacemacs/translate-C-i` turned this into <C-i>, which we don't want
because that would mean having to always bind <tab> when this option is
enabled. This commit adds a check to make sure we can't possibly be
translating from <tab> originally (we only want to capture the C-i
events in the GUI).

Also, fixes C-m translation but leaves it commented.
2015-12-05 13:17:59 -05:00
syl20bnr 855d8f8f44 core: update docsting in dotfile template 2015-12-04 00:28:36 -05:00
justbur 246ebc1a27 core-keys: Enable distinction between C-i and TAB
Added dotfile variable to template and core-dotspacemacs.el

After enabling, if C-i is translated to the "key" <C-i> which allows you
to bind a separate command in the GUI like this

(define-key map [C-i] 'c-i-command)

or this

(define-key map (kbd "<C-i>") 'c-i-command)

This has the side effect of no longer making C-i default to TAB in the
GUI, but will not affect the TAB or <tab> bindings.

Removes spacemacs//handle-terminal-keys
2015-12-04 00:23:10 -05:00
Eivind Fonn c893383fe4 Fix some documentation bugs
- CSS links
- GIFS in published version
- Unify layer doc titles
- Change emoji layer emojis to an image
2015-12-03 23:50:29 -05:00
Fabien Dubosson 028c53fbd7 Create the layer README on create-layer
When using `configuration-layer/create-layer`, the `README.org` file is
not created from the template. This change corrects this.

Close #3259
2015-11-24 23:20:45 +01:00
Eivind Fonn 2918ca2b56 Clean up org loading check 2015-11-23 20:15:09 +01:00
Tony Day 3f72bec69a Added check to catch when org has already been loaded. 2015-11-23 20:11:31 +01:00
syl20bnr 1061adbac9 New variable dotspacemacs-elpa-https
If non nil use HTTPS otherwise use HTTP.
Default is t.
2015-11-18 13:50:30 -05:00
Bar Magal 1a91e3ea14 Home buffer: make number of recent files configurable #2335
Fixes issue #2335
2015-11-15 12:33:23 +01:00
Eivind Fonn bfd0782b24 Update layer readme template 2015-11-13 14:50:54 +01:00
syl20bnr 9290acf058 layouts: new variable dotspacemacs-auto-resume-layouts
If non nil then layouts are automatically resumed upon start.
Also always enable persp-mode (i.e. remove lazy loading of it).

Fixes #3736
2015-11-11 00:59:17 -05:00
syl20bnr 4004f8d383 layouts: split dotspacemacs-default-layout-name into 2 variables
dotspacemacs-default-layout-name is only to set the name
new variable dotspacemacs-display-default-layout controls the display
of the default layout in the mode-line
2015-11-11 00:55:42 -05:00
syl20bnr 9e5e309bf0 dotfile: new variable dotspacemacs-max-rollback-slots
Replaces the old spacemacs-number-of-rollback-slots
2015-11-11 00:14:46 -05:00
syl20bnr 098b173877 Split comments to no go past the 80th column in the dotfile template 2015-11-10 23:49:07 -05:00
Muneeb Shaikh 6b3e82d2d9 Allow customization of the default layout name in mode-line
- Changed dotspacemacs variable
2015-11-09 18:43:05 +01:00
syl20bnr aed1811f76 perspectives: big refactoring
- Rename micro-states to "layouts"
- Rename some functions to include "layout" instead of "perspective"
- cleanup variables
- move functions to funcs.el
- move package specific stuff to post-init functions
- changes key bindings
- micro-state documentation rewrite
- change format of the layouts line in the micro-state doc
- defer loading of persp-mode which loads with `SPC l`
- always display the spacemacs home buffer with no switch
- various fixes
- various new bugs :-)
2015-11-09 00:36:09 -05:00
Eivind Fonn 31a768a172 Update layer README template
With respect to the recent documentation changes
2015-11-04 20:05:37 +01:00
syl20bnr b405752f6c Remove global infix in dotspacemacs-global-line-numbers
I feel that it is not needed because it makes not a lot of sense to
have it non global since it is a dotfile variable.

Also remove ' from the docstring for consistency.
2015-11-03 00:00:55 -05:00
Fabien Dubosson 612c3df265 Introduce 'relative for global-line-numbers
Allow to use 'relative as value for the dotspacemacs-global-line-numbers
setting. This enable relative global line numbers as it is a common
usage.
2015-11-03 00:00:55 -05:00
Muneeb Shaikh db453acbd6 Customizable whitespace-cleanup
- Default: cleanup whitespace on changed lines
2015-10-31 14:16:31 +01:00
Fabien Dubosson c3299f0eca Make linum toggle local and add a variable for global mode
`global-linum-mode` is making line numbers appearing in `*spacemacs*`
and `helm` buffers, what is annoying.

This change make the linum `SPC t n` toggle buffer-local, and add a
customization variable in `.spacemacs` to enable line numbers globally.
«Globally» here as to be understood as «in `prog-mode` and `text-mode`».
2015-10-29 19:30:06 +01:00
Fabien Dubosson f5fb2f654a Correct .spacemacs template's doc and indentation
Change a reference from `spacemacs/config` to the new
`spacemacs/user-config` function. Correct the file indentation.
2015-10-14 00:33:26 -04:00
Eoin Houlihan 1a853d5759 Fix minimize spelling mistake 2015-10-14 00:32:46 -04:00
Eivind Fonn a64e1cf5d0 Document cursor color by state only in GUI
Fix #1944

[ci-skip]
2015-10-05 12:07:45 +02:00
syl20bnr 2cfc9a5a60 dotfile: fix template 2015-09-28 23:41:11 -04:00
syl20bnr 14fd2b48e9 New variable dotspacemacs-remap-Y-to-y$ 2015-09-28 23:09:44 -04:00
Robert O'Connor 2a274767d3 Switch the default distribution to spacemacs
This will cause a lot of confusion for newcomers.
2015-09-19 01:02:51 -04:00
Robert O'Connor 3f2e885811 Rename spacemacs-core to spacemacs-base
Per the discussion in #3002. A comment in #3047 prompted this PR.
2015-09-16 21:22:35 -04:00
syl20bnr 6e0ca23db8 core: set default distribution in template to spacemacs-core
Also remove version-control layer from template and add emacs-lisp
to initial value for dotspacemacs-configuration-layers
2015-09-11 23:00:33 -04:00
syl20bnr 6b33031dc5 core: dotspacemacs-distribution, spacemacs-core layer and rename contrib
- Rename contrib directory to layers
- Add new variable dotspacemacs-distribution
- Move spacemacs layer to layers/!distribution
- New layer spacemacs-core in layers/!distribution
- User can now set dotspacemacs-distribution to spacemacs or
  spacemacs-core (default spacemacs)

spacemacs-core is very lightweight layer sufficient to build upon
spacemacs.
2015-09-07 23:44:43 -04:00
syl20bnr d44b9429dc core: add default value to docstrings in dotfile template 2015-09-07 01:06:29 -04:00
ralesi 2ccb4ab7df Allow specification of helm location. 2015-09-07 01:06:29 -04:00
syl20bnr d11fb1c4a0 core: add variable dotspacemacs-helm-no-header
Hide the helm header whenever there is only one source.
Also correctly set back the default height for headers.
2015-09-07 01:06:29 -04:00
justbur bd8369918b Clean-up which-key dotfile options 2015-09-07 01:06:27 -04:00
Tim Jäger 91057d5986 Switched dotfile options to which-key
Renamed option
Added buffer position option
Updated template
Updated documentation
2015-09-07 01:06:27 -04:00
syl20bnr c688f29738 core: rename dotspacemacs/config to dotspacemacs/user-config
in template dotfile.
Display a warning when dotspacemacs/config is encountered; support for
dotspacemacs/config will be dropped in 0.105.0
2015-08-31 22:02:43 -04:00
justbur 51022543a8 Add tests for correctness of .spacemacs
Note this makes a critical (but backwards compatible) change
to .spacemacs.template
2015-08-31 21:26:03 -04:00
ralesi 4d96e652ad Set up resize setting to enable auto-resize for helm. 2015-08-30 23:54:11 -04:00
Christopher McCloud 09de9ba86c adds helm-find-contrib and helm-find-spacemacs.
Set as default unless user has dotspacemacs-use-ido t.
Adds comments to .spacemacs.template informing users of new behavior
tied to dotspacemacs-use-ido.
2015-08-26 21:38:01 -04:00
syl20bnr 6e2bbd2979 Put spell-checking as default in dotfile template 2015-08-13 23:01:44 -04:00
justbur 16cb070acb Add hybrid-mode 2015-08-13 01:37:03 -04:00
person808 640366e9ae Add spacing conventions for writing documentation.
These were briefly discussed in #2124.
2015-07-27 12:11:52 -04:00
syl20bnr 0ad99623a4 Add "any" value for dotspacemacs-highlight-delimiters 2015-07-23 20:41:52 -04:00
nashamri 4c6bc0d81e Make spacemacs-theme the default theme (dark variant)
Remove the spacemacs-theme extension from spacemacs layer
Add spacemacs support to the core
2015-07-04 23:31:52 -04:00
kccai e961bd04b3 Fix typos. 2015-06-30 23:01:50 -04:00
syl20bnr cd70f04827 Refactor auto-save of files
See committed documentation.
2015-06-18 23:54:07 -04:00
Tu Do 4a19bd9d33 [Fix #1453] Re-enable auto-save-mode
- Re-enable
- Move all autosave files to spacemacs-cache-directory
- Allow Auto-saving directly on current buffer.
- Add option to customize.
- Update .spacemacs template.
2015-06-18 23:13:26 -04:00
person808 293b98a8d0 Update layer-README.template to org. 2015-06-14 21:47:02 -04:00
syl20bnr cddb83883e Add version-control layer by default to dotfile template 2015-06-10 00:01:31 -04:00
syl20bnr f87945bc52 Add spacemacs-theme 2015-06-03 00:38:45 -04:00
Keshav Kini 696f2d461a Use weirder-looking templating variables
It's important to make templating variables something unique-looking so
that you don't accidentally write template variables where you don't
mean to.  For example, in extensions.template, "package names go here"
was being replaced with "package <name of package>s go here", etc.
Also Search case-insensitively for good measure
2015-06-02 22:50:51 -04:00
syl20bnr 549b18a97e New dotfile variable dotspacemacs-use-ido 2015-05-31 21:48:16 -04:00
syl20bnr d26b7f2c52 Disable paste micro-state by default 2015-05-31 17:52:55 -04:00
person808 3a2594e6bc Update layer templates. 2015-05-27 23:07:45 -04:00
syl20bnr 640aad0a82 Cleanup dotfile template 2015-05-27 16:09:56 -04:00
syl20bnr d681234a71 new layer: shell 2015-05-20 22:40:25 -04:00
syl20bnr f09251f9c8 Update comments in dotfile template for default layers 2015-05-09 12:04:43 -04:00
syl20bnr 36eca4419b New layer: emacs-lisp 2015-05-07 00:13:13 -04:00
person808 ab6a987d96 Fix typos in .spacemacs template. 2015-04-27 23:29:44 -04:00
syl20bnr 3b1a4e328e Move release notes and quickhelp to core/info directory 2015-04-22 22:30:00 -04:00
MadAnd 6a9225299d Fix typo 2015-04-21 01:50:31 -04:00
syl20bnr 5930597e50 New variable: dotspacemacs-additional-packages
Adding packages to this list will install them without
needing them to be wrapped in a layer.
Ideal for niche languages of any package that don't need
any configuration.
2015-04-21 00:33:23 -04:00
Tu Do 55f1207133 Improve Startup buffer
- Modularize and add quickhelp button
  Split the current hardcoded release note display functions into smaller
  reusable functions. Then reuse it for creating quickhelp button.
- fix: bind widget-button-click to left mouse click
  widget-button-press is for keyboard and binding it to a left mouse
  button is not suitable. The clicks on buttons are often ignored. Use the
  proper widget-button-click.
- Since this is develop, point it to 0.102.x
- Beautify org CHANGELOG
  Setting org-indent-mode hides the leading stars of all Org headers except
  the last one just enough to indicate indentation, which make it easier
  to read. Also, put it in read-only-mode so user don't accidentially mess
  up his reading material.
  Also put the CHANGELOG in view-mode for reading and navigating read-only
  content.
- Add Evil and Emacs tutorial buttons to quickhelp
  So it is even easier for first time users.
  Also refactor spacemacs-buffer//insert-release-note:
  - Change it to spacemacs-buffer//insert-note
  - Just insert content. Widgets are optional
  - Insert different widget from the two functions
    spacemacs-buffer//insert-quickhelp-widget and spacemacs-buffer//insert-release-note-widget
- Put the cursor on the quickhelp button
  So that users can start using it immediately. New users only knows RET
  to press a button and learn the rest there.
- Add m to jump back to top menu
  Also update the quickhelp content.
2015-04-19 02:04:42 -04:00
syl20bnr ff4a207cb9 Add dotspacemacs-highlight-delimiters to dotfile template 2015-04-19 01:17:38 -04:00
syl20bnr aabdc1882c Replace defvar with setq for pre and post extensions variables 2015-04-18 23:57:27 -04:00
syl20bnr fdd4e944ef Reload dotfile and layer anywhere with SPC f e R
Replace `SPC m c c` and `C-c C-c` in the dotfile

Resolve #1210
2015-04-18 23:40:24 -04:00
syl20bnr 71b68500d0 New dotfile variable dotspacemacs-search-tools
Default list is `("ag" "pt" "ack" "grep")
Resolve #1158
2015-04-14 22:23:57 -04:00
syl20bnr 5e44e68ed9 Comment default layers in template and add a comment 2015-04-13 02:28:39 -04:00
syl20bnr 9f182c53b9 Add better-defaults layer in dotfile template
resolves #1108
2015-04-11 14:52:42 -04:00
Carl Lange 4c42247287 Add toggle change log (WIP) 2015-04-11 10:52:05 -04:00
syl20bnr 6844ff9fed New layer: org 2015-04-11 00:13:02 -04:00
syl20bnr a4919b3eda New layer syntax-checking
Move flycheck
2015-04-10 22:23:16 -04:00
syl20bnr f72088e74b Add variable dotspacemacs-verbose-loading
By default to nil.
Can speedup the loading process.
2015-04-05 23:45:02 -04:00
syl20bnr 4c905218ce Fix default layer in dotfile template 2015-04-04 23:38:02 -04:00
Carl Lange fbade22319 add default layers 2015-04-04 23:37:36 -04:00
syl20bnr f42b686f4c Fix and tweaks for startup lists 2015-04-02 00:12:19 -04:00
Carl Lange d478955481 Startify stuff 2015-04-02 00:03:06 -04:00
syl20bnr 2acb2cc45e Wizard like install of dotfile with universal argument 2015-03-30 22:18:32 -04:00
Tu Do c278b58a0b Ask user editing style when creating .spacemacs file 2015-03-30 19:18:36 -04:00
syl20bnr ea4258d5e5 Emacs style leaders are now on M-m and C-M-m
Leader: `M-m`
Major mode leader: `C-M-m` (alternate to `M-RET` since `C-m` has
the same ASCII code then `RET`).

Resolve #917
2015-03-23 19:09:23 -04:00
syl20bnr 382eca2dbc holy-mode: you know what? Move leaders on M-n and M-m
:-)
2015-03-23 01:37:28 -04:00
syl20bnr 8e7f990d39 holy-mode: move leaders on M-1 (leader) and M-0 (major mode leader) 2015-03-23 01:16:20 -04:00
syl20bnr c35a4ff983 holy-mode: Move leader on C-; and major mode leader on C-' 2015-03-22 23:57:08 -04:00
syl20bnr 7ac6c8a8be First try for an holy-mode 2015-03-19 00:30:29 -04:00
syl20bnr 0052466422 Add official logo to startup page 2015-03-12 23:55:38 -04:00
syl20bnr 7b3a9c62a3 Add dotspacemacs-enable-paste-micro-state (default to t) 2015-03-09 20:57:58 -04:00
syl20bnr a9aa68fff3 Improve robustness of image banner feature
Check for support for PNG image format
Fallback on text banner if the PNG file cannot be displayed or
the path is wrong
2015-03-08 22:09:09 -04:00
syl20bnr a5d4e9e7fe Add documentation in dotfile template about disabling , shortcut
Ref #772
2015-03-07 22:24:42 -05:00
syl20bnr 687204183a Add dotspacemacs major mode 2015-03-01 12:49:39 -05:00
syl20bnr 8aeb6e24c0 Move dotfile layer and settings declaration in their own functions
layers declaration are now in `dotspacemacs/layers` function
settings are now part of the `dotspacemacs/init` function
2015-02-28 23:33:57 -05:00
syl20bnr 5046d45585 Add variables dotspacemacs-colorize-cursor-according-to-state
and `spacemacs-evil-cursor-colors`
2015-02-24 00:41:50 -05:00
syl20bnr 96723eb7eb Update wrong code snippets in READMEs 2015-02-17 22:36:12 -05:00
Nate Wolfe d07a3c46ed Fix typo "orhpan" -> "orphan" in "dostpacemacs-delete-orphan-packages" 2015-02-17 22:19:57 -05:00
syl20bnr 97bb568360 Add variable dotspacemacs-loading-progress-bar
Default is t
2015-02-15 21:25:12 -05:00
syl20bnr 94122defaf Add special value `add support for dotspacemacs-configuration-layers 2015-02-14 22:15:25 -05:00
syl20bnr 6a4c533b44 Add variable dotspacemacs-delete-orphan-packages 2015-02-14 22:03:30 -05:00
syl20bnr d9886af28e Minor documentation fix in dotspacemacs template 2015-02-07 20:05:24 -05:00
syl20bnr 5e5ac36bba Add helm micro-state on TAB 2015-02-04 22:35:36 -05:00