Commit graph

1008 commits

Author SHA1 Message Date
Diego Berrocal 1b0b7371a5 ipython layer
You asked for it :) This is very trivial still ;_;
2015-06-07 23:19:03 -04:00
JP-Ellis a4b5a22fb3 Fix a couple of typos.
Also, I think it best to not automatically enable electric sup- and
sub-scripts as they can be quite annoying to some people (but amazingly
useful to some others).  Perhaps it is best to leave these two with the
AucTeX default and let users enable them in their config?

Signed-off-by: JP-Ellis <coujellis@gmail.com>
2015-06-07 23:17:30 -04:00
syl20bnr 1f4de8fe85 osx : remove duplicated key bindings to scale font 2015-06-07 23:11:44 -04:00
zimbatm 07699ca730 Map the usual cmd keys for font scaling
s-= to scale up
s-- to scale down
s-= to reset
2015-06-07 23:10:41 -04:00
Jenan Wise 0bc9dd45c9 Add "mga" shortcut to go mode for switching between test and non-test file.
The same shortcut was chosen as that in the c/c++ package.
2015-06-07 23:01:15 -04:00
syl20bnr 60a50e6733 Rename auctex layer to latex and move it to !lang 2015-06-06 00:46:47 -04:00
syl20bnr 4f8c2a61ed auctex layer: refactor layer
- remove redundant layer variables
- move hooks to post-init functions
- sort key bindings
- move variable definition to :init to be overridable
- lazy load auctex-latexmk
2015-06-06 00:31:07 -04:00
JP-Ellis cfcce3efa7 A few improvements to AucTeX:
- Move function definitions from inside package.el to funcs.el;
- Add a few variables to allow some configuration with .spacemacs;
- Enable RefTeX support;
- Move key-binding-prefixes to config.el (similar to git layer);
- Use auto-fill-mode, with a environment-aware auto-fill function;
- Provide a few additional sane defaults (some of the more "annoying"
  ones are configurable from .spacemacs)
- Remove `build-view` in favour of just `build` as it seemed to be
  broken and introduce `SPC m v` to view;
- Add support to LatexMk.

!squash Added auctex-reftex-plugin variable.

Signed-off-by: JP-Ellis <coujellis@gmail.com>
2015-06-05 23:31:41 -04:00
syl20bnr 0a0b529c9b erlang-elixir layer: add elixir key bindings to README 2015-06-03 21:36:05 -04:00
syl20bnr f87945bc52 Add spacemacs-theme 2015-06-03 00:38:45 -04:00
syl20bnr af743bd4f4 osz layer: update README with last key bindings 2015-06-03 00:16:30 -04:00
syl20bnr fb3c4dd608 rust layer: fix flycheck setup 2015-06-02 23:18:31 -04:00
Swaroop C H e4725070c0 rust layer: Add flycheck-rust package 2015-06-02 23:00:27 -04:00
Tu Do da85d514fc Enable GDB many windows
gdb-many-windows enables an IDE like debugger frontend for Emacs.
2015-06-02 22:59:45 -04:00
Josh Greenwood 94a42afc45 Adds OSX command +/- keybindings for font scaling 2015-06-02 22:58:42 -04:00
ralesi 97985c6cb9 fix autothotkey mode bindings 2015-06-02 22:55:13 -04:00
Josh Greenwood 85721d7fc0 Adds install instructions to gnus contrib README 2015-06-02 22:54:39 -04:00
Kirill Kulikov a1c6fc91f0 Configures the classpath directory for the ensime server
Configures the directory to store the calculated classpaths for the
ensime server. By default it creates `ensime` folder in `.emacs.d/`.

