Commit graph

435 commits

Author SHA1 Message Date
Tu Do
fe51de1637 Fix key binding for Elisp format sexp
It should be "mfs" to better synergize with srefactor-lisp-format-sexp.
2015-05-09 12:02:53 -04:00
syl20bnr
37e515a57c TypeScript layer: tweak layer
- remove not necessary binding for flymake
- adapt key bindings to conventions
- minor reformat of README.md
2015-05-08 00:16:26 -04:00
Chris Bowdon
f9fa443f83 Add TypeScript configuration layer 2015-05-07 23:44:35 -04:00
syl20bnr
68e8b3e524 Tweak conventions for markup languages
- Replace `SPC h h` and `SPC h H` for `SPC h i` and `SPC h I`
- Replace `SPC r` prefix for `SPC x`
- Replace `SPC x SPC` for `SPC x r`
- Sort key bindings alphabetically
2015-05-07 23:08:52 -04:00
Christoph Paulik
ed861cf0ff Create conventions for markup languages 2015-05-07 22:17:45 -04:00
Christoph Paulik
7b6678efd6 Org markdown: Improve consistency of key bindings for markup language 2015-05-07 22:17:01 -04:00
Diego Berrocal
f51d006672 Add more pairs to sp-local-pair in web-mode
Supporting in this way more templating modes...We could grab all these
from web mode itself.
2015-05-07 00:54:10 -04:00
syl20bnr
18762615ae Actually add the emacs-lisp folder :-) 2015-05-07 00:31:13 -04:00
Jean-Christophe Petkovich
4a9083a109 Fix package loading in lang/ess
Originally `load-ess-on-demand` used `use-package` for the purposes of
actually loading `ess-site` and related elisp for dealing with R. But
since `use-package` doesn't return true or false when a package is
actually successfully loaded anymore, and the semantics of how it will
work aren't precisely clear, it makes sense to use `require` here
instead.

    (defun load-ess-on-demand ()
      (interactive)
      (-all? '---truthy? (list
                          (require 'ess-site)
                          (require 'ess-R-object-popup)
                          (require 'ess-R-data-view))))

All the normal hooks setup by `use-package` will work as normal. I
actually don't see a reason we should use `use-package` instead of
`require` in this specific instance. Since `use-package` often defers
loading packages, it's arguably clearer to use `require` in this
particular instance.
2015-05-06 22:27:38 -04:00
syl20bnr
91e560d415 html layer: move html/init-company-web
This way this package is installed only if auto-completion is used
2015-05-06 22:16:18 -04:00
Diego Berrocal
ef2e037c92 Add company-web to web-mode 2015-05-06 22:09:04 -04:00
syl20bnr
480c6df909 haskell layer: fix haskell-snippets loading
fixes #1471
2015-05-04 00:27:13 -04:00
syl20bnr
b7c8ca7383 haskell layer: add haskell-snippets
Fixes #1471
2015-05-03 12:51:29 -04:00
Liam Atkinson
538004e9d0 Updated haskell layer documentation to include hasktags package 2015-05-02 22:02:34 -04:00
Craig Eales
65ead73365 Remove unnecessary auto-mode-alist additions
The default auto-mode-alist already has an entry that will use c++mode
for .cxx and hpp files.

("\\.[ch]\\(pp\\|xx\\|\\+\\+\\)\\'" . c++-mode)
2015-05-02 22:01:43 -04:00
Tu Do
b9a7bc905b Enable c++-mode when opening a .h file the first time
With current configuration, .h file is only associated with c++-mode
only when cc-mode is loaded. So, when a .h file is opened the first
time, it is opened and is applied with c-mode. Only the 2nd time then
c++-mode is properly used.
2015-05-02 21:59:50 -04:00
Diego Berrocal
60a97ea2de [quickfix] Remove Extra parenthesis in condition
Extra parens made the truthness of `t` to not manifest. Important fix
for debugging python.
2015-05-02 21:59:00 -04:00
syl20bnr
5091f79d4d Remove company-yasnippet backends 2015-04-29 23:54:30 -04:00
syl20bnr
b169cb9d43 javascript layer: Move web-beautify on SPC m = to be consistent
with the other layers
2015-04-28 00:02:35 -04:00
Michael Elliott
2ebf56afc1 add web-beautify to javascript contrib layer 2015-04-27 23:59:07 -04:00
syl20bnr
7655221a44 c-c++ layer: Fix post-init function names and remove unnecessary when condition 2015-04-27 22:27:11 -04:00
syl20bnr
84db42e6a4 ycmd layer: Move c specific config to c-c++ layer
fix #1414
2015-04-27 21:27:46 -04:00
Tu Do
38ce1ea4bd Fix ggtags eldoc integration
- ggtags eldoc works only if we enable ggtags-mode.
- For that reason, move the code that enable eldoc into its own
function.
- Also enable gtags for some other modes that have no layer.
2015-04-26 00:45:58 -04:00
Diego Berrocal
0fbacba837 Put right way of binding "TAB"
This fixes not being able to type 'T' in insert state in a html file.
2015-04-26 00:42:14 -04:00
Sridhar Ratnakumar
a9a0036fe7 Go layer requires gocode
Make this clear in the documentation. Otherwise, the user will see the following periodically in the Emacs status line:

```
 (file-error Searching for program no such file or directory gocode)
```
2015-04-26 00:41:23 -04:00
Charl Matthee
3f41fdb19c Update README.md
Fixed a typo.
2015-04-26 00:39:15 -04:00
Tu Do
6ffb4fa916 Improve Semantic layer
- Explicitly load Semantic. Currently is loaded only when Srefactor is
  loaded, which is not good for other packages that depends on
  Semantic but outside of C/C++, i.e. Python.

- Enable evil-emacs-state in Srefactor UI menu, since currently Evil key
  mapping override the key mapping of the menu. Vim key bindings are
  already supported upstream, with j,k,/ and ? which is good enough to
  navigate the menu.
2015-04-26 00:33:48 -04:00
syl20bnr
2e389089ea ruby layer: document A: ex-command 2015-04-26 00:27:33 -04:00
Jakub Naliwajek
5023fa0d23 Add :A ex-command to the Ruby layer
`:A` command switches between implemantation and test. For eample, in
Rails in can be used to quickly switch between controller and its
specs. Should work in other Rake projects as well.
2015-04-26 00:25:30 -04:00
Brian Hicks
6bfb45e3a5 sql: use Helm to select dialect/client 2015-04-25 01:37:47 -04:00
syl20bnr
7d9d30768b python layer: lazy-load pip-requirements-mode 2015-04-25 01:37:18 -04:00
Diego Berrocal
18d6c9bd5d Add pip-requirements package to python layer
[Pip requirements mode](https://github.com/Wilfred/pip-requirements.el)
for editing pip requirement files and autocompletion of PyPI Packages by
default.
2015-04-25 01:32:14 -04:00
syl20bnr
4cc407d9ed Minor header file change 2015-04-24 23:25:04 -04:00
syl20bnr
b76f4d6897 python layer: fix duplicated line 2015-04-24 23:24:36 -04:00
Ben Hayden
2eb6c93f96 Adding pudb as a python breakpoint 2015-04-24 22:19:12 -04:00
syl20bnr
c3d76358cd Improve python-remove-unused-imports and document autoflake dep 2015-04-24 22:15:02 -04:00
Daniel Wu
5848fb3d77 add a function to remove unused imports 2015-04-24 22:06:46 -04:00
syl20bnr
81706ba6c5 sql layer: update to match conventions 2015-04-24 01:05:06 -04:00
Brian Hicks
3807b73c81 sql: add layer 2015-04-24 00:09:26 -04:00
person808
a749def36e Smarter buffer switching. 2015-04-22 23:12:45 -04:00
syl20bnr
d0b6a56b0a python layer: Update nose.el
Now compatible with virtualenv
2015-04-22 21:51:14 -04:00
syl20bnr
ad06363b39 Modularize ggtags with eldoc configuration
See PHP layer packages.el for an example
2015-04-22 00:53:57 -04:00
syl20bnr
ff8b339813 php layer: refactor package configuration 2015-04-22 00:35:14 -04:00
Kosta Harlan
d829825f9e Set gtags layer keybindings for php-mode 2015-04-22 00:26:03 -04:00
Tu Do
f869d650e9 Add missing modes that should have gtags enabled 2015-04-22 00:24:50 -04:00
syl20bnr
a4e47cfc6b YAPF configuration edition and documentation
Rename `yapf-format-on-save` to `python-enable-yapf-format-on-save`
to be more consistent with the other layer variables
2015-04-22 00:02:23 -04:00
Kenneth Love
5bbf2a84d6 python layer: Add YAPF extension for buffer formatting 2015-04-21 23:55:58 -04:00
MadAnd
6a9225299d Fix typo 2015-04-21 01:50:31 -04:00
Tristan Hume
4bd72d3ec2 Fix bug in ruby auto-completion 2015-04-21 01:41:01 -04:00
syl20bnr
efaa595a4a js layer: applied conventions to some tern key bindings
Also update the README
2015-04-21 01:38:58 -04:00