Commit graph

3328 commits

Author SHA1 Message Date
person808 27eba151b5 Move sp-local-pair to :config of smartparens. 2015-05-26 00:23:14 -04:00
Tu Do fafb9c4b3e Enable company in Python REPL for code completion
- Company should be enabled in Python REPL for displaying completion
candidates. Note that in Python REPL, we must use company-capf to
display the candidates from Python REPL, since in the REPL it uses
completion-at-point to display candidates from the REPL. Also, we
locally set company-minimum-prefix-length to 0, so that completion
starts immediately after the first character. We also need to set the
idle delay a bit higher (0.5) compared with Spacemacs default (0.2),
since setting it too low may cause company unable to retrieve completion
candidates.

- Anaconda should NOT be enabled in Python REPL for retrieving proper
completion candidates. This can be tested in Python REPL: when
anaconda-mode is enabled and without any prefix string before point, run
the command completion-at-point (bound to C-M-i by default), completion
candidates from Anaconda are displayed but NOT the ones from the real
REPL. So, when you import a module i.e. os and try to access the
functions in the module with "os." prefix, nothing inside the module is
displayed because Anaconda does not work in Python REPL. When
anaconda-mode is disabled, candidates in "os." are displayed properly
with company-capf. company-anaconda backend cannot be used in Python
REPL since it is buggy: it cannot retrieve any prefix before point and
narrow properly.
2015-05-25 23:39:05 -04:00
jupl 7a4a9724a4 Improve support for images in Spacemacs banner 2015-05-25 23:35:47 -04:00
jupl 5d7199a905 Turn on rainbow-delimiters for LESS and SCSS 2015-05-25 23:34:46 -04:00
Tu Do 8ef3b52a9f Explicitly enable yas-minor-mode
yas-global-mode is always enabled to ensure snippets are loaded
properly, but to use the snippets, a major mode must have yas-minor-mode
enabled. This commit ensure such condition happen.
2015-05-25 23:08:59 -04:00
syl20bnr 38b5cf9263 emoji layer: fix lazy loading of emoji-cheat-sheet-plus-buffer 2015-05-25 00:54:34 -04:00
syl20bnr 92064d14c2 Move emoji layer to new category !fun 2015-05-25 00:53:15 -04:00
Tristan Hume 1ac8c2689a Update docs for renaming. 2015-05-25 00:50:43 -04:00
Tristan Hume eecb250a55 Prefix categories with ! 2015-05-25 00:50:38 -04:00
syl20bnr 2319c9f57c Add SPC / to managing projects section of DOCUMENTATION.md 2015-05-25 00:48:50 -04:00
Swaroop 65aab670c5 Docs - update projectile key bindings 2015-05-25 00:47:41 -04:00
Swaroop fdffbd1b78 s/helm-projectile-vc/projectile-vc fixes #1706
As per @tuhdo feedback
2015-05-25 00:47:15 -04:00
Tu Do d6b5f596b5 Remove auto change directory in ansi-term
By sending `cd` command, it clears previous shell output. This is only
an issue with ansi-term, not other shells.
2015-05-25 00:46:18 -04:00
Tu Do 92da48db9f Enable helm-buffers-fuzzy-matching again
It was accidentally deleted in the commit 4316668. Restore it.
2015-05-25 00:46:07 -04:00
syl20bnr 60550b290b Delete obsolete README 2015-05-25 00:45:21 -04:00
syl20bnr 0088b6d689 Remove obsolete comment 2015-05-25 00:44:18 -04:00
syl20bnr b662651595 emoji layer: fix org rendering 2015-05-24 23:38:56 -04:00
syl20bnr 3ff8136d1d shell layer: add support for multi-term
`SPC a s m`
or `set shell-default-shell` to `multi-term` and press `SPC '`
2015-05-24 22:01:26 -04:00
syl20bnr 5e9ceccf23 emoji layer: fix rendering in org buffers
There is still an issue with the first colon that is not invisible
but I guess we can live with it
2015-05-24 20:07:34 -04:00
syl20bnr 0d5ea1b5a4 emoji layer: fix invisible text after emoji image 2015-05-24 19:49:57 -04:00
syl20bnr f734b51768 emoji layer: increase helm candidate limit 2015-05-24 19:32:40 -04:00
syl20bnr 27223caada new layer: emoji 2015-05-24 19:13:33 -04:00
Tu Do 0cb6acb7af [Fix #1553] Make sure yasnippet is actually loaded
By checking if the yas-minor-mode is enabled. If so, load yasnippet. We
must do so because some package might load yasnippet and make
yas-minor-mode definition available, thus prevent Spacemacs to load
yasnippet properly. By checking yas-global-mode variable, we can assure
that yas-global-mode is enabled properly.

Also exclude yasnippet from eshell.
2015-05-22 23:16:02 -04:00
Anton Onyshchenko 3f8c0a253d Make directory if it does not exist when renaming the current buffer file 2015-05-22 23:08:26 -04:00
sooheon aa5a0f515a Improve smooth-scroll configuration
- Update smooth-scroll to use recommended variables
- Fix scrolloff bugs after zt and zb
- Improve smooth-scrolling and evil movement integration
2015-05-22 22:44:18 -04:00
Tu Do 18465ce740 Quit sub-jobs when exiting ansi-term 2015-05-22 22:32:27 -04:00
syl20bnr efb0f812c4 Fix binding conflict with shell and evil-nerd-commenter
Move `SPC ;` to `SPC '` for spawning the shell
2015-05-22 21:23:53 -04:00
Tu Do 5308baf764 Enhance shell-pop and term integration
- Only set Eshell by default on Windows; in other OSes we use `ansi-term`,
NOT `term`. The reason is that `ansi-term` can use Emacs key bindings
such as C-x b, C-x 1... even editing commands such as M-u/M-l. `term`
cannot and we have to use the default `C-c b` variants i.e. C-c b to
switch buffer instead of "C-x b". `ansi-term` is currently the best
terminal emulator in Emacs.

- Allow ansi-term/term to close its shell-pop window when a user type
"exit".

- With shell-pop, we can allow ansi-term/term to track current directory
of current buffer. It is a useful feature and it also makes ansi-term
consistent with eshell/shell.

- Swap "term" and "ansi-term" key bindings, since the old "ast" was used
  for multi-term, which is a wrapper around ansi-term.
2015-05-22 00:49:58 -04:00
syl20bnr f586aa8b39 shell layer: set shell-pop-full-span to t 2015-05-21 00:53:54 -04:00
syl20bnr f75c2b5aa5 Add support for extensions in helm-spacemacs 2015-05-21 00:46:06 -04:00
syl20bnr e3f2bfd639 Add convention for SPC m g G 2015-05-20 23:19:22 -04:00
syl20bnr df97639e19 Add doc for helm-gtags-dwim-other-window on SPC m g G 2015-05-20 23:18:29 -04:00
Michael Hauser-Raspe bc64641e87 Add helm-gtags-dwim-other-window on SPC m g G 2015-05-20 23:16:47 -04:00
montauk 6229927c70 add/map org-tree-to-indirect-buffer to mb 2015-05-20 23:04:03 -04:00
syl20bnr c75a09c981 shell layer: move some doc in DOCUMENTATION to shell layer README 2015-05-20 22:48:03 -04:00
syl20bnr d681234a71 new layer: shell 2015-05-20 22:40:25 -04:00
syl20bnr 2f69991510 Inherit foreground color from region face in evil-search-highlight-persist
Fits better material theme, I did not test other themes with it but
we can assume that the background and foreground combination for
region face is correct in most of the themes.
2015-05-20 15:14:58 -04:00
syl20bnr 0a71214d68 Use archive instead of package-alist to detect orphans
Fixes #1538
2015-05-20 02:05:58 -04:00
syl20bnr 5c6269f9df emacs-lisp layer: do not use minibuffer for macrostep micro-step 2015-05-20 02:05:10 -04:00
syl20bnr b461401c73 Deactivate injection of use-package hooks
Waiting for the fix to be merged upstream
2015-05-20 00:26:56 -04:00
syl20bnr ee862ce124 Add support for use-package injected hooks 2015-05-19 23:39:03 -04:00
Tu Do 7d7928a21b Use shell-pop to toggle shell/eshell
The advantages:

- Always pop at the bottom, never taking whole window. It's convenient
when we need a shell to run some commands, then put it out.

- Can track the directory of current buffer, so we won't have to change
directory to current directory if we want to have a shell to do
something. For example, we can navigate using Dired to a directory, then
open a shell with shell-pop to run some commands.
2015-05-19 19:27:35 -04:00
syl20bnr a94808b040 clojure layer: change test bindings to fit conventions 2015-05-18 23:03:32 -04:00
Stephen Caudill aab22541be Improve cider-test integration
* `mtt` now reloads test ns before running all tests
* added `mtT` to reload test ns and run focused test
* added `mtr` to reload test ns and re-run failed tests for namespace

The test namespace reloading is a workflow optimization. The alternative
is a minimum of two commands (`SPC m e b` or `SPC m e f` and `SPC m t
t`) in order to re-run a single test. When driving development from
tests, this is onerous at best (and I couldn't think of a good reason
_not_ to reload the test ns).
2015-05-18 23:01:25 -04:00
Tristan Hume 5f3bd7c476 Add D language layer 2015-05-18 22:52:11 -04:00
syl20bnr cfa7fd1d91 scala layer: move attach to debugger bindings to SPC m d A
`SPC m d a` is used to abort a debugging session.
2015-05-18 22:48:44 -04:00
Kenneth Brown e7ceda9cbd Scala: Added shortcut to attach to remote debugger 2015-05-18 22:46:58 -04:00
syl20bnr 1400d5ceae Edit troubleshooting info for windows users. 2015-05-18 22:44:05 -04:00
Andrea 6b3c7133cf Add some troubleshouting info for windows users 2015-05-18 22:40:40 -04:00
syl20bnr b0cbae7d23 git layer: move helm-gitignore on SPC g I 2015-05-18 22:37:31 -04:00