https://github.com/ensime/ensime-emacs/pull/135
2015-06-02 22:53:43 -04:00
Brian Hicks 9852e225d6 yasnippet: default helm-yas-display-key-on-candidate to t 2015-06-02 22:52:59 -04:00
Tu Do 7299cc59b6 [Fix #1813] Insert tab in Python REPL
Currently, when tab is pressed, spaces are inserted. It makes Python
REPL unable to recognize code indentation. We must use tab to indent.
Setting indent-tabs-mode is buffer local, so it does not affect its
value in other buffers.
2015-06-02 22:43:25 -04:00
syl20bnr da1a953878 org layer: move ox-gfm to extensions and add org-enable-github-support
Fixes #1800
2015-06-02 22:06:41 -04:00
syl20bnr dc048726f6 org layer: Fix lazy-loading issue with ox-gfm
Fix the error `Symbol's function definition is void: org-export-dispatch`
2015-06-01 00:12:30 -04:00
syl20bnr 012375839f c-c++ layer: rename default mode for header variable
New name is `c-c++-default-mode-for-headers`, possible values are
`c-mode` or `c++-mode`.
2015-05-31 23:09:27 -04:00
Craig Eales a78c59cf2d Add option to open .h files with c++-mode
Remove default auto-mode-alist mapping from *.h to c++-mode.
Introduce a variable and use that in the init: section of cc-mode to
conditionally update the auto-mode-alist.
Updated the documentation.

Conflicts:
	contrib/!lang/c-c++/README.md
2015-05-31 23:03:00 -04:00
Török Edwin e57c8aa095 ocaml: comment out auto-complete initialization code
to make sure only one completion engine is active
2015-05-31 22:52:05 -04:00
Török Edwin f23aa2b0da ocaml layer: Add key bindings
- enable ocamldoc in company completion
- enable merlin-document binding
- add binding for ML <-> MLI switch
- bind most merlin commands

user visible change:
  printing type at point was moved to SPC mht, and SPC mhT asks for an expression
  SPC mgg/mgG is now consistent with CONVENTIONS.md, and
  SPC mgb can be used to go back(in addition to default C-c &)
2015-05-31 22:51:27 -04:00
Török Edwin ab1a1eae60 ocaml: fix flycheck
but keep it disabled (need to test interaction with auto-complete and company)
2015-05-31 22:48:46 -04:00
Török Edwin 264a3c2019 ocaml: support both auto-complete and company 2015-05-31 22:34:16 -04:00
syl20bnr 4489de827b Now :variables values must be quoted like in setq sexps
Fixes #1596
2015-05-31 20:55:46 -04:00
syl20bnr 4b0c84ebb9 Move SPC p $ t to shell layer 2015-05-31 18:06:35 -04:00
mike-work 872b26e0ed Add company-mode hook for lua 2015-05-31 17:47:35 -04:00
Diego Berrocal 43acc9314f Add Search Engine layer 2015-05-31 17:45:16 -04:00
Tu Do 7f90d99a48 Fix Python and Semantic integration
When no Python executable is detected, Semantic causes an error that it cannot
retrieve include paths from the executable, causing an error that prevents
Python buffer to be switched and error is repeatedly reported whenever a Python
buffer is opened. This commit ignores the error from
semantic-python-get-system-include-path that is called when Semantic setup
itself for a Python buffer.
2015-05-27 23:50:58 -04:00
syl20bnr a514f6f569 Add TODO for python inferior process key bindings 2015-05-27 23:49:19 -04:00
Tu Do ae48bd866b [Fix #1668] Don't enable Vim key bindings if holy-mode 2015-05-27 23:45:13 -04:00
Bjarke Vad 78b39f1f72 ghci-ng for haskell-process-do-type-on-prev-line` 2015-05-27 23:29:08 -04:00
Eivind Fonn 5c0862c4aa Fix smex prompt whitespace 2015-05-27 23:03:35 -04:00
Tu Do fafb9c4b3e Enable company in Python REPL for code completion
- Company should be enabled in Python REPL for displaying completion
candidates. Note that in Python REPL, we must use company-capf to
display the candidates from Python REPL, since in the REPL it uses
completion-at-point to display candidates from the REPL. Also, we
locally set company-minimum-prefix-length to 0, so that completion
starts immediately after the first character. We also need to set the
idle delay a bit higher (0.5) compared with Spacemacs default (0.2),
since setting it too low may cause company unable to retrieve completion
candidates.

- Anaconda should NOT be enabled in Python REPL for retrieving proper
completion candidates. This can be tested in Python REPL: when
anaconda-mode is enabled and without any prefix string before point, run
the command completion-at-point (bound to C-M-i by default), completion
candidates from Anaconda are displayed but NOT the ones from the real
REPL. So, when you import a module i.e. os and try to access the
functions in the module with "os." prefix, nothing inside the module is
displayed because Anaconda does not work in Python REPL. When
anaconda-mode is disabled, candidates in "os." are displayed properly
with company-capf. company-anaconda backend cannot be used in Python
REPL since it is buggy: it cannot retrieve any prefix before point and
narrow properly.
2015-05-25 23:39:05 -04:00
jupl 5d7199a905 Turn on rainbow-delimiters for LESS and SCSS 2015-05-25 23:34:46 -04:00
Tu Do 8ef3b52a9f Explicitly enable yas-minor-mode
yas-global-mode is always enabled to ensure snippets are loaded
properly, but to use the snippets, a major mode must have yas-minor-mode
enabled. This commit ensure such condition happen.
2015-05-25 23:08:59 -04:00
syl20bnr 38b5cf9263 emoji layer: fix lazy loading of emoji-cheat-sheet-plus-buffer 2015-05-25 00:54:34 -04:00
syl20bnr 92064d14c2 Move emoji layer to new category !fun 2015-05-25 00:53:15 -04:00
Tristan Hume eecb250a55 Prefix categories with ! 2015-05-25 00:50:38 -04:00
Tu Do d6b5f596b5 Remove auto change directory in ansi-term
By sending `cd` command, it clears previous shell output. This is only
an issue with ansi-term, not other shells.
2015-05-25 00:46:18 -04:00
syl20bnr 60550b290b Delete obsolete README 2015-05-25 00:45:21 -04:00
syl20bnr 0088b6d689 Remove obsolete comment 2015-05-25 00:44:18 -04:00
syl20bnr b662651595 emoji layer: fix org rendering 2015-05-24 23:38:56 -04:00
syl20bnr 3ff8136d1d shell layer: add support for multi-term
`SPC a s m`
or `set shell-default-shell` to `multi-term` and press `SPC '`
2015-05-24 22:01:26 -04:00
syl20bnr 5e9ceccf23 emoji layer: fix rendering in org buffers
There is still an issue with the first colon that is not invisible
but I guess we can live with it
2015-05-24 20:07:34 -04:00
syl20bnr 0d5ea1b5a4 emoji layer: fix invisible text after emoji image 2015-05-24 19:49:57 -04:00