Commit graph

3787 commits

Author SHA1 Message Date
Miciah Masters bff8403446 shell: Adjust popup shell width only for left/right
Fix issue #11037: Do not adjust the width of a popup shell's window unless its
position is left or right.

* layers/+tools/shell/funcs.el: Check that shell-pop-window-position is 'left
or 'right before adjusting the window's width.
2018-07-24 00:05:53 +03:00
Adam Sokolnicki 2e9dcb54b1 Add the missing keybindings in ruby-on-rails layer 2018-07-24 00:02:13 +03:00
Jesse Byler 1671f53f93 Add function spacemacs/new-empty-buffer-new-frame with binding
Add new function spacemacs/new-empty-buffer-new-frame, implemented
with a new selector in spacemacs/new-empty-buffer.  Bind it to
<SPC> b N f
2018-07-23 23:52:31 +03:00
Alexander Miller a51d8cecd1 finance: use evil-ledger. 2018-07-23 09:22:13 +02:00
JAremko 6fef4b7481 Fix git-timemachine link 2018-07-20 02:45:50 +03:00
JAremko 6946e255e6 Reformat docs 2018-07-20 02:45:21 +03:00
Codruț Constantin Gușoi 4644a28868 Reorders prefixes and keybindings 2018-07-20 01:02:50 +03:00
Robert O'Connor 40f5a80f3f
Add emberjs layer 2018-07-16 20:02:01 -04:00
bmag 2f50f28419 Fix typo 2018-07-15 08:21:46 +03:00
Kalle Lindqvist dfd309a77b ivy: improve jumping in buffer 2018-07-15 08:18:35 +03:00
bmag e109777f8b spacemacs/ivy--regex-plus: fix documentation 2018-07-14 22:52:25 +03:00
ivasonn d2dab66724 search highlighting (spacemacs/counsel-search) with ivy--regex-plus
spacemacs//ivy--regex-plus is a replacement for ivy--regex-plus in user
configurations.
2018-07-14 22:46:08 +03:00
bmag e63a9c05bd counsel-search: fix counsel-more-chars call
counsel-more-chars changed upstream to take no arguments, so we change our call.
2018-07-14 22:46:08 +03:00
Andre Ramos f3cbf89b45 Clojure layer: fix regression for pinned cider 2018-07-12 16:26:39 +01:00
bmag 4f70a9abcc Load evil-surround when entering operator state
Only using visual state as entry point for evil-surround doesn't guarantee
surround is available for evil-yank and evil-delete. Fixed by also using
operator state.

Fixes #11019 and #11021
2018-07-12 11:56:20 +03:00
Miciah c4541bb1b5 helm: Fix error from SPC s f on non-file buffers
Fix issue #6416: SPC s f (spacemacs/helm-files-smart-do-search) in a buffer
that is not visiting a file causes an error:

    Wrong type argument: stringp, nil

