Commit graph

3104 commits

Author SHA1 Message Date
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
28103945f0 Mention IRC option for Gitter Chat in README
I have seen requests in the Gitter Chat such as:

> @CJD14: there wouldn't happen to be an IRC channel for spacemacs, would there?
2015-04-27 23:58:02 -04:00
syl20bnr
7e1d9acc56 Update documentation for SPC f e prefix 2015-04-27 23:57:19 -04:00
justbur
0996eb8733 Add function and keybinding to ediff current dotfile with template 2015-04-27 23:54:34 -04:00
Xiang Ji
e4d6b5505c Change guide-key/popup-window-position from 'right to 'bottom
in packages.el so that text can always be displayed fully
2015-04-27 23:50:14 -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
Swaroop C H
eadcd70e29 Replace toggle-read-only with read-only-mode
Because `C-h f toggle-read-only` says:

    toggle-read-only is an interactive compiled Lisp function in `files.el'.

    It is bound to SPC b w, M-m b w.

    (toggle-read-only &optional ARG INTERACTIVE)

    This function is obsolete since 24.3;
    use `read-only-mode' instead.

    Change whether this buffer is read-only.
2015-04-27 23:48:02 -04:00
syl20bnr
610157ac26 Rename spacemacs/smart-goto-definition to spacemacs/evil-smart-goto-definition 2015-04-27 23:46:07 -04:00
luxbock
76ee59bc23 Add spacemacs/smart-goto-definition
It attempts to call `SPC m g g` and falls back to `evil-goto-definition`
if that fails.
2015-04-27 23:45:18 -04:00
syl20bnr
b88339651f Add SPC h d b to the documentation 2015-04-27 23:43:27 -04:00
Chris Ewald
4482dca0ec set key "hdb" to describe-bindings 2015-04-27 23:42:09 -04:00
Tu Do
ad1722a08f [Fix #1396] Do not use other function to display buffer in Helm
So when users add custom function to pop a buffer in some random window,
Helm won't be affected.
2015-04-27 23:41: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
Camille TJHOA
d3e14419f4 Remove conflicting 'dotfile' entry 2015-04-27 23:30:36 -04:00
Daniel Guilak
4599ab0974 Fixed typo: SPC fe h => SPC f e h 2015-04-27 23:29:52 -04:00
person808
ab6a987d96 Fix typos in .spacemacs template. 2015-04-27 23:29:44 -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
68ab964405 Fix evil-search-highlight-persist-highlight-face again
We must enable the customized face after the package is loaded,
otherwise it has no effect.
2015-04-26 00:49:44 -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
person808
ea933a3e22 Update ycmd documentation. 2015-04-26 00:44:18 -04:00
person808
f87fb9ea7e Fix error with git-gutter and linum-mode. 2015-04-26 00:43:42 -04:00
Devagamster
5ad18fc5e2 Fix links
I wrote the link markup wrong in the windows image support section. This should fix it.
2015-04-26 00:42:48 -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
Tu Do
a8394e4aca [fix] make <f2> open the layer source instead of gh-md
Since helm-spacemacs//layer-action-open-file shares between first and
second actions, we always want second action to open file. For that
reason, we set helm-prefix-arg before calling the function.
2015-04-26 00:40:08 -04:00
Charl Matthee
3f41fdb19c Update README.md
Fixed a typo.
2015-04-26 00:39:15 -04:00
syl20bnr
430d204d02 Remove redundant key bindings from documentation 2015-04-26 00:36:12 -04:00
Tu Do
ef3afb0e67 [Fix #1121] Delete redundant buffer key bindings 2015-04-26 00:35:47 -04:00