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.
- 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
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.
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.
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.
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.
- 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.
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)
```
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.