Commit Graph

42 Commits

Author SHA1 Message Date
05ad42d77e feat(workspaces/tab-bar): add keybindings for tab-duplicate 2022-07-15 23:38:37 +01:00
558e6a97d1 feat(workspaces/tab-bar): easier use of tab groups
Expose tab-group via a keybindings, and also tweak tab-bar group face to
make it less annoying than the default.
2022-07-15 23:36:41 +01:00
881250f6c4 chore(core): add siren-dir and siren-cache-dir helper functions 2022-04-26 20:00:03 +01:00
2b39d5b0d7 chore(use-package): use :preface in favor of :init when defining things 2022-04-22 23:25:56 +01:00
3630c66930 chore(workspaces): minor improvement to custom tab format 2022-04-16 23:17:44 +01:00
a8618938bf feat(core): use general.el for keybind definitions nearly everywhere
Primarily this replaces :bind with :general in all use-package calls.
2022-03-14 21:16:15 +00:00
27fae46664 fix(ui): prevent tab-bar being visible in lsp-ui-doc child frame 2022-02-07 10:45:42 +00:00
ddc99acaa0 feat(workspaces/tab-bar): display tab-bar and make it pretty
I'm giving the visual tab-bar a try, by making it less ugly than it is
by default. Hopefully I won't mind it taking up one full row at the top
of the frame.
2022-01-26 22:54:37 +00:00
205af0097a feat(workspaces/tab-bar): hide tab-bar
I prefer my custom echo area message which appears whenever any tab-bar
operations are performed, as they don't take up permanent space on the
screen.
2021-10-24 03:52:15 +01:00
d3326fd1f2 chore(workspaces): minor tweaks to desktop-mode config 2021-05-15 01:03:48 +01:00
f20ebd3f1e fix(workspaces): set base desktop base dir correctly
And also filter out any items which are not directories from the desktop
selection list.
2021-05-15 01:02:25 +01:00
7a02ca009b chore(misc): tweak explain-pause-mode setup 2021-02-17 01:52:59 +00:00
831503060f chore(startup): stop using emacs-startup-hook to trigger package load
Packages that need to be loaded on emacs startup, should just be loaded
through use-package in a non-deferred manner.

It makes no real difference to startup, loading the packages either
slows down emacs before "startup" is complete, or right after it
completes. End result is that Emacs is unresponsive for basically the
same amount of time regardless.
2021-02-17 01:52:58 +00:00
3e8bbe36f4 fix(workspaces): don't hide tab-bar on startup
Recent native-comp builds glitch out running in a terminal when
tab-bar-mode is enabled and tab-bar-show is set to nil. I'm not sure if
it's a native-comp specific thing, or just latest emacs-28 dev.
2021-01-21 11:07:24 +00:00
bfb79e66e0 chore(workspaces): improve tab-bar list display function 2021-01-15 02:11:19 +00:00
50a85ca8d8 fix(packages): fix incompatibility with latest use-package
Due to changes to use-package's :custom option, my abuse of it to set
custom variables no longer works and yields errors.

Instead correctly set custom variables with defvar.
2021-01-15 02:11:18 +00:00
6003c89994 fix(workspaces): do not auto-load "default" desktop on startup
If you launch Emacs by giving it a file to open, the auto-loading of the
default desktop would remove that file, as it is not likely to be part
of the default desktop.

