Commit graph

315 commits

Author SHA1 Message Date
bb2020 e1cde25da6 Add bindings for goto-last-change and check-parens 2019-05-24 18:42:55 +02:00
李旭 3ddd99d92c treemacs: Add missing key binding description
and fix some typo
2019-05-24 14:05:01 +02:00
Sorawee Porncharoenwase 8671362aa9 evil-unimpaired switch from normal to motion state
This change will make buffers with the motion state
(e.g., spacemacs home buffer) be able to use the
evil-unimpaired navigation key bindings.

Note that the normal state will inherit the motion
state map anyway, so there's no need to set the
normal state map separately.
2019-05-23 08:59:58 +02:00
bb2020 6f34185784 [ivy] Add ivy-ret-visits-directory variable 2019-05-21 22:47:21 +02:00
Ivan Yonchovski 23df5aa55e [java] Sync java lsp backend with latest lsp-java functionality
- new keybinds for the new functionality
2019-05-20 20:26:14 +02:00
Ivan Yonchovski 44a320efd6 [dap] Evilfy dap-mode windows 2019-05-20 20:05:19 +02:00
Oguz Serbetci 0d08e69f89 Fix typo on org-brain-add-friendship binding. 2019-05-20 19:43:44 +02:00
Ag Ibragimov fd76a7f300 Add j and k to transient states
It is nicer when user can stay in the "home row" for basic operations like
zooming in and out

Font Scaling Transient State
`k` scale up
`j` scale down

Frame Transparency Transient State
`k` increase transparency
`j` decrease transparency

Zoom Frame Transient State
`k` zoom frame in
`j` zoom frame out

Added two additional Zoom Frame TS keys:
`m` max frame
`f` fullscreen
2019-05-19 22:24:11 +02:00
Kalle Lindqvist 367f5ff28c spell-checking: add words to dictionary functionality
When writing documents in latex or any markup language there is soon or later
going to be unrecognized words that get falsely flagged as incorrect. These
functions and key-bindings allows the user to add unrecognized words to the
dictionary so they are recognized as correctly spelled words by ispell/flyspell.
This seem's like a must have feature for any application that does any kind of
spell checking.

Added key bindings:
SPC S a b for Add word to dict (buffer)
SPC S a g for Add word to dict (global)
SPC S a s for Add word to dict (session)

Spell Checking Transient State:
SPC S . B for Add word to dict (buffer)
SPC S . G for Add word to dict (global)
SPC S . S for Add word to dict (session)
2019-05-19 22:09:20 +02:00
JAremko 5cc823cc0f add flycheck-clojure 2019-05-18 02:17:43 +03:00
Andrew Vit f15e242bb8 Update keybinding documentation for gtags setup 2019-05-18 00:37:35 +02:00
clwgg 6d406e034d Add org-cut-subtree key-bind to org layer
This binds org-cut-subtree to ~SPC m s d~, similar in spirit to other 'delete'
bindings in evil-mode emacs.
2019-05-18 00:09:07 +02:00
Dominik Schrempf 15d8a03e5b `spacemacs-theme'; no overrides.
Do not override customizable settings from `spacemacs-theme', since those should
be set on a per user basis in the configuration file.
2019-05-16 00:00:31 +02:00
Anton-Latukha f6660f82d4
Switch to the new layers generator 2019-05-15 21:08:21 +03:00
Miciah Masters 322528ca8d spacemacs-layouts: Fix adding buffers to new persp
Delete the hook that commit 9fcf8c898d added
to persp-created-functions, and change spacemacs/ivy-spacemacs-layouts,
spacemacs/helm-perspectives, spacemacs/helm-persp-switch-project, and
spacemacs/ivy-persp-switch-project to achieve the intended goal of adding
the desired buffers after creating a new perspective.

Change spacemacs/helm-persp-switch-project and
spacemacs/ivy-persp-switch-project as follows: If the user selects a
project but then quits without selecting a file or buffer, the new
perspective is now immediately killed.  Otherwise, if the perspective did
not already exist, any buffers that belong to the selected project are
added to the perspective.

Add the following actions to spacemacs/ivy-spacemacs-layouts and
spacemacs/helm-perspectives:

* Create a new perspective with the Spacemacs home buffer (default action).
* Create a new perspective with the buffers that belong to the current
  buffer's project.
* Create a new perspective with the buffers that belong to the current
  perspective (i.e., make a copy of the current perspective).

This commit resolves the problem reported in
9fcf8c898d (commitcomment-33343455).

