Commit graph

413 commits

Author SHA1 Message Date
Brett Campbell f170c732d7 Improve regexp for detecting Ansible files
Additional path names are now detected.

However, the patterns have also been anchored more tightly, meaning they
are more accurate, so they will match less slop (this may affect certain
edge cases where people unknowingly depended on false-positives, e.g.,
`parasite.yml').

Technical details about regexp changes:
  * Remove unnecessary `.*' at beginning
  * Anchor file names with leading `/' to prevent partial matches
      - (eg., don't match `not-main.yml')
  * Restructure capture groups so that `\\.yml' extension is at very end
  * Support `.yaml' extensions as well
  * Anchor the very end with `$'
2019-09-22 19:40:45 +02:00
deb0ch 2d232232d0 [shell] regroup redundant evil-define-key 2019-09-16 17:41:15 +03:00
deb0ch 2f8f21b3b1 [shell] enter insert mode when entering a terminal 2019-09-16 17:41:15 +03:00
deb0ch 3643bc7b6d [shell] add support for vterm
Support for https://github.com/akermu/emacs-libvterm
2019-09-16 17:40:32 +03:00
deb0ch 29e2fa11d9 [shell] inhibit global-centered-cursor-mode in terminals 2019-09-16 17:38:35 +03:00
emacspace 560b51c324 documentation formatting: Thu Sep 12 15:09:22 UTC 2019 2019-09-12 21:44:20 +02:00
duianto 9f32750f6a [ranger] load helm before ranger/deer
Resolves #12363
2019-09-10 23:17:27 +02:00
duianto 5900e85abd [ansible] Fix filename regexp, escape period
The `\` backslash before `.yml` in the regex has an orange (warning)
color and describe-char says:
There are text properties here:
  face                 (font-lock-warning-face font-lock-string-face)
  fontified            nil
  help-echo            "This \\ has no effect"

Thanks smile13241324 for pointing out that double backslash escapes
a . (period).
2019-09-10 20:53:54 +02:00
cormacc 0f034048f2 Updated keybindings w.r.t upstream lsp-mode refactoring / additions.
lsp-mode had renamed lsp-shutdown-workspace and lsp-restart-workspace.

Added bindings for the following newer interactive lsp-mode functions:
- lsp-organize-imports
- lsp-document-highlight
- lsp-lens-show
- lsp-lens-hide
- lsp-treemacs-symbols

Declared new major mode prefixes (a: code actions, x: text/code).
Moved execute-code-action binding under new `a` prefix.

Also disabled helm-lsp keybindings when ivy layer in use.
2019-09-06 23:23:28 +02:00
Fredrik Eckardt ce176008f3 [chore] Fix spelling error in prefix description
debuging -> debugging
2019-08-31 23:31:18 +02:00
duianto 145f7e56cc [ansible] Fix void-variable company-backends 2019-08-30 10:22:43 -04:00
Anatoli Babenia c5c63f48ca ansible: simplify filename matching re 2019-08-29 21:18:28 +02:00
duianto 2c905a0e82 Update changelog.develop and xclipboard layer
changelog.develop:
Added a new Dotfile changes section: Removed Variables
Moved a removed template variable entry:
from: Core changes > Fixed
to: Dotfile changes > Removed Variables

Surrounded commands with org verbatim (=)
Fixed typos

layers/+tools/xclipboard/readme.org:
Fixed a matching typo from changelog.develop
2019-08-06 15:43:17 +02:00
Benjamin Hipple cea98bcd54 shell: allow evil normal-mode movement in terminal buffer
As mentioned in https://github.com/syl20bnr/spacemacs/issues/10779#issuecomment-427712967,
emacs 26.1 changed the default behavior for term-char-mode to prevent cursor
movement. This change restores consistent behavior on all versions of emacs and
allows normal-mode motions to work again.

Note that the buffer is still read-only while in normal-mode, so operators that
change the line (such as `C`, `D`, `S`) still don't work.

Fixes #10956
Fixes #10779
2019-08-05 18:17:36 +02:00
Thanh Vuong b686109541 fix restclient layer
save one keystroke for helm-restclient and document it
2019-07-25 07:47:36 +02:00
Steven Allen c0763a3240 lsp: avoid pulling in treemacs/helm when their respective layers aren't enabled 2019-07-21 17:59:41 +02:00
Seong Yong-ju b74d6a9b66 Show *lsp-help* in a popup window using popwin 2019-07-14 22:19:52 +02:00
emacspace 85bd5e6df0 documentation formatting: Thu Jul 11 18:52:32 UTC 2019 2019-07-13 00:51:22 +02:00
Hong Xu cd24a73429 Add cliphist to the xclipboard layer. 2019-07-11 19:49:21 +02:00
Thanh Vuong 653a38bce5 fix #12455 lsp layer
add an internal variable for `lsp` layer `lsp-layer--active-mode-list`
to keep track of active major modes using lsp,
`spacemacs//lsp-declare-prefixes-for-mode` will check this variable
to decide whether to add prefix to which-key or not
2019-07-11 16:38:48 +02:00
Ayush Goyal 5df46b200e Fix ansible layer for upstream changes in ansible minor mode
Ansible minor mode was recently updated to follow emacs-lisp style naming
convention. This commit makes corresponding function name changes in spacemacs
to fix ansible layer.

Reference:
* https://github.com/k1LoW/emacs-ansible/issues/28
* https://github.com/k1LoW/emacs-ansible/pull/31
2019-07-09 01:48:12 +02:00
ramz ee134745bd In docker layer adding shortcuts of machines, volumes and networks 2019-07-07 15:55:15 +02:00
JAremko b5af9b0b5d update .org tags 2019-07-03 11:32:58 +03:00
Ivan Yonchovski f892ba3091 Remove the fix-lsp-company-prefix since it is no longer needed
- company-lsp is now smarter and supports fuzzy matching
2019-07-01 13:28:42 +02:00
syl20bnr 6229dcd543 Change SPC b i to SPC b t in imenu layer
This is to free up `SPC b i` to be able to use it for indirect buffers
2019-06-25 23:58:14 -04:00
Sheng Yang 0a202138b9 Allow mouse pasting in term based shells 2019-06-21 19:22:25 +02:00
emacspace 19c429e7c0 documentation formatting: Thu Jun 13 13:33:14 UTC 2019 2019-06-13 15:49:54 +02:00
Jordan Kaye 828a1919df Add dotnet cli layer 2019-06-12 20:36:14 +02:00
Victor Polevoy 51b04beb26 Add sailfish-developer layer
Provide bindings to the sailfish-scratchbox emacs package via hotkeys.
2019-06-12 15:45:24 +02:00
duianto 3868a5364f [doc] Fix typos and add missing/remove extra ~
Add missing ~ (tilde) around key bindings.
Remove an extra ~.
2019-06-01 20:40:22 +02:00
Taegil Bae 95940a64ee Add a layer variable to close window with terminal
Currently, when a terminal is ended, its window is also closed. This behavior is
not satisfying to all. Thus a layer variable is added to give an option whether
to close window with terminal.
2019-05-27 22:31:09 +02:00
emacspace c7c348a676 documentation formatting: Sun May 26 20:58:52 UTC 2019 2019-05-27 01:23:35 +03:00
Ivan Yonchovski 44a320efd6 [dap] Evilfy dap-mode windows 2019-05-20 20:05:19 +02:00
Anton-Latukha f6660f82d4
Switch to the new layers generator 2019-05-15 21:08:21 +03: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
bb2020 9044aedf01 Enable helm-esh-pcomplete for eshell completion 2019-05-10 12:12:12 +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
JAremko 5d02b1c4bb Add more tags 2019-05-03 03:44:19 +03:00
JAremko fbff2ca7bc Doc fixes + some tags for testing
Add new LAYERS.org generator [WIP]
2019-04-28 07:03:09 +03:00
emacspace 27aa748412 documentation formatting: Tue Apr 23 22:20:06 UTC 2019 2019-04-24 13:57:40 +03: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
emacspace 202da65b1c documentation formatting: Sun Apr 21 20:04:25 UTC 2019 2019-04-22 23:16:20 +02:00
JAremko 23842fa77e Simplify descriptions of layers 2019-04-21 22:09:34 +03:00
emacspace 912f69ef9d documentation formatting: Thu Apr 18 19:16:31 UTC 2019 2019-04-18 21:39:10 +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
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
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
Emil Petersen c68fde7beb Apply conventions to multi-term keybinds 2019-04-14 23:05:01 +02:00
duianto 1eac4dfc3f [lsp] Fix lsp-prefer-flymake readme/docstring 2019-04-07 00:14:17 +02:00
Juuso Valkeejärvi c175e96d85 [lsp] Add lsp-prefer-flymake variable 2019-04-05 19:50:26 +02:00