Instead desktop management is now disabled until you specifically load a
desktop with `desktop+-load-or-create` (bound to `C-z C-z C-s`).
2020-08-31 10:08:40 +01:00
4203fdb383 feat(workspaces): tweak tab-bar keybindings and turn on tab-bar-history-mode 2020-08-28 01:35:07 +01:00
7a1ab57606 feat(workspaces): strip down frame parameters saved to desktop file
Most visual/theme related frame parameters I prefer coming from the
active config, rather than being restored to what they were when the
desktop/session file was saved.
2020-08-27 23:46:00 +01:00
dc23ff532f docs: fix typo in a comment 2020-08-20 21:47:20 +01:00
658daa99d6 feat(core): add support for native-comp/gccemacs 2020-08-19 00:44:57 +01:00
4fbf607950 fix(workspaces): Improve reliability of desktop restore
Ignore some frame parameters which I don't care about being stored into
the desktop file, and would rather have the values from the loaded
config.
2020-08-19 00:43:07 +01:00
5ce5740b21 feat(workspaces): add siren-desktop module for managing emacs sessions 2020-08-16 14:52:45 +01:00
c1ddbe37aa feat(workspaces): add siren-tab-bar module with custom tab-bar-mode setup 2020-08-16 14:39:13 +01:00
bab7a08fc4 chore(workspaces): create siren-workspace-map to handle C-z prefix
Previously I've always kinda "hacked" things to get C-z prefixes for
various workspace-related packages to work. Now it's finally setup
correctly with a custom siren-workspace-map keymap bound to C-z, and
relevant packages adding keybindings to it.
2020-08-16 14:21:00 +01:00
3602399165 chore(workspaces): improve persp-mode index switching keybinding code 2020-08-16 14:21:00 +01:00
a04e57f887 fix(workspaces): Recent persp now works after renaming persps 2020-07-21 18:23:27 +01:00
7b72c21fc6 chore(workspaces): Improve persp-mode switch to index macro/defuns 2020-06-05 20:23:47 +01:00
984b9fb3aa feat(workspaces): Improve persp-mode "UI" helpers
- Improve the switch to previous / recent list of persps.
- Add a indexes when showing list of current persps.
- Add `C-z <num>` keybindings to switch to persp by index.
2020-06-02 11:55:07 +01:00
3c8fe70d8e feat(persp-mode): Enable switching to most recent persp
Keep a list of most recently visited persps whenever you switch, and
enable switching back and forth between the current and most recently
visited persp.

Also when killing current persp, switch to the most recently visited
persp, instead of back to the default/nil persp.

Minor bug remaining is that the when killing current persp, the echo
area shows all persps like usual when switching, but it includes the
persp that was just killed, despite it already being killed.
2020-05-24 00:18:30 +01:00
767014dba5 feat(workspaces): Enable easy re-ordering of persp-mode perspectives 2020-04-09 13:56:24 +01:00
c38794dc39 chore(workspaces): Don't bother setting deprecated defcustom 2020-03-21 23:33:53 +00:00
6f3efe7233 chore(lang): Minor tweaks to major-mode file associations 2020-02-22 23:48:00 +00:00
d557d47dc0 chore(init): Use emacs-startup-hook instead of after-init-hook 2020-02-15 17:58:53 +00:00
683ab9a8a1 fix(workspaces): Don't restore magit buffers on startup
Persp-mode doesn't quite manage to restore magit buffers correctly, so
I've opted to have it ignore any and all magit buffers when performing
it's auto-save.

It is possible to configure it to know how to save and load the
magit-status buffer for example, but the snippet for it from
persp-mode's readme doesn't fully restore the buffer as is. And magit
has many different kinds of buffers, so I've simply opted for having all
ignored.
2020-02-04 10:08:42 +00:00
af2894c6fc chore(core): Make Emacs play nice when run in a terminal
Ever since I started using persp-mode, launching Emacs in a terminal has
made it restore the same set of open files as in my main GUI instance of
Emacs. This hasn't been a big deal, but still somewhat annoying.

I've finally gotten around to disabling persp-mode's auto save/load
feature when running Emacs in a terminal.

And for good measure, I also set the theme to be doom-vibrant in the
terminal too. My old tomorrow-night-paradise is way out of date, and
nowhere near as good as doom-vibrant.
2020-02-04 10:08:42 +00:00
b13ca362cb feat(packages): Replace package.el with straight.el 2020-02-04 10:08:37 +00:00
b257c7d206 feat(projects): Get treemacs working nicely with helm
And also better configured treemacs in general.
2020-01-27 03:55:12 +00:00
9ebd3c192b Fix typo in siren-persp-mode module 2019-08-16 13:17:44 +01:00
c134ca96f0 Add module for persp-mode 2019-08-16 00:14:42 +01:00
57f670088d Use use-package's :custom and :custom-face options everywhere 2019-06-10 19:29:58 +01:00
87a86191db Majorly re-organize modules
- Split large modules into smaller parts (e.g. siren-text-manipulation)
- Organize modules into high level groups:
  - completion
  - core
  - editor
  - languages
  - linting
  - misc
  - navigation
  - projects
  - spelling
  - text-editing
  - version-control
  - windows
  - workspaces
2018-05-20 17:31:11 +01:00