* layers/+completion/helm/funcs.el
(spacemacs//helm-do-grep-region-or-symbol): Check whether preselection is
nil in order to avoid calling helm-basename on a nil value.
2018-07-12 09:28:13 +03:00
Codruț Constantin Gușoi e2c0250548 Clarifies the zero based column indexing with messages and docs 2018-07-12 09:13:02 +03:00
Miciah 899e6beaac Fix and rename column-indexing toggle
The column-indexing toggle did not have a :status property.  As a result,
the toggle command would enable the toggle but would not disable it.  In
addition, the absence of :status prevented -off and -on commands from being
defined.

This commit adds a :status property so that the toggle works properly and
-off and -on commands are defined.

This commit also renames the toggle to "zero-based-column-indexing" in order to
make its purpose clearer.

* layers/+spacemacs/spacemacs-defaults/keybindings.el (column-indexing):
Add :status and rename to "zero-based-column-indexing".
2018-07-10 18:17:57 -04:00
Alex Argunov c1bde286e4 clojure: move browse to help submenu, add cider-find-ns under gn 2018-07-11 00:26:33 +03:00
Roy Choo 43f0b4d617 typescript: remap keybinding to use tide function
- As described in #10870, typescript/jump-to-type-def function is removed,
but the keybinding is still calling it.

- Mapping the keybind to call tide jump to definition directly.
2018-07-11 00:20:07 +03:00
Magnus Therning 655117009d Add a binding to return from definition in intero mode
Signed-off-by: Magnus Therning <magnus@therning.org>
2018-07-11 00:11:31 +03:00
Rudi Grinberg c5d4107248 Fix handling of keymap property when it's symbol valued
The previous code would only handle the case when the property was a keymap. But
it can also be a symbol representing a keymap.
2018-07-11 00:04:46 +03:00
Bjarke Vad Andersen ebd8bffbad scala/java: Remove broken ensime key bindings and fix yanking types 2018-07-10 23:45:33 +03:00
p-sdk e090ffbd2d ruby: add popwin config for bundler, projectile-rails and rubocop 2018-07-10 00:36:10 +03:00
Codruț Constantin Gușoi 3de1d09a42 Formats the ruby key bindings table 2018-07-10 00:32:00 +03:00
FieryCod 41e9671a4d Fix the projectile layer 2018-07-09 23:17:08 +02:00
Codruț Constantin Gușoi 8ebe9f5093 Removes duplicates from ruby documentation 2018-07-10 00:11:45 +03:00
Codruț Constantin Gușoi 12f537a0db Adds ruby toggles documentation 2018-07-09 23:59:05 +03:00
Codruț Constantin Gușoi 05f27afa56 Creates a toggle prefix for ruby 2018-07-09 23:50:41 +03:00
Codruț Constantin Gușoi f715c1f12e Revert "Remove duplicate robe keybinding"
This reverts commit 7d63001515.
2018-07-09 23:48:05 +03:00
Codruț Constantin Gușoi 7d63001515 Remove duplicate robe keybinding
Robe had 2 keybindings for starting a server: `SPC m ,` and `SPC m s s`
but the first one was already defined for another purpose so it overwrote
it.
2018-07-09 23:43:17 +03:00
Miciah 1c78348ee6 ivy: Fix error on nil input with counsel search
Fix issue #6499: SPC m (spacemacs/search-project-auto-region-or-symbol) on
a blank line causes an error:

    rxt-string->pcre: Wrong type argument: arrayp, nil

* layers/+completion/ivy/funcs.el (spacemacs/counsel-search): Check whether
initial-input is nil in order to avoid calling rxt-quote-pcre on a nil
value.
2018-07-09 23:29:16 +03:00
Ting Zhou 9dc5ba8439 use evil normal mode as default for ivy-occur-grep-mode 2018-07-09 10:25:54 +03:00
syl20bnr 4dbd5e6110 Disable evil-ediff for now 2018-07-04 02:36:59 -04:00
Codruț Constantin Gușoi 31264ffc84 Fixes errors when restoring a perspective
The function ends up being called with an argument due to the before advice.
2018-07-04 01:17:28 +03:00
Daniel Perez Alvarez 5328e20cb8 add missing keybinding documentation for typescript layer 2018-07-04 00:57:33 +03:00
Daniel Perez Alvarez ce1d1a19c4 change En -> Ed 2018-07-04 00:53:38 +03:00
Daniel Perez Alvarez 75e192c897 [typescript] En -> tide-add-tslint-disable-next-line 2018-07-04 00:53:38 +03:00
Robert O'Connor b80e62f12d add syntax checking for jsonnet with flycheck 2018-07-04 00:26:29 +03:00
Andre Ramos 9cb0b07dff Clojure layer: fix function usage in clojure layer according to cider changes
The function `cider-current-repl-buffer` does not exist anymore in cider after PR [#2324](https://github.com/clojure-emacs/cider/pull/2324) was merged.
It broke the usage of functions in the clojure layer that sent used `spacemacs//cider-eval-in-repl-no-focus`, which sends forms to be evaluated in the repl buffer without focusing on it.
The fix is to use `cider-current-repl` instead of `cider-current-repl-buffer`
2018-07-04 00:16:58 +03:00
Ruslan Kamashev ecc7eeda74 Add gitignore-templates 2018-07-03 23:48:50 +03:00
syl20bnr a013d86874 core: update environment variables management
* add new dotfile function `dotspacemacs/user-env`
* add ignored env. vars with variable spacemacs-ignored-environment-variables
* ignore env vars: SSH_AUTH_SOCK and DBUS_SESSION_BUS_ADDRESS
* update documentation in DOCUMENTATION.org
* update .spacemacs.template with new function
* rename environment file from spacemacs.env to .spacemacs.env
* move location of .spacemacs.env file to home or dotdirectory
* add a header to the generated .spacemacs.env file to explain what it is
* make SPC f e e fallbacks to the function dotspacemacs/user-env if the user
  manages the env var by themselves
* make SPC f e E call the new function dotspacemacs/user-env
* sort environment variables in .spacemacs.env file
2018-07-03 01:25:28 -04:00
smile13241324 a087ee2ece org: add warning against manually loading org 2018-07-03 00:49:21 +03:00
Codruț Constantin Gușoi aba51afe48 Multiple ways to copy a file path 2018-06-29 01:09:54 +03:00
bmag b54ea8ef90 line-nums: don't default to text/prog-mode if disabled by user
When :enabled-for-modes is nil we default it to '(prog-mode text-mode), but if
any of them is in :disabled-for-modes then it shouldn't be enabled by default.
This commit fixes the second part.
2018-06-27 09:13:21 +03:00
yangbo d473121f90 enable eldoc for rust/racer 2018-06-26 18:40:28 +03:00
Zhige Xin ae407c2efd Fix typo in org/README 2018-06-26 10:01:56 +03:00
simendsjo dc6130a714 Adds *Process List* to popwin:special-display-config
`list-processes` would not focus the newly created window as it was missing from popwin.
2018-06-26 09:11:17 +03:00
syl20bnr 6220ace290 core: rework environment variables and PATH management
See updated DOCUMENTATION.org and FAQ.org for more info.

* add core-env.el
* add library load-env-vars.el
* add bootstrap package dotenv-mode.el
* remove spacemacs-environment from bootstrap layer
* remove dotspacemacs variable dotspacemacs-import-env-vars-from-shell
* remove dotspacemacs variable dotspacemacs-improt-env-vars-shell-file-name
* add new key binding SPC f e e to open spacemacs.env file
* add new key binding SPC f e E to reload environment variable from env file
* add new key binding SPC f e C-e to re-initialize the env file from shell.
2018-06-25 02:55:28 -04:00
syl20bnr 666671a881 Sort key bindings alphabetically in version-control README.org 2018-06-24 02:54:07 -04:00