Commit Graph

800 Commits

Author SHA1 Message Date
Keith Pinson 155490afaf [core] document new narrow to indirect buffer keybindings 2020-10-31 08:57:46 +01:00
Keith Pinson 603d7fbe0b [core] provide keybindings for using narrow with an indirect buffer
This is useful if you want multiple narrowing in the same base buffer.

Fixes #12550 with proposed bindings by @duianto.
2020-10-31 08:57:46 +01:00
duianto fa83c0ed5a [ranger] Add 'ranger as an option to ranger-enter-with-minus
Added 'ranger as an option to the variable: ranger-enter-with-minus
Changed the default value from: t to: 'deer.
Bound the key to evil-motion-state-map instead of evil-normal-state-map
so that - also works from the Spacemacs home buffer.
2020-10-30 20:55:04 +01:00
Ray Wang 905d4392c5
Add `spacemacs-scratch-mode-hook`
Also run-hooks in spacemacs/switch-to-scratch-buffer

update CHANGELOG.develop and retrigger workflow
2020-10-23 18:34:25 +02:00
Keith Pinson e2718dd046
[git] Implement performance hack for MacOS from Magit Manual (#14070)
* [git] make finding of Git on MacOS more reliable per @tko
* [git] remove Darwin condition on finding git executable
2020-10-23 18:21:22 +02:00
Daniel Nicolai acc136168f
Update additional-packages docstring with info about loading package
Many new users (quite logically) assume that the additional-packages list
behaves like installing a layer, so they assume the file is also loaded
automatically. This commit adds info about the requirement to also load the
package with load/require/use-package in the user-config section of the dotfile.
2020-10-22 23:32:38 +02:00
Keith Pinson 7cc1f06986 [org] SPC m s N -> SPC m s w to match mnemonics of SPC n w
I chose to go this way rather than the other way because:

* Whenever you can avoid holding down a modifier key, great!
* It seems like the more specific should yield to the more general

This may be a controversial change, because it could break some folks' finger
memory. However I consider this a very unpleasant inconsistency that inhibits
the development of finger memory, so I thought I would at least suggest it as
the default for Spacemacs.
2020-10-22 23:14:41 +02:00
Boris Sergeyev 3e033e39f6 [helm] helm-swoop, ignore `helm-full-frame' and `pop-up-windows'
because current implementation does not support full-frame usage:
see https://github.com/syl20bnr/spacemacs/issues/2157
2020-10-22 19:49:49 +02:00
nanashi0x74 76849892e1 Fix three typos in various files
This commit fixes typos in doc/layers.org and the readme.org files of bootstrap and
java layers.
2020-10-19 11:48:51 +02:00
nanashi0x74 c8b717c9be [lsp] Add keybinding for lsp-version command 2020-10-19 11:45:53 +02:00
duianto 331bf1b5bf [ivy] Rebind C-k to C-M-k in ivy-reverse-i-search
This enables navigating up in the `ivy-reverse-i-search` list with `C-k`.

The same rebinding from `C-k` to `C-M-k` to kill a list entry,
is also done in the `ivy-switch-buffer`.
2020-10-15 23:10:06 +02:00
Daniel Nicolai 2cdb535d04 Fix counsel find-file functions to use Spacemacs large file check
By default Ivy uses `find-file` which uses Emacs `abort-if-file-too-large`
function to check/warn before opening large files. That function however does
not take into account Spacemacs its `spacemacs-large-file-modes-list`. Instead
ivy should use `find-file-noselect` to skip Emacs it large file warning and let
it to Spacemacs its `spacemacs/check-large-file` function. Additionally [Emacs
tips on
comments](https://www.gnu.org/software/emacs/manual/html_node/elisp/Comment-Tips.html)
recommends to use 3 semicolons for comments that function as headings.
2020-10-15 23:08:05 +02:00
Lucius Hu edc2528590
Improved documentation for LSP layer
- Added documentation for the following minor modes:
  - lsp-headerline-breadcrumb-mode
  - lsp-lens-mode
  - lsp-modeline-diagnostics-mode
  - lsp-modeline-code-actions-mode
- Added description of Code Lens feature.
- Added description of default values of any variablese introduced in the
  commit.
- Added a section to brief mention the DAP integration of lsp-mode, which
  leads users the DAP layer for more details.
- Re-formatted the document, inline codes are quoted by '~' instead of '='.
2020-10-15 22:20:27 +02:00
khjcph dad4406f70 Only set undo system if fun. exists.
The PR fixes an issue where spacemacs is in a bad state after upgrading. I
suppose what happens is that `evil-set-undo-system` is invoked before `evil` is necessarily the correct version.
2020-10-14 18:44:40 +02:00
Mariusz Klochowicz 1227cbd75d [org] Add major mode key bindings for org-jira
org-jira is typically used from org major mode - new keybindings add a more
convenient way of invoking its functions.

The new org-jira submenu is available under "mj" - using the same pattern as
org-trello.
2020-10-13 16:39:23 +02:00
Mariusz Klochowicz 2e27161c19 [org] Add org-roam support
Add org-roam support along with keybindings under new menu prefix "SPC a o r".

Assign layer search keybinding ("SPC a o /") to helm-org-rifle, falling back to
previously assigned function (org-occur-in-agenda-files) when using ivy.

Creating another keybinding for org-occur-in-agenda-files is not necessary,
as it can be accessed with another existing keybinding ("SPC a o o /").
2020-10-13 15:05:36 +02:00
duianto 0f65b000da
Handle buffer move/select/swap to last win nr +1 (#14015)
problem:
The following error messages are shown.

When trying to move, select or swap the current buffer,
to a window nr greater than the total number of open windows.

For example:
With only one window open.
`SPC b 2`
>ad-Advice-select-window: Wrong type argument: window-live-p, nil

In the Buffer Transient State (`SPC b .`):
- `C-2` (`spacemacs/buffer-transient-state/winum-select-window-2`)
>Wrong type argument: window-valid-p, #<window 12>

- `2` (`spacemacs/buffer-transient-state/move-buffer-window-no-follow-2`)
>Wrong type argument: window-live-p, #<window 14>

- `M-2` (`spacemacs/buffer-transient-state/swap-buffer-window-no-follow-2`)
>Wrong type argument: stringp, nil

Solution:
Show a descriptive message, if the target window nr is greater than the number
of open windows. And ignore the LV buffer (hydra).
2020-10-10 22:48:38 +02:00
duianto e096d6dd1e Set evil-undo-system to undo-tree 2020-10-10 21:55:06 +02:00
Wieland Hoffmann b606d82dfb [ivy] Bind `SPC s l` to ivy-resume
Helm already has spacemacs/resume-last-search-buffer bound to it and is in my
muscle memory. spacemacs/resume-last-search-buffer doesn't work with ivy, so
just use ivy-resume.
2020-10-10 06:11:12 +02:00
mark30247 c6c949156a fixes the wrong display of Release Notes
Quickhelp and Release Notes are currently not correctly displayed in the home buffer. This fixes it.
2020-10-10 04:08:34 +02:00
Kevin bf78bd4ec5 Add dtrt-indent layer 2020-10-06 12:30:47 +02:00
Daniel Nicolai 34bd5ab40d
Add C-RET keybinding for ivy-alt-done 2020-10-04 11:48:36 +02:00
Daniel Nicolai 4acea82f7b Replace spacemacs/swiper with better native swiper functions
Spacemacs uses spacemacs/swiper functions that use the less sophisticated
spacemacs//counsel-current-region-or-symbol instead of ivy's native
ivy-thing-at-point function. This commit removes those spacemacs functions and
rebinds the shortcuts to their better native equivalents.
2020-10-04 11:16:10 +02:00
mark30247 cb26ca6b33 Improve readability
Replaces the description of various keys (Space, Ctrl, etc) in a single line with a list describing each key as a list item. Improves readability.
2020-10-02 13:33:45 +02:00
Stefan Ruschke 00b1f419a5 [python] Add sphinx-doc support 2020-10-01 13:23:47 +02:00
John Practicalli Stevenson f2c075b673 [clojure] key binding for cider eval list around point
New command added to CIDER in version 0.26 to evaluate the list around the
current point, different to evaluate sexp around point which also evaluates
symbols.

https://github.com/clojure-emacs/cider/pull/2881
2020-10-01 12:29:35 +02:00
duianto ce7c2f05d9 Fix typo, and uppercase a key 2020-09-28 16:08:10 +02:00
Daniel Nicolai 5812d52e6d Add instruction how to use ranger by default 2020-09-27 14:34:52 +02:00
duianto 98ec7e559e
Lazy install protobuf layer for .proto files (#13983) 2020-09-27 14:26:31 +02:00
Deepu Mohan Puthrote 8b888c6a08 introduces tabs layer with Centaur backend 2020-09-25 09:25:53 +02:00
duianto d72019e33d
[multiple-cursors] Disable evil-mc-mode in magit-mode (#13971)
Resolves #13948

problem:
The p key tries to paste in the read-only magit buffer,
instead of calling magit-push.

After toggling text-mode on and off (C-t or \),
because evil-mc-mode becomes enabled when text-mode is enabled.
2020-09-23 22:37:55 +02:00
Ray 359b6f5466
Don't let magit-gitflow mode overwrite `C-f` key binding. (#13973)
* Don't let magit-gitflow mode overwrite `C-f` key binding.

* Describe changes in CHANGELOG.develop
2020-09-23 22:31:44 +02:00
syl20bnr 6b23185992 [core] Swap SPC h d t and SPC h d T
As describing text feels more useful than describing themes.
2020-09-20 22:32:41 -04:00
sunlin 8d204c78b4
Add `spacemacs/python-shell-send-statement' for sending statement (#13945) 2020-09-18 21:15:53 +02:00
ClarityStorm c23b17833c
Fix git-gutter+ refresh on Magit refresh 2020-09-18 20:15:23 +02:00
Keith Pinson d4668c519f
[org] support rich insert of code from other buffers (org-rich-yank) (#13960) 2020-09-18 20:00:00 +02:00
Keith Pinson 255f50696c
[core] add keybinding hdT for describe-text-properties (#13962)
This is to bundle it with other describe functions.
2020-09-18 19:45:32 +02:00
Robbert van der Helm 14dcebd4a3 Add a layer for LanguageTool support
LanguageTool is an automated proofreader and grammar checker. This layer adds
the ability to check the current buffer's contents using LanguageTool.
2020-09-17 14:05:20 +02:00
Keith Pinson 68debde4a2
[core] evilify Custom-mode if dotspacemacs-editing-style is 'vim
This has been requested many times but never implemented.

Fixes #6699
Fixes #5668
Fixes #7583
Fixes #13309
2020-09-16 21:16:23 +02:00
Daniel Nicolai 1147e758bd Implement pyvenv-tracking-mode
The pyvenv-tracking-mode changes the virtual environment on changing focus
between buffers.
2020-09-14 18:53:19 +02:00
Nicholas Kirchner 516da8dfbd [helm] Add the helm-org package so that helm-spacemacs-faq works
There is a (require 'helm-org) directive in helm-spacemacs-faq.el
which is triggered by the key sequence 'SPC h f'.
2020-09-08 11:03:55 +02:00
duianto 5e9536e842
[lua] Remove require lsp-clients 2020-08-26 22:46:21 +02:00
duianto 83d834207c [lua] Ignore EmmyLua-LS-all.jar in .emacs.d 2020-08-26 22:39:21 +02:00
Martin Sosic 7f1c72aa43 [layers/+lang/haskell] Removed intero, ghc-mod and company-ghci backends, set dante as default backend. 2020-08-26 22:34:59 +02:00
Martin Sosic 7732fcabd8 Add syntax-checking-auto-hide-tooltips variable to syntax-checking layer. 2020-08-26 22:24:37 +02:00
duianto 81d1c9f787 Fix org table evil paste
Paste using *table--cell-yank, in org-src-mode.
2020-08-19 23:46:21 +02:00
Colin Woodbury 61a9aeb42c [lsp] Remove mention of `lsp-clients` - fixes #13857 2020-08-19 20:04:39 +02:00
Alex 033647422d Add doom-monokai-spectrum and doom-zenburn themes 2020-08-17 20:12:46 +02:00
sunlin cfd810c47d Update CHANGELOG.develop
fix typo
2020-08-17 19:51:33 +02:00
Codruț Constantin Gușoi 3216aedb27 Better UX for opening and copying links 2020-08-13 22:17:36 +02:00