Commit graph

850 commits

Author SHA1 Message Date
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
syl20bnr
36eca4419b New layer: emacs-lisp 2015-05-07 00:13:13 -04:00
Tu Do
db47cead53 [Fix Smantic layer] Load srefactor-lisp
Otherwise the symbol definition is void and the commands can't be
executed.
2015-05-06 22:46:18 -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
Matthew Lyon
4e23326db0 New org-mode leader keys for narrowing
SPC m n      org-narrow-to-subtree
SPC m N      widen
2015-05-06 22:26:50 -04:00
Tu Do
128a420a4f [Fix] Disable company-tooltip-flip
Currently by default company knows when to flip the popup. However, when
the above option is set to t, it causes a strange behaviour: when the
tooltip is flipped, press down (i.e. M-n or arrow key) go up and press
up (i.e. M-p or arrow key) go down.
2015-05-06 22:23:53 -04:00
syl20bnr
d149c5beae auto-completion layer: rename auto-completion-sort-by-usage
to auto-completion-enable-sort-by-usage
When it is possible we try to use the verb `enable`.
2015-05-06 22:22:01 -04:00
person808
866f59e41f Add support for company-statistics. 2015-05-06 22:18:48 -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
640d8fc19c auto-completion layer: improve implementation of key sequence to complete
default value `auto-completion-complete-with-key-sequence` is now nil
resolves conflict with evil-escape
fixes #1491
2015-05-05 22:32:28 -04:00
syl20bnr
480c6df909 haskell layer: fix haskell-snippets loading
fixes #1471
2015-05-04 00:27:13 -04:00
syl20bnr
c634baceec auto-completion layer: rename auto-completion-enable-company-help-tooltip
to auto-completion-enable-help-tooltip
2015-05-04 00:15:58 -04:00
syl20bnr
441fa05f12 auto-completion layer: new UX variables 2015-05-04 00:14:25 -04:00
syl20bnr
a931de637d auctex layer: add flycheck support
fixes #1478
2015-05-03 19:18:03 -04:00
syl20bnr
b7c8ca7383 haskell layer: add haskell-snippets
Fixes #1471
2015-05-03 12:51:29 -04:00
syl20bnr
8df9108138 Fix iedit-insert state face in vim-powerline 2015-05-03 00:04:33 -04:00
syl20bnr
642cfbd6d9 new vim-powerline layer 2015-05-02 23:51:28 -04:00
person808
c5a266d702 Use eval-after-load in git layer. 2015-05-02 22:33:28 -04:00
Ryan Phillips
65dc810f8a fix(tmux): add motion state to fix neotree window 2015-05-02 22:02:53 -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
113c3bfc58 evilified: Generalize fix for key binding passthrough in visual state 2015-05-02 00:38:48 -04:00
syl20bnr
8a7eb23ae7 Override s binding in magit-status
Fixes #1462
2015-05-01 23:54:48 -04:00
syl20bnr
8a6bcacb09 Correctly complete the selection when pressing jk 2015-04-30 00:35:13 -04:00
syl20bnr
5091f79d4d Remove company-yasnippet backends 2015-04-29 23:54:30 -04:00
syl20bnr
e9f09d03e6 [WIP] Implement new auto-completion UX using company and yasnippet
- RET is not used anymore
- TAB complete the common prefix and cycle between candidates
- To complete the selection use C-l or `jk` pressed quickly
- Yasnippet expand uses hippie-expand and M-/ or C-p
2015-04-29 23:49:59 -04:00
syl20bnr
e8cbbd2c2e erc layer: edit README and small refactor of packages.el and extensions.el 2015-04-28 00:29:50 -04:00
Diego Berrocal
a0de2de807 ERC layer: Many improvements 2015-04-28 00:04:34 -04:00
Mateusz Dobek
af7d03021b Add jazz-theme to themes-megapack 2015-04-28 00:03:33 -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
Swaroop C H
edc8553568 Remove key based on obsolete package
As per http://www.emacswiki.org/emacs/IswitchBuffers :

> Note: IswitchB was part of GnuEmacs, but it has been removed starting
> with Emacs 24.4. The Emacs ‘NEWS’ (‘C-h N’) says to use IcompleteMode
> instead, but for those wanting more familiar functionality,
> InteractivelyDoThings is a closer fit.
2015-04-27 23:48:45 -04:00
Tu Do
663c0cfeb2 Enable evil-execute-in-normal-state in holy-mode
Add open-line command to "SPC j" group: open-line breaks the current
line into two lines without moving the cursor down. It's different from
`o` in Vim.

Use C-o to enter evil-execute-in-normal-state.
2015-04-27 23:39:02 -04:00
syl20bnr
25961f804b syntax-checking layer: rename syntax-checking-flycheck-pos-tip
to syntax-checking-enable-tooltips

Also always install flycheck-pos-tip even if not enabled
2015-04-27 23:37:26 -04:00
Ben Hayden
a39200ef1c Add ability to disable flycheck-pos-tip
Some people don't like pop-up messages in their editing window and
prefer to keep it located in the echo area.
2015-04-27 23:32:50 -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
syl20bnr
914ee405b8 company: add terminal support for S-TAB 2015-04-27 05:56:59 -04:00
syl20bnr
d9bc198d1f company: tab now complete common prefix and cycle, RET is back 2015-04-26 23:14:34 -04:00
syl20bnr
d8cc7c9a31 company: remove ESC binding to abort company
resolve #1372
2015-04-26 22:54:21 -04:00
syl20bnr
f96b23646f company: unbind RET to auto-complete 2015-04-26 22:53:26 -04:00
syl20bnr
3ddd2f4e64 company: use tab to auto-complete and complete common prefix
Now we need to find a way to cycle between the candidates when
the common prefix is completed.
2015-04-26 22:47:08 -04:00
syl20bnr
d1ffe3932b eyebrowse layer: add eyebrowse-wrap-around 2015-04-26 12:48:41 -04:00
syl20bnr
5116f3aec3 Fix non unicode number spacing in modeline 2015-04-26 12:47:40 -04:00
Tu Do
0c6e44c829 Clean state when switching to a new workspace
In i3, whenever you switch to a new workspace, it starts with a blank
frame with default wallpaper. It would be useful when we switch
workspace, the window is reset to a default buffer so it's more obvious
for first time users and is closer to i3 or Vim's tabs. Since eyebrowse
supports this feature already, we simply set it to switch to
spacemacs/home function.

Also, eyebrowse-get becomes eyebrowse--get to express that it is now
private function. So this commit fixes it appropriately.
2015-04-26 12:43:01 -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