Commit Graph

939 Commits

Author SHA1 Message Date
5849a1fe38 Update :feature version-control to support module flags 2017-08-08 16:38:17 +02:00
6d44cec666 Fix new workspace & file prompt on project switch
Properly initialize a new workspace, switch to the fallback buffer
(scratch/dash), update its default-directory to the project root, and
fuzzy-prompt for a file to open.
2017-08-06 18:49:47 +02:00
85c28444b3 General cleanup & refactor 2017-08-06 16:30:53 +02:00
c31167d747 Generalize +jump/online #140
+ Now uses selection if region is active. Prompts for the query
  otherwise, with the thing at point as the initial input.
+ On first use, prompts for provider. On consecutive uses, reuses
  previous provider. If universal argument is supplied, force the prompt
  to appear.
2017-07-27 19:09:33 +02:00
91ff3afcd6 Autoload defhydra, remove unnecessary requires 2017-07-19 00:25:05 +02:00
3bf876f44e Add documentation to :jump setting 2017-07-19 00:24:57 +02:00
9de677d49c Merge pull request #150 from bandresen/feature_hydra
Add feature/hydra; add smerge + git-gutter hydras
2017-07-17 12:41:08 +02:00
c6677136c1 Move flycheck-cask to lang/emacs-lisp 2017-07-17 11:33:47 +02:00
1ba674077a Add: feature/syntax-checker: add flycheck-cask for emacs-lisp
This is used to set up the flycheck load-path correctly for emacs-lisp package
development.
2017-07-16 05:03:26 +02:00
02eccbe6c5 Cut: feature/version-control: git-gutter:clear is obsolete 2017-07-16 04:53:09 +02:00
3ffe496f79 Add: feature/version-control: make git-gutter hydra prettier 2017-07-16 04:53:09 +02:00
8479e1c8b9 Add: feature/version-control: make smerge hydra prettier 2017-07-16 04:53:09 +02:00
228f478f99 Add: feature/version-control: smerge + hydra for smerge
closes #5
2017-07-16 04:53:09 +02:00
f4b68936a3 Add: feature/hydra: added git-gutter hydra 2017-07-16 04:52:57 +02:00
15cd2d5e0c Add: feature/hydra: initial commit 2017-07-16 04:49:31 +02:00
6a5bd216e5 Appease byte-compiler senpai 2017-07-14 18:19:08 +02:00
f40ebf9725 Minor docstring updates 2017-07-09 02:14:45 +02:00
2948ec4e0d feature/workspaces: add some unit tests 2017-07-08 21:10:39 +02:00
5a386446aa Add +workspace-contains-buffer-p 2017-07-08 21:08:42 +02:00
30001ec3f4 Fix +workspace-p (obj is a struct, not hash table) 2017-07-08 21:08:35 +02:00
d3a6a8317b feature/workspaces: toggle doom-buffer-list advice 2017-07-08 13:47:40 +02:00
78c3549b0f New function (alias): +workspace-current 2017-07-08 13:47:17 +02:00
9194d020e4 +workspace-buffer-list: preserve list order #144
persp-mode still doesn't preserve buffer list order. You'll have to use
+workspace-buffer-list to get this.
2017-07-08 13:44:43 +02:00
2adbd54b59 Load evil-snipe later in startup 2017-07-02 16:53:28 +02:00
992e636b31 feature/evil: improve idempotency 2017-07-02 16:53:04 +02:00
532db96645 evil: don't force normal mode from emacs mode 2017-07-02 16:52:01 +02:00
478eafa59b Add evil-mc-has-cursors-p autoload to evil-mc 2017-07-01 11:24:45 +02:00
b447148a4a Enable evil-snipe-mode too 2017-06-30 23:47:06 +02:00
28810eee3a feature/evil: refactor code-folding keybinds 2017-06-30 23:46:53 +02:00
869bc03ca6 Load bare minimum for tests 2017-06-28 15:28:13 +02:00
25dca5fde7 Fix :mv/:rm/:cp error when projectile-mode is off 2017-06-28 15:17:47 +02:00
b3a9889c53 Refactor feature/workspaces 2017-06-28 15:16:30 +02:00
a894f3ee1e Move persp-mode popup fix to core-popups 2017-06-28 12:26:50 +02:00
eb20f3d5a6 Decouple workspaces module and doom buffer library 2017-06-28 12:26:50 +02:00
90c3202f58 Don't activate main workspace if auto-resume is on
Other checks were unnecessary.
2017-06-28 12:26:50 +02:00
ba32bf6e4d Add +workspace-buffer-list & +workspace-list-names
...and change +workspace-list to return a list of persp structs, rather
than names.
2017-06-28 12:26:50 +02:00
4c11377e18 Fix +workspace-get returning a non-nil null
persp-get-by-name will sometimes return the value of `persp-not-persp'
(by default this is the symbol :nil) rather than actual nil when a persp
doesn't exist.
2017-06-28 12:26:50 +02:00
510e7116c8 Use different function for :cleanup 2017-06-28 12:26:49 +02:00
5ebda9b0c6 Refactor buffer functions & update tests
+ Split doom-buffer-list into doom-buffer-list
  & doom-project-buffer-list.
+ doom-real-buffers-list => doom-real-buffer-list (for naming
  consistency).
2017-06-28 12:26:49 +02:00
822c78554f destructuring-bind => cl-destructuring-bind 2017-06-25 02:04:50 +02:00
c294effd8d Fix incorrect argc in +evil/reselect-paste 2017-06-22 20:03:27 +02:00
8f00b3d07a Minor general refactor 2017-06-20 16:32:50 +02:00
392c58ea47 General refactor & cleanup 2017-06-19 00:32:45 +02:00
bc3aee2a4f Replace :xref-backend setting with :jump
Which takes :definitions, :references, :documentation and :xref-backend.
Each accepts a function that will jump to definitions, references, and
documentation respectively.

If a major-mode has an :xref-backend, you don't need :definitions or
:references.
2017-06-19 00:32:45 +02:00
928812da8a Make def-setting! behave more like defmacro
set! used to aggressively evaluate its arguments (at expansion-time),
even if placed inside an after! block. This causes unavoidable errors if
those arguments use functions/variables that don't exist yet.

Fixes #112
2017-06-19 00:32:44 +02:00
7d081c3154 Fix subr-x macro autoloads 2017-06-18 23:43:08 +02:00
41e8752d8f Fix git-gutter reactivating on ESC #114 2017-06-18 23:09:59 +02:00
c0791e0790 Disable main workspace in noninteractive emacs
It is unnecessary in a noninteractive session.
2017-06-14 21:15:20 +02:00
96ca709b23 Disable persp auto-save in noninteractive session 2017-06-14 21:15:19 +02:00
816df321a5 General refactor & cleanup 2017-06-14 21:15:19 +02:00