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