Commit Graph

11612 Commits

Author SHA1 Message Date
ab994627bc Add counsel-find-file's actions to counsel-file-jump 2020-01-01 21:19:21 -05:00
2ef0ed90a4 Fix C-a/C-e #1802
Fixes two issues:
1. Where C-e would throw the cursor somewhere on another line (or at
   BOF).
2. Fixes #1802; where the cursor would stop a character shy of true
   end-of-text.
2020-01-01 21:19:21 -05:00
f0e05c1a44 Fix C-w in ivy not moving up directory
And ensure C-w doesn't affect kill-ring from minibuffer.
2020-01-01 19:58:52 -05:00
a332885d33 Remove M-ret binds; make C-ret binds less aggressive
They were a tad too aggressive. Our C-ret keybinds are more than enough.
I've removed them from insert state maps, however, so that those
keybinds won't override new C-ret keybinds on non-evilified minor mode
keymaps (for evil users).
2020-01-01 19:34:33 -05:00
5929e5b75a Add undefadvice! macro for rotate-text convenience 2020-01-01 19:34:33 -05:00
7a348f8784 Refactor how we indent straight's progress output
More work up front, less work in the trenches.
2020-01-01 19:34:30 -05:00
4f676bd218 Refactor autoload generator bootstrappers 2020-01-01 13:31:40 -05:00
4a53f0818d Don't insert autoloads literally #2281
It causes encoding issues.
2020-01-01 03:02:05 -05:00
445ba1a46d Minor refactors & comment revision across the board 2019-12-31 19:18:02 -05:00
d1b597fde4 Remove redundant evil keybinds for neotree
Some of these were already bound by evil-collection-neotree.
2019-12-31 19:14:43 -05:00
33701ea407 Prevent packages from pulling in org
org-plus-contrib already satisfies that dependency.
2019-12-31 19:11:16 -05:00
69a7c60c3a Update text objects list in evil readme 2019-12-31 17:46:53 -05:00
6f951229ec Add & revise comments
And move line number hooks to core/autoload/ui.el
2019-12-31 15:55:56 -05:00
b592e58c97 Fix warning when disabling core packages 2019-12-31 14:10:52 -05:00
a5fc782e76 cli/upgrade: fix wrong-type-arg string force file error #2277
Due to a vestigial call to the old doom-cli-reload-package-autoloads
2019-12-31 03:38:47 -05:00
9012635d3f Remove default doom-variable-pitch-font in config.el template
"sans" may not be available.
2019-12-31 02:27:31 -05:00
d7d873e11b Fix counsel-projectile-find-file from occur buffers #2268
counsel-projectile-find-file-action would open the candidate from wrong
buffer.

This is an experimental fix.
2019-12-31 00:04:07 -05:00
fb261a9c65 Fix extra ivy actions for counsel-{rg,find-file} 2019-12-31 00:02:00 -05:00
a947f64ff2 Replace ace-link with link-hint
Better link support, easier to extend, and maintained more actively.
2019-12-31 00:00:10 -05:00
7c968a8b11 Fix #2278: autoload gen skipping disabled autodefs
If a ;;;###if module cookie returned nil for a file, it should still
allow autodefs to be scraped from it, which wasn't happening before this
fix.

An autodef's guarantee is that it will always be defined, whether or not
the containing module is enabled.
2019-12-30 23:19:56 -05:00
960d756b47 General, minor refactors 2019-12-30 18:23:56 -05:00
3271cd3a54 Remove unused ui/tabs/autoload.el 2019-12-30 18:08:11 -05:00
10f29bffde Add chemacs support to doom/restart-and-restore 2019-12-30 18:07:37 -05:00
a4653f475b Print filename instead of absolute paths for purged ELPA packages 2019-12-30 17:28:31 -05:00
f8ed1894e7 Strip text properties from recentf entries
Causing tremendous bloat in recentf lists included with TRAMP paths.
2019-12-30 17:07:39 -05:00
0b1ab39a00 Refactor doom-cli--generate-autoloads 2019-12-30 17:06:49 -05:00
497a6a206e Fix 'wrong-number-of-arguments autoload 9' error in autoloads
This error was caused by over-aggressive replacement of load-file-name
in autoloads files.

Instances of "load-file-name" would be replaced with a quoted file-path,
even in strings and comments, which would break surrounding strings and
docstrings.

