Commit graph

3478 commits

Author SHA1 Message Date
Török Edwin
f0e98c2113 VIMUSERS.org: remove space before closing ~, otherwise it is not highlighted 2015-06-11 21:31:42 -04:00
Tu Do
2231677654 Update title for Helm Spacemacs Documentation
- Don't need to add "Helm".

- Add some info to quickhelp.

- Increase the line-width of org-kbd to 2 to make it more visible as a
  button.
2015-06-11 21:31:42 -04:00
Diego Berrocal
be73bb4edf Change VIMUSERS first headline to use toc-org package
As this includes 4 levels of headings, the tag that needs to be used is
:TOC@4:. Now every time one saves this file, the TOC is automatically
generated. There is an interesting feature from toc-org that enables
users to use org links or GitHub enabled
[links](https://github.com/snosov1/toc-org#use)
 we should discuss how to use it because on one hand, having org links
 makes it easier to read in emacs, while having GitHub links makes it
 easier to read online.
2015-06-11 21:31:41 -04:00
syl20bnr
02429064fd Update change log 2015-06-11 10:17:50 -04:00
syl20bnr
5363922d5a Move desktop-mode config to :config 2015-06-10 00:25:40 -04:00
person808
c9fe92215e Change default desktop save location.
Make use of the .cache directory instead of defaulting to ~/.emacs.d or
the home directory.
2015-06-10 00:22:45 -04:00
Tu Do
4c79f5eafc Give titles for documents in SPC f e h
Since Helm can candidates can also be a alist of '(DISPLAY . REAL),
where DISPLAY is the text to be displayed for a candidate when it is
listed and REAL is the actual object DISPLAY is presenting, we can use
this feature to give appropriate document titles instead of using raw
file names.

This commit also changes the way we create document source: instead
defining an alist, we properly create it with `helm-build-sync-source`,
similar to how Helm Projectile does it.

Also, we do not need to sort the file list getting from the doc/
directory just reverse the list.
2015-06-10 00:22:17 -04:00
syl20bnr
173894f3cd Move file encoding code into a function 2015-06-10 00:21:20 -04:00
ralesi
a1da94ee64 Powerline shows file encoding 2015-06-10 00:13:34 -04:00
Eivind Fonn
f9771fce4e Fix erc-track-mode in modeline 2015-06-10 00:13:24 -04:00
Diego Berrocal
828ec61aa5 Mention ERC-yank feature and make it optional 2015-06-10 00:07:56 -04:00
syl20bnr
cddb83883e Add version-control layer by default to dotfile template 2015-06-10 00:01:31 -04:00
syl20bnr
19a7cbf836 Update change log 2015-06-09 23:49:30 -04:00
syl20bnr
b3fa604237 Split git layer into git and github layers 2015-06-09 22:42:11 -04:00
syl20bnr
539f98869c Move git and perforce layer to !source-control directory 2015-06-09 22:20:33 -04:00
syl20bnr
21b551beee new layer: version-control, move vc related packages to it
That is `diff-mode` and `diff-hl-mode`
2015-06-09 22:19:52 -04:00
syl20bnr
afa3e21d81 git layer: enable diff-hl-mode globally and use margin in the terminal
Also display on the left side in the terminal (right side seems to be
buggy when frame is split)
2015-06-09 21:07:56 -04:00
Tu H Do
8a839f4e81 Replace git-gutter with diff-hl
Since both offer the same functionality, but except for staging hunk but
it works only with Git anyway.

diff-hl has the advantage that it is usable with left/right fringes and
margin in a single package. Also it does not have the bugs that
git-gutter is having.
2015-06-09 20:39:14 -04:00
Tu Do
cfaa6edc19 Enhance viewing Spacemacs documents in Org
- Use `~` marker to represent key bindings. The `~` and `=` markers are
equivalent in Emacs: `=` uses `org-verbatim verbatim` faces, while `~`
uses `org-code verbatim)`, but both `org-verbatim` and `org-code` is
inherited from `shadow` face. So we can use `~` marker for this purpose.
`~` marker is also displayed properly on Github, since it's part of
standard Emacs, so no web functionality is broken.

- Add org-kbd face for displaying key bindings.

- Update CHANGELOG.org: use the proper `~` marker for key bindings.

- Update VIMUSERS.org: use the proper `~` marker for key bindings.
2015-06-09 20:36:19 -04:00
syl20bnr
7104613749 eyebrowse: add tag support to micro-state 2015-06-09 20:35:31 -04:00
Ryan Phillips
24b58e7c8b add new eyebrowse bindings 2015-06-09 19:58:53 -04:00
Christoph Paulik
3439bbb5ed move keybindings to leader, fix typo in README 2015-06-09 19:58:43 -04:00
Christoph Paulik
42ac365b54 evilify helm-ag and helm-grep buffers 2015-06-09 19:53:29 -04:00
Diego Berrocal
c969555b50 Add toc-org (analog of markdown-toc) package
Add support for toc-org
2015-06-08 23:55:32 -04:00
Tu Do
41d41937e1 Enhance Org viewing experienced with SPC f e h
Reuse spacemacs/open-file that is used for viewing the Change Log when
the opened file is an Org file. It means the following things:

- The document is in `view-mode` just for reading, as it should be, so
user won't mess things up while reading their doc.

- After PR #1902 is merged, it enhances reading experience.
2015-06-08 23:48:27 -04:00
Tu Do
bd0ff9b5bd Beautify Chanelog buffer
By locally set org-hide-emphasis-markers, we can hide markers like
= or * to enable a smoother reading experience.
2015-06-08 23:48:17 -04:00
syl20bnr
b190f3c951 Update change log 2015-06-08 23:47:47 -04:00
syl20bnr
31fe9ee7b0 elixir layer: add company support 2015-06-08 23:28:27 -04:00
syl20bnr
19ea540c67 Split Erlang and Elixir into their own layers
Simplify the Erlang layer to make it basic by removing EDTS
2015-06-08 23:27:15 -04:00
syl20bnr
b35b35feeb Lazy add enh-ruby-mode to company-dabbrev-code-modes 2015-06-08 02:18:14 -04:00
Diego Berrocal
4401b2bd34 Add JIT load for spacemacs snippets at startup
It seems that there is a weird issue with the loading of snippets, the
same goes to snippets in the private directory.
2015-06-08 02:11:34 -04:00
uuplusu
6eb2a37f1b latex layer: Change layer name from autex to latex
in install/build/auto-fill sections
2015-06-08 01:16:48 -04:00
MadAnd
cb31b1f6d7 evil-snipe: update packages.el
Update config to conform with upstream plugin changes.

Conflicts:
	contrib/!vim/evil-snipe/packages.el
2015-06-08 01:14:28 -04:00
Tristan Hume
a883a61f3a Better default behaviour in enh-ruby-mode 2015-06-08 01:04:05 -04:00
Bjarke Vad
10308ffd2a [Haskell] Added company-cabal support for auto-completion in .cabal files 2015-06-08 01:02:09 -04:00
Allen Li
14cc4f09a5 Evilify ledger report mode 2015-06-08 01:01:21 -04:00
Tu Do
b602eb0dd0 Fontify code in org-block
Org look prettier when source code block is fontified by its major mode,
instead of a plain gray of `org-block` face.
2015-06-08 01:00:58 -04:00
Diego Berrocal
7d53585795 Add Spacemacs Snippets
There are many stuff that we have in spacemacs which are creating new
layers and also creating micro-states. This Snippets try to help with
the process (the micro-state is a work in progress).

I also set the binding `C-s-/` to `(yas-next-field-or-maybe-expand)`
because `tab` doesn't have the behaviour I quite want (to be able to
expand a snippet like (defun) inside the new-package snippet and still
be able to continue in the outer snippet afterwards. With `tab` this
is *not* possible, but with `C-M-/` it *is*.

Changed variable name

Changed keybinding

Renamed snip-dir to spacemacs-snippets-dir

Moved `setq` outsidde of inizialization function, and the keybindning
too
2015-06-08 00:59:44 -04:00
Tu Do
0c92467eba [Fix #1512] Don't enable smartparens when expanding snippets
Otherwise the snippets will be messed up when expanding with
hippie-expand.
2015-06-08 00:58:56 -04:00
ralesi
f1268fa7f5 improve powershell bindings 2015-06-08 00:36:08 -04:00
syl20bnr
040acbcb34 clojure layer: sort key bindings 2015-06-08 00:30:40 -04:00
DayoOliyide
64d2a6ec25 Added keymapping for cider's eval and replace 2015-06-08 00:26:05 -04:00
ptb
d875419792 Re-enable dotspacemacs-startup-banner nil option
Appears that commit 7a4a9724, disabled the dotspacemacs-startup-banner nil option.
2015-06-08 00:25:07 -04:00
Tu Do
dbce0dd34a Revert C-o binding in holy-mode
The current key binding shadows many other built-in modes and packages,
not just Dired. It is far too intrusive. We better go back to default.
2015-06-08 00:23:52 -04:00
Daan van Berkel
b856ccd87c correct helm link
The link to helm was defunct, i.e. `[helm][]` with a missing `[helm]` reference. There was a `[helm-link]` instead so I referenced that.
2015-06-08 00:23:31 -04:00
Max Veytsman
f127b70a44 Updated osx keybindings
- Copy and paste now uses emacs commands
- `s-a` selects all
- `s-w` closes the window not the buffer
- `s-W` closes the frame

Conflicts:
	contrib/osx/keybindings.el
2015-06-08 00:22:57 -04:00
Tu Do
c773d11aee [FIX] Add key binding for exit src buffer in Org for Emacs user
We add this key mapping because an Emacs user can change
`dotspacemacs-major-mode-emacs-leader-key' to `C-c' and the key binding
C-c ' is shadowed by `spacemacs/default-pop-shell', effectively making
the Emacs user unable to exit src block editing.
2015-06-08 00:20:54 -04:00
Uri Sharf
1178e18f05 Refine system and feature detection
Conflicts:
	contrib/osx/keybindings.el
2015-06-08 00:13:16 -04:00
Uri Sharf
bd54e0f394 Add reveal-in-finder in osx contrib layer 2015-06-08 00:12:12 -04:00
Uri Sharf
cb2b32a85a Only update dired-use-ls-dired if gls was found on path 2015-06-08 00:07:32 -04:00