This commit also fixes a problem with the default action for
spacemacs/ivy-spacemacs-layouts and spacemacs/helm-perspectives.  According to
commit 7b931a9f5b, the default action is supposed
to display the home buffer if the action creates a new perspective, which was
determined by checking whether the perspective was missing from the list of
perspectives _before_ switching.  However, commit
eb7ca651fe changed this logic so it was checking
whether the perspective was missing from the list of perspectives _after_
switching.  This commit restores the correct logic.

* CHANGELOG.develop: Update.
* layers/+completion/ivy/funcs.el (spacemacs/ivy-spacemacs-layouts): Add
"Copy Current Layout" and "Create Project Layout" actions to the docstring.
Use spacemacs//create-persp-with-home-buffer for the default action.
* layers/+completion/ivy/packages.el (ivy/post-init-persp-mode): Add
actions for spacemacs//create-persp-with-current-project-buffers and
persp-copy.
* layers/+spacemacs/spacemacs-layouts/funcs.el
(spacemacs||switch-layout): New macro.  Switch to the named perspective,
and initialize it using the provided forms if the perspective is new.
(spacemacs//create-persp-with-current-project-buffers): New function.
Create a new perspective with the current project's buffers.
(spacemacs||switch-project-persp): New macro.  Switch to the named
perspective, and evaluate the provided forms with
projectile-after-switch-project-hook bound with a hook that adds the
current project's buffers to the perspective.  If the user quits during the
evaluation of the forms, kill the perspective.
(spacemacs//create-persp-with-home-buffer): New function.  Switch to the
named perspective, and go to the Spacemacs home buffer if the perspective
is new.
(spacemacs/helm-perspectives): Use spacemacs//create-persp-with-home-buffer
for the default action.  Add actions for
spacemacs//create-persp-with-current-project-buffers and persp-copy.
(spacemacs//helm-persp-switch-project-action): New function.  Switch to the
named perspective and call projectile-switch-project-by-name, using the new
spacemacs||switch-project-persp macro.  Bind helm-quit-hook with a hook
that kills the new perspective if the user quits
projectile-switch-project-by-name.
(spacemacs/helm-persp-switch-project): Use
spacemacs//helm-persp-switch-project-action.
(spacemacs//ivy-persp-switch-project-action): New function.  Switch to the
named perspective and call counsel-projectile-switch-project-action with a
hook to add the project's buffers to the new perspective.
(spacemacs/ivy-persp-switch-project): Delete advice for
counsel-projectile-switch-project-action.  Use
spacemacs//ivy-persp-switch-project-action instead.
(spacemacs//add-project-buffers-to-persp): Deleted.
* layers/+spacemacs/spacemacs-layouts/packages.el
(spacemacs-layouts/init-persp-mode): Don't add a hook to
persp-created-functions.
2019-05-13 17:11:27 +02:00
Lyman B. Gillispie af55934995 [ocaml] Add support for dune via dune-mode.
Dune is a popular build-tool for OCaml projects, the `dune` package adds:
 - Adds syntax highlighting
 - Template insertion
 - Some testing/compilation functions
2019-05-12 22:22:13 +02:00
bb2020 d7686199c8 [org] Add org-cliplink package 2019-05-12 22:13:41 +02:00
bb2020 e22cfadf1f [shell] Add Eshell Ivy completion bindings
M-l calls spacemacs/ivy-eshell-history
TAB calls spacemacs/pcomplete-std-complete
2019-05-12 18:47:27 +02:00
syl20bnr b38abe5996 [changelog] Minor tweaks 2019-05-12 11:20:22 -04:00
syl20bnr 0d123b28db [csharp] Change execute test key bindings to conventional ones
~SPC m t t~ is for test around point
~SPC m t l~ is to re-execute the last test
2019-05-12 10:09:10 -04:00
Andrew Hill (AstroEngiSci) 875ce4c85f Add Alda configuration layer 2019-05-12 00:30:20 +02:00
Sam Pillsworth 89aae06f86 global-hl-todo-mode prevents activation in org
global-hl-todo-mode uses function to activate only for modes that are in the
activate list but are not org-mode.

Reference: 24b9925b1b/hl-todo.el (L185-L188)

Adds a comment re `hl-todo-activate-in-modes` var
2019-05-10 12:38:38 +02:00
bb2020 9044aedf01 Enable helm-esh-pcomplete for eshell completion 2019-05-10 12:12:12 +02:00
Charlie Barto e27f89e529 fix finding find on windows 2019-05-09 18:56:05 +02:00
Benno Fünfstück d6b7e335ed spacemacs-modeline: fix modeline if daemon is used 2019-05-09 18:34:10 +02:00
William Casarin 42d6e143fc link-hint: bind link-hint-copy-link to SPC x y
Signed-off-by: William Casarin <jb55@jb55.com>
2019-05-09 16:44:55 +02:00
bb2020 697d3b88ac [shell] Move eshell-z-freq-dir-hash-table-file-name into cache dir 2019-05-08 19:49:24 +02:00
bb2020 dd67908f75 Remap M-SPC and SPC-x-d-SPC to cycle-spacing 2019-05-08 19:00:14 +02:00
Witoslaw Koczewski 9a0275ffef Link updated: Somelauw/evil-org-mode
Since edwtjo/evil-org-mode doesn't receive any updates anymore, the link is changed to Somelauw/evil-org-mode.
2019-05-07 21:46:53 +02:00
Brandon T. Willard 289cd5ad42 Update Hy key maps and use-package settings
These changes adjust the `hy-mode` key-map and make use of `use-package`'s
`:mode` and `:interpreter` settings.

Regarding key-maps, the REPL prefix `s` has been added alongside `e`, since `s`
seems at least as conventional among layers as `e`.  Although `e` is used for
Elisp and Clojure, it isn't used for Python or Racket.  Scheme appears to use
both, so there's some precedence for the approach used here.
2019-05-06 17:06:48 +02:00
Yang Qian ada180786e Introduce key binding sC for helm-swoop-clear-cache
helm-swoop cannot detect the buffer has changed when calling git checkout to
change the file content, so helm-swoop won't clear the cache, we have to clear
the cache manually by evaluating `helm-swoop--clear-cache`. As it is
inconvenient, so I introduce a new key binding to to this.

Signed-off-by: Yang Qian <yang.qian@citrix.com>
2019-05-06 11:09:55 +02:00
Compro-Prasad 989da8bb8f Fix void function error when recentf-save-list is undefined
This happens because there is an idle timer which runs `recentf-save-list` every
600 secs.
2019-05-06 00:54:01 +02:00
Alex Palaistras 8fb3be891d sql: Add default jump handlers for SQL layer
Recent versions of `dumb-jump` have support for jumping to definitions for generic SQL buffers, and
support in Spacemacs requires that we enable these in the `sql` layer.
2019-05-05 22:42:08 +02:00
Miciah Masters e8b600cdbb Add variable rcirc-enable-erc-yt to rcirc layer 2019-05-05 21:38:57 +02:00
Miciah Masters b654d23b5b Add rcirc-enable-erc-tweet to rcirc layer 2019-05-05 21:38:57 +02:00
Miciah Masters cf12a9ec5b Add rcirc-enable-erc-image to rcirc layer 2019-05-05 21:38:57 +02:00
Miciah Masters 78cf625521 Add variable rcirc-enable-styles to rcirc layer 2019-05-05 21:38:56 +02:00
Miciah Masters 2d7d0886bd Add variable rcirc-enable-emojify to rcirc layer 2019-05-05 21:38:56 +02:00
Miciah Masters 0d6c56889d notmuch: Try harder to find GitHub patch URL
Make spacemacs//notmuch-open-github-patch try harder to find a patch for
the pull request.
2019-05-05 21:22:50 +02:00
Bet4 a385f17efb Update changelog.develop 2019-05-04 17:30:16 +02:00
Jonathan Chen c05c421026 [docs] Fix spelling, Reorder configuration functions
To logical order
2019-05-01 23:12:16 +02:00
Artur Juraszek 033e960c94 Keyword flycheck-ocaml with :toggle instead of using a when 2019-04-30 18:50:39 +02:00
康小广 2e6817ef34 Add symbol-overlay package to spacemacs/navigation layer
Defines a transient state for symbol-overlay, and bind it to ~SPC s o~ and ~SPC s O~.

Updates:

* update due to the signature change of `symbol-overlay-get-list`.
* align the docstring using `^^` and add `quit` button.
2019-04-30 17:42:40 +02:00
Bruno Tavares 3d11456f51 Fix flyspell correction on spell-checking layer
Using the `spell-checking` layer mini-mode `Space S .` would cause an error

```
Wrong type argument: commandp -- flyspell-correct-previous-word-generic
```

According to the [README](https://github.com/d12frosted/flyspell-correct#deprecations-in-v05), it has since moved the command to a new name, which is not available anymore.

This commit changes the command used to point to the new name to make the transient mode work again.
2019-04-29 14:48:09 +02:00
Christian Bäuerlein dd5240d55e Fix spacemacs-project setup readme
Before this, the readme file was just a copy of the spacemacs-org readme file.
2019-04-28 10:39:31 +02:00
duianto 2e26eab72f Update changelog.develop
Move (thanks to... statements that are split, to the next line.

Changed `C` to `c` for the workspaces TS entry, since lower case will be used
most often, upper case just keeps the TS open.

Added key binding descriptions to finance layer.

Fix latex layer typo.
2019-04-28 03:17:42 +02:00
Bet4 d4b180a735 Various improvements when indent code 2019-04-28 01:19:14 +02:00
duianto 28571f4465 [csharp] Hide mode-line indicator: omnisharp 2019-04-27 02:07:37 +02:00
duianto 603d36c5dc [csharp] Add SPC m t which key prefix: csharp/tests 2019-04-27 01:57:34 +02:00
Emil Petersen 5e0c456431 Add SPC m i i for org-insert-item
This command helps to insert list items.
2019-04-27 00:43:22 +02:00
duianto e7e2283cf6 Update changelog, missing major mode prefix 2019-04-26 22:36:31 +02:00
Saulius Menkevičius 708aabe64c Add more key mappings for unit test functionality in csharp layer. 2019-04-26 22:21:39 +02:00
Miciah Masters 19e4c49126 Fix sort in insert-lazy-install-configuration
Commit 1c4f685b13 replaced
configuration-layer--layers (a list of cfgl-layer objects) with
configuration-layer--used-layers (a list of symbols).  It also changed the
configuration-layer/insert-lazy-install-configuration function to use the
new variable, but it did not change the sort predicate.  Consequently, the
function started failing:

    Wrong type argument: listp, spacemacs-purpose

In addition, because sort is destructive, the function also deleted values
from configuration-layer--used-layers.

This commit fixes the sort predicate so that the function returns the
correct value, and it copies the list before sorting to avoid modifying
configuration-layer--used-layers.

* core/core-configuration-layer.el
(configuration-layer/insert-lazy-install-configuration): Use string<
as the sort predicate, and give sort a copy of the list.
2019-04-26 21:41:39 +02:00
Max Deineko 764075be70 A note about user-config and files supplied via command line arguments 2019-04-26 21:36:09 +02:00
Trapez Breen 9665670f8e Adding format on save to javascript layer.
Adding formatting on save option to javascript layer, similar to typescript
layer. One small syntax error fix in typescript layer.
2019-04-25 20:26:07 +02:00
duianto 785c155ca1 Update changelog.develop 2019-04-25 19:40:18 +02:00
Robert Zaremba 4add7d478d Add emacs banner
To use it put this line in your dotspacemacs/init:
dotspacemacs-startup-banner 100
2019-04-24 22:11:41 +02:00
Florian Bruhin cca6c0549b core: Fix typo in error message 2019-04-24 19:41:24 +02:00
Miciah Masters 9fcf8c898d spacemacs-layouts: Add project buffers to new persp
Fix issue #11282.

When a new perspective (layout) is created and we are in a Projectile
project, add all buffers belonging to that project to the perspective.

* layers/+spacemacs/spacemacs-layouts/funcs.el
(spacemacs//add-project-buffers-to-persp): Add new function.
* layers/+spacemacs/spacemacs-layouts/packages.el
(spacemacs-layouts/init-persp-mode): Add
spacemacs//add-project-buffers-to-persp to persp-created-functions.
2019-04-24 19:31:26 +02:00
Bernhard Schommer 31bff63404 [ocaml] Fix typo in diagnostic message. 2019-04-24 16:33:00 +02:00
syl20bnr c987fbecdf Revert "Bind ~SPC f F~ to =helm-find= for recursive directory search functionality."
This reverts commit 3a23e0cc6b.

This change completely break `SPC f F` in two ways:
1) it breaks the convention followed at various places to have capital letter
   bindings to prefill the helm prompt
2) it breaks the main functionality of the bindings which is very important:
   press `SPC f F` on a path will brings you directly to the directory of this
   file. It allows to quickly nagivate to files references in files.
2019-04-24 10:13:30 -04:00
Chris Glass 6b03fefe17 [xclipboard] Update README.org
A simple edit adding documentation about the various platform-specific programs
this layers interacts with.
2019-04-24 00:10:56 +02:00
Vincent Taing 2441f36a79 Add a note on grep prerequesite in the README 2019-04-23 23:56:56 +02:00
Ivan Fedorov 67e9690723 treemacs: correct typos 2019-04-23 23:40:13 +02:00
Parker Johnson 0b7d350af9 add startup support for doom-sourcerer theme 2019-04-23 23:13:44 +02:00
duianto b646b75ece Fix doom-modeline in the messages buffer
problem:
the doom-modeline isn't applied to the messages buffer

solution:
call `(doom-modeline-init)` without a hook
2019-04-23 22:40:24 +02:00
Henrique Jung 504fd6c120 Update key bind doc according to evil-mc changes
Commit gabesoft/evil-mc@041b904475 changed
the default key bind of `g r u` to a different (new) function. The old
behaviour is now available at `g r q`.
2019-04-22 23:43:09 +02:00
duianto 3e37a359b8 Update changelog.develop 2019-04-21 21:55:52 +02:00
duianto d9b7ac64f3 Hide mode-line indicators: emoji and WE
emoji appeared in at least org mode.
WE appeared in the COMMIT_EDITMSG buffer.
2019-04-21 13:33:24 +02:00
Henry Hirsch fba6d38bf3 Improve wording of excluded-packages documentation 2019-04-21 13:04:03 +02:00
duianto 554c5cb949 changelog.develop: List Smerge TS bindings 2019-04-21 11:48:48 +02:00
jjzmajic 3a23e0cc6b Bind ~SPC f F~ to =helm-find= for recursive directory search functionality.
I realize this may be controversial, but as I understand it (correct me if I'm
wrong), all `SPC f F` does differently compared to `SPC f f` is call the vanilla
version of `helm-find-files` that does take `thing-at-point` into account. But I
presume we removed this feature in `spacemacs/helm-find-files` for a reason.

Also, it makes sense as a *forte* version of `helm-find-files` when you can't
find something in your current directory and decide to drill deeper. This
complies with the general tone of uppercase/lowercase bindings in Spacemacs, and
provides more utility than te subtle distinction between different
implementations of `helm-find-files`.
2019-04-20 22:15:29 +02:00
John Stevenson 831107f478 [clojure] keybinding - cider-undef - remove symbol from current ns
Adds `SPC m e u` to the Clojure layer to call `cider-undef`, removing an
existing definition from the current namespace.

This provides a Spacemacs style keybinding for the existing Emacs style
keybinding `C-c C-u`
2019-04-20 15:26:55 +02:00
Wang b21a7da680 Extend smerge transient-state with diff keybindings
I often use these operations to ask how mine and other have diverged:

=< smerge-diff-base-mine
== smerge-diff-mine-other
=> smerge-diff-base-other

It's awkward to use their global keybindings under C-c ^ because that exits the
smerge transient-state.

Judging from issue GH-7378 there was no principled reason to omit them, only
that the author did not use them himself.
2019-04-20 10:02:23 +02:00
Ivan Yonchovski e80a4fa0ab [rust] dap layer integration 2019-04-18 21:32:32 +02:00
Thanh Vuong 9bb9038920 Move "import-js" to own layer for js based layers
Refactor import-js to its own layer import-js so it can be optional
used for the tree layers Javascript, React and Typescript layers.
2019-04-18 21:08:43 +02:00
Langston Barrett d18f9da683 Add org-brain keybindings 2019-04-18 19:37:41 +02:00
Mike Macpherson c339656172 python: Add support for black formatter 2019-04-18 18:34:09 +02:00
Newres Al Haider f5cd5959b3 Add Prolog layer 2019-04-18 18:14:18 +02:00
Trapez Breen d25b329c17 Shadow python-mode-hook during python-send-shell-* 2019-04-18 17:56:47 +02:00
Seong Yong-ju e48fa85d96 Add missing prefix for js2-mode 2019-04-17 15:37:15 +02:00
Trapez Breen 2206095be8 Added instruction on installing importmagic and epc.
Importmagic and epc isn't really optional if error messages are to be avoided.
2019-04-17 09:14:01 +02:00
trapez.breen a8b7c0d591 Adding the same setup to typescript-tsx files as to typescript files.
Changed typescript major mode formating to "=".
2019-04-17 00:13:58 +02:00
Ivan Yonchovski 2129f203c4 [javascript] integration with dap layer
- Fixed also instructions on language server selection
2019-04-16 23:46:48 +02:00
Ivan Yonchovski 391866849b Updated keybindings for dap-mode
- dap-debug-edit-template is very important for some of the debug adapters so it
  is important to have a keybinding for it to improve the discoverability
2019-04-16 23:33:58 +02:00
Compro-Prasad 9af46cba9e Fixes #10762 Added support for user labels in LaTeX exports from org
See #10731 for further references
2019-04-16 23:06:15 +02:00
Ivan Yonchovski f4264b5df1 [c++] dap layer integration
- in addition to that I have removed the line that removes clangd from the
server list since it is not needed in latest lsp-mode since it has smaller
priority than ccls/cquery.
2019-04-15 22:13:23 +02:00
Ivan Yonchovski 5e256d2506 [lsp] Sync lsp layer with latest lsp mode functionality
- provide keybindings for the new lsp-mode functionality
 - use lsp-treemacs and helm-lsp for errors and workspace symbols
2019-04-15 22:01:57 +02:00
Ivan Yonchovski 59c4f1f283 Use dap mode layer for python debugging
- I had to remove the "db" keybinding manually before setting the dap bindings.
  An alternative approach is to use a different binding for it.
2019-04-15 20:56:27 +02:00
Francesc Elies Henar cf498b01dc Fix org-clock-resolve-clock keybinding
In newer version than 9.1.12 org-clock-resolve-clock is no longer an
interactive function, this change broke bindings like ~SPC a o C j~
2019-04-15 20:54:18 +02:00
duianto 2342f76cf1 Exclude which-key from layer sync powerline restore
When syncing the configuration layers `SPC f e R`,
don't restore the powerline to the which-key buffer.
2019-04-15 10:29:59 +02:00
Emil Petersen c68fde7beb Apply conventions to multi-term keybinds 2019-04-14 23:05:01 +02:00
Robert O'Connor 66eebcf032 [ietf layer] Add RFC files to the auto-mode-alist to use irfc-mode 2019-04-13 18:59:54 +02:00
Francesc Elies Henar 01bd56f120 [csv] binds SPC m h to csv-header-line 2019-04-13 14:31:55 +02:00
duianto 7938d62847 Update change log 2019-04-12 18:03:01 +02:00
Uros Perisic 66b3a0ba01 Make spacemacs/nim-compile-run work with current buffer file.
Naming the main file `main.nim` is a `C` convention, not a `Nim` convention. In
fact, `Nimble` defaults to naming the main file after the project at
initialization. I will soon add a function that parses the Nimble configuration
for project entry point and compiles that. Until then, this is a solid
compromise between flexibility and reliability. I also added a doc-string to the
function.
2019-04-11 23:13:15 +02:00
Thanh Vuong 4f765f4a3f Fix react laye: make evil matchit work
with evil-matchit % will work on jsx tags
also correct rjsx-rename-tag-at-point keybinding
2019-04-11 23:10:09 +02:00
Serghei Iakovlev 6e404256e2 Update ac-php-core documentation 2019-04-11 22:51:01 +02:00
jjzmajic 8b88025ef8 Add flycheck-package' to emacs-lip' layer for writing Emacs packages.
For those with MELPA on their mind. It's easier to work when packaging errors
are reported on the fly, and we don't even have `package-lint` integration for
occasional checkups yet.

It adds no unnecessary verbosity as it is only triggered by `Package-Requires`
and `Package-Version` headers.
2019-04-11 22:46:16 +02:00
Michael Peyton Jones 07bec0cb62 Haskell layer: add support for lsp backend 2019-04-11 13:18:42 +02:00
duianto 1519fc5639 Update change log 2019-04-11 10:50:41 +02:00
Christian E. Hopps 446299ffbd IETF related layers and packages. 2019-04-11 00:03:40 +02:00
Magnus Therning 6184a391b4 [sql] Add SQL support to org-mode 2019-04-10 23:04:02 +02:00
Seong Yong-ju 3afd959181 Add missing prefixes for ruby-on-rails layer 2019-04-10 22:52:25 +02:00
Seong Yong-ju cb75920bb7 Add missing key prefixes for java-mode, gradle-mode 2019-04-10 22:48:21 +02:00
Hoyon Mak beab291332 Don't lazy load keybindings for evil surround 2019-04-10 19:30:32 +02:00
Lukas Woell 1d77bf1046 Add eval-thing-at-point functions to Common Lisp Layer
Add functions equivalent to the custom eval-funtions of the elisp layer to the
common-lisp layer.

The functions are copied from the elisp layer only `eval-last-sexp' was replaced
with its slime equivalent `slime-eval-last-expression'.

Keybindings are chosen as they are in the elisp layer.
2019-04-09 23:29:09 +02:00
Ling Wang 22ecf05c11 Fix OSX keybindings for daemon mode
OSX layer keybindings should be applied on macOS no matter it is in GUI
mode or not. Otherwise the keybindings won't be applied if Emacs is
launched in daemon mode.
2019-04-09 22:38:47 +02:00
Uros Perisic 3e827297fd Declare all prefixes for nim layer.
All prefixes for `nim-mode` were previously unnamed, and simply stated `+prefix`.
2019-04-09 22:14:30 +02:00
Martin Račák f85acca55d Fix post-init of parinfer in the clojure layer
Reverted clojure/post-init-parinfer back to a state before the refactor, which
introduced spacemacs|forall-clojure-modes. That macro deals with modes, not
hooks, therefore we can't use it for add-hook.
2019-04-08 18:17:22 +02:00
Langston Barrett a60bc0f52e Add ranger-mode to golden-ratio-exclude-modes
Ranger manages window sizing in a way that conflicts with golden-ratio
2019-04-08 17:44:18 +02:00
syl20bnr 9b77d8cee3 [change log] Update change log for react and javascript layers 2019-04-08 11:27:55 -04:00
smile13241324 3c7d7b7b10 Update change log 2019-04-07 19:53:37 +02:00
smile13241324 278e1d85bd Update change log 2019-04-07 19:30:59 +02:00
Ag Ibragimov 1dadfcd0e1 [clojure] Improves spacemacs-jump-handlers
jump handlers in clojure modes now correctly work
for: `, g g` `, g G` `gd` and `gD`
2019-04-07 18:22:51 +02:00
duianto 2ef94efbf4 Add line text object using evil-textobj-line 2019-04-07 15:34:02 +02:00
vishvanath45 3fca351e08 [org] Add ePUB support 2019-04-07 14:39:48 +02:00
Uros Perisic 197d1e4c57 Add .dap-breakpoints and .lsp-session-* to .gitignore.
The `LSP Java` backend produces these tempfiles to preserve session state. The
glob in `lsp-session-*` is needed as multiple session files are produced when
working on multiple projects. There is no reason for these files to be kept
under version control.
2019-04-07 08:57:20 +02:00
duianto a622918563 Revert "[org] Add epub support"
This reverts commit 238be0227b.
2019-04-06 21:41:54 +02:00
vishvanath45 238be0227b [org] Add epub support
Toggle variable named `org-enable-epub-support` lets user enable/disable epub
support.
2019-04-06 20:43:59 +02:00
Seong Yong-ju 09835e1ed2 [sql] Add a code formatter for sql-mode
Add sql layer options for sqlfmt. Add a function spacemacs/sql-format-buffer to
format the whole buffer with sqlfmt. Add a key binding for format.
2019-04-06 16:20:23 +02:00
Aaron Jensen 91914378c1 editing: Enable smartparens in eldoc-eval-expression
This was enabled before in eval-expression.
2019-04-06 16:11:57 +02:00
duianto 3819cf4dbd Add SPC o which-key prefix name: user bindings 2019-04-06 16:00:34 +02:00
Thanh Vuong a01994292d [javascript] Fix hook value to enable evil-matchit
hook value shoudle be js2-mode-hook instead of js2-mode
2019-04-06 09:54:01 +02:00
duianto cfa4abfa7a Hide evil-mc single cursor mode-line lighter "emc" 2019-04-06 09:20:13 +02:00
Minh Nguyen-Hue 8709b7e727 [osx] Replace pbcopy by osx-clipboard
Why:

* When using emacs >= 26, pbcopy has latency actions in terminal.

This change addresses the need by:

* Replace pbcopy by osx-clipboard
2019-04-06 09:05:08 +02:00
Enze Chi 21c442050a Add go-run-args to pass command line arguments to go run
When executing the main function which requires command line arguments, user can
set `go-run-args` to pass command line arguments to compiled binary.

The example below demonstrates how to pass command line arguments by setting
`go-run-args` as file local variable:

package main

import (
	"fmt"
	"os"
	"strconv"
)

func main() {
	//Atoi converts a string to an int
	fmt.Println("Arguments:", os.Args)
	a, _ := strconv.Atoi(os.Args[1])
	b, _ := strconv.Atoi(os.Args[2])

	result := sum(a, b)
	fmt.Printf("The sum of %d and %d is %d\n", a, b, result)
}

func sum(a, b int) int {
	return a + b
}

// Local Variables:
// go-run-args: "10 5"
// End:
2019-04-05 22:59:17 +02:00
Juuso Valkeejärvi c175e96d85 [lsp] Add lsp-prefer-flymake variable 2019-04-05 19:50:26 +02:00
duianto c804f37a0f Update changelog.develop 2019-04-05 19:23:08 +02:00
Colin Woodbury e817027d4a dhall: Update CHANGELOG.develop 2019-04-05 18:26:28 +02:00
Bryan Tan ab5fb0e58e Replace lsp-capabilities keybinding with lsp-describe-session
Also, move the binding from `SPC m b c` to `SPC m b d`. lsp-capabilities was
replaced with lsp-describe-session in lsp-mode.
2019-04-05 14:07:39 +02:00
Compro-Prasad 3b48c09a7f Doc fix and improvements: No need to checkout pdumper branch 2019-04-05 11:52:49 +02:00
syl20bnr e8b384f9a3 Update change log 2019-04-04 12:23:40 -04:00
duianto 9ee4e8777e Fix changlog.develop gratitude typo 2019-04-04 17:12:44 +02:00
Timo Freiberg 4351063f6a [clojure] change run-all-tests alias to run-project-tests
The previous docstring said that there's a bug with cider-test-run-project-tests
but it seems to work fine now
2019-04-04 16:43:59 +02:00
Timo Freiberg 978df8a70e [clojure] call cider-test-* functions interactively 2019-04-04 16:18:46 +02:00
timor 7b5ce34e65 [factor] Misc fixes for factor version 0.98
Since factor 0.98, `fuel-edit-word` has been removed, since
`fuel-edit-word-at-point` has the same behavior when point is not on a symbol.
Also adjust the jump-handler definition.

factor: choose correct name for the `fuel` package

The package is called `fuel`, not `factor-mode`.

This does not make a difference for the layer itself, since it is using the
`site` pseudo-location, and thus never deals with the package files.

Now, any `post-init-fuel` functions defined somewhere else should work
correctly.

factor-layer: add missing refactor command binding, fix initial modes
2019-04-04 13:16:05 +02:00
Grant Shangreaux 71a06c8b99 update docs for Chicken 5 changes 2019-04-04 12:52:09 +02:00
Tim Heckman e84bd90262 Set lsp-prefer-flymake to :none when Go layer is using LSP
When switching the Go layer to use the LSP backend with `golangci-lint`, I
noticed that none of my linter errors were being rendered with my source code.
Digging in further, I eventually learned it was due to `lsp-prefer-flymake`
being set to `nil` and not `:none`.

This change updates the Go layer, when using LSP and golangci-lint, to set
`lsp-prefer-flymake` to `:none`. If this is not set, the golangci-lint errors
will not be reported.

This is an alternative to #12043.

Fixes #11680

Signed-off-by: Tim Heckman <t@heckman.io>
2019-04-04 12:46:49 +02:00
Eric Zhang a4801bec7b Fix magit conflicting with golden-ratio 2019-04-04 12:41:01 +02:00
Loys Ollivier 7667df6319 python: add diminish for importmagic
importmangic does not have a diminish character.
Add diminish characters to make the modeline nice(r).

Signed-off-by: Loys Ollivier <loys.ollivier@gmail.com>
2019-04-04 12:33:57 +02:00
Magnus Therning 9e3340b8c3 Replace ox-reveal with org-re-reveal
Adressing #11935

Just a naive `s/ox-reveal/org-re-reveal`, but it seems to work.
2019-04-04 12:25:24 +02:00
Enze Chi 004d407908 Add toggle control for verbose go test output 2019-04-04 12:17:53 +02:00
cjay c47b53abbe Fix haskell jump handler for dante
Analog to d6b1d1674f50a85246eceda32866fd9f93d955d6 which was for intero
2019-04-04 12:14:14 +02:00
Lareb Syed b90bd6a856 [Finance] Prevent auto-complete from adding a space 2019-04-04 11:53:01 +02:00
timor ec5b1f2ad0 core/core-spacemacs-buffer: move up macro definition 2019-04-04 10:48:51 +02:00
duianto 95c2488c66 Show magit-log-select and diff in two windows 2019-04-03 22:35:26 +02:00
duianto f8ed4739fe Load helm before read-file-name and completing-read
Fixes helm not being loaded before calls to:
read-file-name and completing-read.

These are some commands that call either of those two functions:
spacemacs/rename-current-buffer-file (SPC f R)

In a Treemacs window:
treemacs-add-project-to-workspace (C-c C-p a)

In a Magit buffer:
magit-checkout (b b)

Thanks Miciah for a more elegant solution.

This commit also reverts:
Fix helm loading for layouts transient state #11705
because it's not needed anymore.

And the previously commented out transient hook minibuffer-setup-hook (it
doesn't seem to ever have been used) is removed because:
- It loads helm after a command is called that uses helm (instead of before)
- (spacemacs|hide-lighter helm-mode) has previously been moved to the
helm/init-helm :config section.
2019-04-03 21:27:08 +02:00
John Stevenson 074588475b Clojure Layer - Updated docs for Cider manual quick start
Updated documentation for Clojure layer to currently recommended versions of
build tools and `cider-nrepl`, ensuring that connecting to a manually run
Clojure REPL works correctly with the current version of CIDER.

Leiningen version 2.9.0
Boot version 2.8.2
`cider-nrepl` 0.21.1
2019-04-03 18:31:17 +02:00
Jason Walker 0becb67c21 Improve purescript keybinding discoverability & ergonomics.
Added prefix titles and removed some useless nesting.
2019-04-03 11:42:56 +02:00