Mentioned in hlissner/doom-emacs@f8ff505
2019-12-30 15:52:38 -05:00
9698235aff Pre-emptively update license 2019-12-30 07:10:30 -05:00
908bd4b945 Remove FORCE-P argument for doom-cli-reload-autoloads
We weren't using them anyway.
2019-12-30 06:44:16 -05:00
bb425a2e65 Add .dap-breakpoints & .extension/ to gitignore #2273 2019-12-30 05:31:55 -05:00
bfce00d0b4 Don't use so-long if it's been disabled 2019-12-30 05:27:25 -05:00
eba070d8ba Move dap-breakpoints-file to doom etc dir #2273 2019-12-30 05:26:57 -05:00
8c0561df93 Fix ui/tabs module
Remove all my custom hacks because none of them work anymore.
2019-12-30 00:50:18 -05:00
b9f90b3a1a lang/org: clear src block results on TAB
When cursor is inside a src block. e.g.

  #+BEGIN_SRC elisp  <-- not here
  (message "hi")     <-- in here
  #+END_SRC          <-- not here
2019-12-30 00:07:19 -05:00
f8ff50565e Refactor autoload generator
- Halves LOC
- Adopts functional paradigm where possible.
- Reduces the filesize of autoloads files by ~10-20%
- Speeds up autoloads generation by ~20%
2019-12-29 22:20:48 -05:00
4808d40736 Convert def-modeline! macro into function
Eager-expansion was causing void-function errors for set-modeline!
2019-12-29 21:23:39 -05:00
db9bc763ef Remove redundant straight-fix-org setting
Already exists in core-packages.el
2019-12-29 19:24:55 -05:00
c57aff9b81 Change how +lookup/online populates initial input
If no selection is active, there is no initial input.
If selection is active, use the selection.

Also remove helm-google package, as the helm functionality is provided
by the core helm package already (and actually works).
2019-12-29 19:24:45 -05:00
b63ce98731 Add benchmark hook & restore switch earlier
If the user wants to remove them for some reason.
2019-12-29 18:47:12 -05:00
0ac7facea7 Reorganize & rethink help commands
Changes:
- Move <help>da to <help>u & <help>du = lookup docs for an autodef
- Rebind <help>dC = goto private init file (and jump to doom! block)
- Add <help>u & <help>du = lookup docs on an autodef
- Add <help>dl = text search on all packages in load-path
- Add <help>dL = text search on all load el files

New <help>p prefix for package help commands:
- <help>dpc = jump to a config block for a package
- <help>dpd = goto private packages.el file
- <help>dph = open a package's homepage (its repo or on melpa)
- <help>dpp = lookup docs on a package (including Doom info; what
    module(s) install package, where it is configured, etc)
2019-12-29 18:29:09 -05:00
f05f4d2b59 Replace search docs button w/ open docs on dashboard
It is more helpful to newcomers.
2019-12-29 16:34:21 -05:00
14cf97e594 lang/org: use org-attach instead of custom system
- Adds more keys under `<localleader> a`
- Reconfigures org-download to use org-attach system
- Make org-id-track-globally = t a global default now (not just for
  org-brain)
- Renamed +org-init-centralized-attachments-h to +org-init-attachments-h
- org-attach-store-link-p = t (stores a link to an attachment when it is
  attached)
- org-attach-use-inheritance = t (inherit attachment properties from
  parent nodes)
2019-12-29 16:31:25 -05:00
54f42fef23 Add popup rules for image-dired 2019-12-29 15:44:10 -05:00
6f31d774b9 Show the pdf compilation window while its building
Even if its output isn't entirely visible (because it redraws once a
second), this is better feedback that something is going on.
2019-12-28 21:28:07 -05:00
678a5d1f7c Improve prompts for various help commands
To make it clearer what you're searching for.
2019-12-28 19:57:37 -05:00
b38501a67b Refactor load-path & loaded-files search commands
Follow up to 0df480bf8
2019-12-28 19:55:44 -05:00
2fb76b3ba0 Use [escape] instead of ESC to abort company
Because rebinding ESC breaks some meta keybinds for tty users.
2019-12-28 17:39:00 -05:00
47be32d422 Fail gracefully if no session file is present 2019-12-28 15:46:29 -05:00
8d3954257e Refactor 'doom purge' & fix elpa purging
Wasn't picking up ELPA packages.
2019-12-28 14:02:07 -05:00
6396cbf6cd Refactor 'doom build' 2019-12-28 14:01:36 -05:00