Commit Graph

49 Commits

Author SHA1 Message Date
SpacemacsBot 50e5a704b5
[bot] "built_in_updates" Thu Jan 12 16:51:33 UTC 2023 (#15890) 2023-01-12 13:22:34 -05:00
Ray Wang 43f24dfc9c
[dap] move posframe package into spacemacs-visual layer
1. move posframe package into spacemacs-visual layer for package sharing
2. add `pre-int-posframe` and `post-init-posframe` for further configurations

Rebase to the latest code and remove posframe from translate layer

[translate] allow user to customize renders
2022-07-31 16:09:20 +02:00
Arif Er 00f9ab19ac chore: update copyright headers to 2022
The script used to identify and update the change is added into the GitHub
workflows script directory. A workflow action can be created to trigger the
script to update the headers on the first of every new year. Possibly a task for
a consequent PR.
2022-06-03 17:32:20 +02:00
SpacemacsBot 11f45d529f
[bot] "built_in_updates" Wed May 11 06:35:02 UTC 2022 (#15508) 2022-05-11 11:39:47 -04:00
Lucius Hu b7e1dee13f
spacemacs-buffer: Added optional feature to show file icons (#15332)
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-02-15 06:52:00 +00:00
Julio Rincon 94a6811682
Fix #15198 predicate to check if major-mode is compilation-mode or derived. (#15253) 2022-01-08 08:01:46 -05:00
Chris Jenkins 387d165455
Replace use of `parent-mode-list` in `spacemacs-visual/funcs.el` (#15209) 2021-12-14 18:14:36 -05:00
Julio Rincon 651a7a9f11 Fix #15198: Apply ansi-colors to compilation-mode derived modes 2021-12-11 08:32:48 +01:00
emacspace a2dc0c18e0 Built-in files auto-update: Mon May 3 19:32:32 UTC 2021 2021-05-03 22:17:33 +02:00
Maximilian Wolff 6a8dcd014e
[visual][popwin] Adjust variable naming to match conventions
Private variables must use "--" after the prefix.
2021-04-19 22:18:02 +02:00
Thanh Vuong b4cf004319
[visual][popwin] add keybiding to resume last popwin buffer
bind it to `spc r w`
2021-04-19 22:15:41 +02:00
Thanh Vuong 056eb6b91b
[defaults] add qickrun
bind it to `SPC x x`, not sure it's the right place but it's easy to invoke
2021-04-19 22:08:47 +02:00
Maximilian Wolff 38f582d785 [bootstrap] Fix depreciation warning for pcase `t case
and add first usage for reference
2021-04-08 19:43:30 +00:00
emacspace 383237ef29 Built-in files auto-update: Thu Apr 8 18:27:04 UTC 2021 2021-04-08 20:48:26 +02:00
syl20bnr 97cd83e169 Apply GPLv3 terms explicitly to all elisp files 2021-03-25 22:59:32 -04:00
syl20bnr d55a9e2e67 Update header for year 2021 2021-03-25 22:59:32 -04:00
emacspace b86c619cb6 Built-in files auto-update: Thu Mar 18 14:37:56 UTC 2021 2021-03-18 18:07:05 +01:00
Robert O'Connor 82ba73a1c0
update copyright to 2020 2020-09-23 21:25:01 +02:00
Loys Ollivier d0bfc51c7e
visual: apply ansi color only on compilation major mode
Some modes have compilation-mode as parent mode but the ansi coloring
scheme is breaking their highlighting.
i.e. https://github.com/Wilfred/ag.el/issues/124

Fix this by applying ansi-colors only when the major mode is
compilation-mode.

Signed-off-by: Loys Ollivier <loys.ollivier@gmail.com>
2020-07-18 09:47:34 +02:00
Ivan Yonchovski 0ae8b2712a [visual] Pin dap debug buffers to the bottom
- reuse the botom window for all windows that are in compilation mode and in
dap-server-log-mode. Without this change you will get two windows on top of each
other when you do `SPC c c` and then `SPC m d d d`
2020-04-16 21:34:41 +02:00
madand 344e6e4a1d
Added support for native fill column indicator in Emacs 27+
`display-fill-column-indicator-mode` is a new native fill column indicator
mode implemented on C-level, thus has almost no performance penalty in contrast
with the legacy `fci-mode` implemented in elisp.

This commit implements conditional activation of the mentioned mode on
Emacs 27+. `fci-mode` is still available for previous Emacs versions.

Resolves #12884
2019-12-15 15:03:27 +01:00
kimr da80634370
converted cl to cl-lib 2019-12-14 20:20:51 +00:00
Brian Wignall 4df6c9035f
Fix typos 2019-12-05 22:23:04 +01:00
Miciah Masters 552fd5953c Update references to macOS
Apple renamed "Mac OS X" to "OS X" in 2012 and then to "macOS" in 2016.
Update references to use the current name.
2019-10-13 12:04:40 +02:00
duianto b9e61e6437 Add transient state keys _, j, k
Thanks sdwolfz for the suggestion to add underscore to the transient states,
then the shift key doesn't have to be released if it was held down to press `+`.

Added key bindings:
Evil numbers:
`SPC n _` decrease number under point
in the transient state:
`j` decrease number under point
`k` increase number under point

`SPC T T _` decrease transparency
`SPC z x _` scale down font
`SPC z f _` zoom out frame

Update documentation:
Zoom frame:
`q` quit transient state

Evil numbers:
`SPC n =` increase number under point
`SPC n _` decrease number under point
`0..9` add a number prefix argument
`q` quit transient state

Fixed a typo and made a small rewrite of the tip about using a prefix argument.

Added keys to transient states:
Font scaling:
Added `_` scale down
Reordered `k` assignment to match the order in the transient state

Frame transparency:
Added `_` decrease
Reordered `k` assignment to match the order in the transient state

Evil numbers:
Added `k` increase
Added `_` and `j` decrease

Zoom frame:
Added `_` zoom frame out
Reordered `k` assignment to match the order in the transient state

Which-key entries for Evil numbers `SPC n`:
Group together keys that call the same command:
From: + and =
To:   +,=

From: - and _
To:   -,_
2019-07-14 22:56:57 +02:00
smile13241324 2384c7e5d2 Fix small typo in default popwin config for *undo-tree* buffer 2019-07-14 22:30:18 +02:00
emacspace 2aa62bb5ed documentation formatting: Tue May 28 14:41:10 UTC 2019 2019-05-28 17:43:54 +03:00
JAremko ce4e6e355f tag docs 2019-05-28 17:35:49 +03: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
Anton-Latukha f6660f82d4
Switch to the new layers generator 2019-05-15 21:08:21 +03: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
JAremko 77c680160e Add placeholder tags 2019-05-05 20:40:47 +03:00
JAremko cd39f80c24 Reformat documentation 2018-10-11 00:13:43 +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
Miciah Masters e0b751bee3 Avoid non-idempotent use of push in init code
Replace push with add-to-list in layer init functions and related code.

Modify spacemacs|add-toggle to check for and update an existing toggle in
spacemacs-toggles and only create a new toggle if none already existed.

Replace a conditional push onto erc-packages with use of :toggle.

When initializing which-key, set which-key-replacement-alist to its default
or customized setting before adding all the Spacemacs replacements.  We
want to keep the stock replacements but avoid adding duplicates of the
Spacemacs replacements.

Replace the emacs-lisp-mode-hook lambda with a named function to avoid
adding duplicate hooks (which can add duplicate definitions of the
evil-surround pair).
2018-06-05 22:17:13 -04:00
Víctor Cuadrado Juan f234df5f94 Don't hardcode fci-rule-color face
Faces should be set in themes or by use of the theming layer.

This closes #8917.
2018-05-31 00:56:20 +03:00
syl20bnr ebe4c60264 Revert "Defer packages by default using use-package-always-defer"
This reverts commit 29c78ce841 and all other fixes
that have been made afterwards.

The motivation is that use-package is seen by many as a replacement for
`require`. Is use-package always defer the loading of packages then is breaks
this use case, this does not respect POLA so even if it was making Spacemacs
loading faster (up to 3s faster on some startup on my machine) we just cannot
use it, it would be irresponsible. Spacemacs should be easy to use, loading
performance will come with time but it is not a priority.
2018-03-03 23:40:10 -05:00
syl20bnr 29c78ce841 Defer packages by default using use-package-always-defer
Warning now `:defer t` is implied, to force a package to load `:demand t` is
now necessary.
2018-02-27 23:32:52 -05:00
smile13241324 aead79ca48 Fix doc for S>-bootstrap, S>-navigation, S>-visual and S>-org 2018-02-28 03:01:39 +02:00
Kalle Lindqvist 00bea00672 Make popwin handle google-translate buffers 2018-01-18 00:09:37 -05:00
syl20bnr 0f646b884d Add properties for mode-line theme, remove powerline-scale
Since we have now a variable for the mode-line theme, it makes sense to move
the scaling of the mode-line to this variable. Thus the property
=:powerline-scale= of variable dotspacemacs-default-font has been removed and
it is replace by the property =:separator-scale= used in the variable
=dotspacemacs-mode-line-theme=.

This commit also adds a the property =:sperator= for the variable
=dotspacemacs-mode-line-theme= which allows to set the separator type.

Example of the final result:

   dotspacemacs-mode-line-theme '(all-the-icons
                                  :separator cup
                                  :separator-scale 1.5)

Documentation has been updated to reflect the changes.
2018-01-16 22:59:29 -05:00
syl20bnr 326965d4ce Happy New Year 2018! 2018-01-04 02:00:25 -05:00
Winkey Wong 5b12f52a85 Correct undo-tree buffer name in layer spacemacs-visual
There is a space in the buffer name of undo-tree. The popwin did not display right and the function `undo-tree-visualizer-quit` also seems not work well until I correct the buffer name.
2017-10-15 11:08:01 -04:00
ralesi 7355da1d79 undo-tree: evil bindings for visualizer and window improvements 2017-06-13 12:01:28 +02:00
JAremko 6c5a0b2b14 update docs to the new toc-org format 2017-05-22 18:35:37 +03:00
JAremko c1e4556882 Format and cleanup docs. Fix links. 2017-04-28 23:29:14 -04:00
Abdo Roig-Maranges f216309a6c visual: improve colorization of compilation buffer
Lines containing a carriage return alone, followed by color escape
sequences, are not colorized properly.

A carriage return in the compilation buffer is interpreted by erasing
contents since the beginning of the line, but compilation-filter-start
is not updated accordingly before calling the filter-hooks.

Workaround it by always colorizing a region from to the beginning of the
line where compilation-filter-start points.
2017-04-17 22:30:56 -04:00
syl20bnr fc61280423 Fix zoom-frm
Fixes #8696
2017-04-12 23:09:17 -04:00
syl20bnr 30d7beb277 Refactor spacemacs-ui and spacemacs-ui-visual layers
Create new layers:
- spacemacs-navigation: contains packages whose principal goal is navigation
- spacemacs-modeline: contains packages about mode line

Merge spacemacs-ui and spacemacs-ui-visual into layer spacemacs-visual.
2017-04-11 23:09:35 -04:00