Commit Graph

944 Commits

Author SHA1 Message Date
64dfc709bf Fix #3729: config.org not getting tangled
Because the wrong file is being inserted into the temporary org buffer,
org never finds anything to tangle!
2020-08-11 14:00:33 -04:00
eb9cb0c6e9 Fix org version conflicts due to literate config #3649
Tangling would load org libraries. If org hasn't been installed yet,
this means the older version is loaded, later interfering with the
installation and byte-compilation of the new package, causing down the
road.
2020-08-09 01:50:42 -04:00
2e6902f7ae Unbind TAB in comint buffers
They usually handle their own completion keybinding on TAB.
2020-08-09 01:50:41 -04:00
d8908a0c32 Fix +default/newline indenting after newline
This was intended to be newline minus indent, since newline itself is
remapped to newline-and-indent.
2020-08-08 03:02:37 -04:00
d2bc2ff44b config/literate: improve tangling algorithm
- Tangling no longer adds temp files to recentf (#3685)
- If :tangle yes is used, the result is no longer tangled to
  /tmp/config.org.*.el
- In interactive sessions the org buffer is no longer interfered with
  when tangling (by scrolling up to the top of the page, or undoing
  overlays/markers).
- Tangling no longer triggers formatters (or any save/write hooks).
- Appease byte-compiler sama, complaining about free variables.
2020-08-08 02:57:04 -04:00
4cbc2abb09 Don't invoke company on C-SPC if in minibuffer
In case of evil-collection-setup-minibuffer = t
2020-08-07 20:15:15 -04:00
2c0cbec7c8 Fix universal {C,s}-RET keybinds in tty Emacs
And reformat all X-RET keybinds.
2020-08-05 18:26:07 -04:00
c6766c293d C-down-mouse-2 -> reset text-scale
Make this universal. Also removes redundant C-mouse-{4,5} mouse
bindings, they're already bound by mouse-wheel-mode.
2020-08-05 18:26:07 -04:00
863eb82efd S-RET -> insert literal newline
A convention on many text editors and applications is to make RET
auto-indent new lines. That has already been done. Another convention is
for S-RET to insert an unindented line; this commit adds this convention
to Doom.

Relevant to #3694
2020-08-05 18:26:06 -04:00
00a8f750ed Fix wrong-type-arg: stringp when tangling config.org 2020-08-05 03:32:21 -04:00
01c5c35686 Fix #3688: failure tangling config.org 2020-08-04 18:04:15 -04:00
f641bf4554 Fix 'void-variable: backup' error
Fixes my fix for #3685
2020-08-04 13:58:40 -04:00
8580b53e8e Fix #3685: don't mutate org buffer when tangling
If the buffer doesn't change, the cursor won't move.
2020-08-04 13:43:14 -04:00
f82775fead Fix 'Wrong type argument: commandp, +default/search-project'
Regression from #3656
2020-07-31 02:42:35 -04:00
6a4283c9d4 More convenient search buffer 2020-07-31 12:55:49 +07:00
6a64f37435 Minor refactors & revision across the board 2020-07-31 01:39:24 -04:00
9c96feba56 Fix wrong-type-arg stringp error on +default/dired
When selecting a directory.
2020-07-27 18:09:57 -04:00
87199113bd SPC f d -> +default/dired
+default/dired will prompt you for a directory to open dired in. If
passed the universal argument, it will prompt you for a known project
instead.
2020-07-26 18:40:42 -04:00
12e414be89 Rename +org/toggle-clock -> +org/toggle-last-clock
And rewrite it to ask for confirmation before clocking in on the item at
point. Without this, it's much harder to see what exactly it's doing.
2020-07-26 15:55:11 -04:00
8da31dbbab config/literate: update & revise readme 2020-07-25 22:38:37 -04:00
711e687709 config/literate: expand #+INCLUDE directives
It's surprising that tangling doesn't expand #+INCLUDE directives. It's
so useful for literate configs I decided to expand them manually before
tangling (and relative to DOOMDIR, unless given an absolute path).
2020-07-25 22:33:52 -04:00
ff21dfe532 Revise :config literate README
Closes #3621

Co-authored-by: Carl Lange <carl@flax.ie>
2020-07-24 15:24:28 -04:00
3aeb177847 Add +literate-enable-recompile-h to enable save-on-tangle 2020-07-24 15:21:44 -04:00
83faa84591 Fix backspace advice with multi-character sp pairs 2020-07-23 01:26:03 -04:00
2a325167f8 Merge pull request #3249 from sei40kr/eglot-improve
tools/lsp: improve eglot support
2020-07-22 20:41:22 -04:00
14d6a19462 fix for #3266: wrong-type-arg stringp from format (#3599)
Triggered e.g. by pdf-tools-install when tangling literate config on
interactive save and epdfinfo is missing
2020-07-20 22:13:50 -04:00
ab93f61df3 Fix emacs binding for toggling org-tree-slide-mode
org-tree-slide-mode toggling binding was calling a
non-existing (obsolete?) function.
2020-07-16 16:07:16 +02:00
2cedf150ec Fix #3268: overeager deletion of closing parens
Close #3566
2020-07-15 15:17:55 -04:00
20c617bc30 Only bind keys when workspaces module enabled 2020-06-26 01:48:39 -04:00
7e52383273 Resolve a key binding conflict
Fix the key binding for "Find implementations" conflicts with
"Jump to symbol in any workspace".
2020-06-24 02:01:10 +09:00
d8c6030a14 tools/lsp: Use general implementation lookup handler 2020-06-24 01:56:26 +09:00
6798966f78 editor/format: Use eglot LSP formatter 2020-06-24 01:56:26 +09:00
d3b1664081 config/default: Fix evil LSP key bindings 2020-06-24 01:56:26 +09:00
0e9bb3e6eb Wording 2020-06-21 18:57:36 +05:30
e0c3ffba0c Add keybinding for org-roam-insert-immediate 2020-06-21 18:47:11 +05:30
6ff3b7aa1e Bind a link-hinting key for geiser-doc-mode 2020-06-19 14:45:31 +10:00
c0b7ff0f9d Merge pull request #3347 from leoalekseyev/mygithub/develop
Don't set prefix-arg when delegating to ivy/helm from +default/search-project
2020-06-10 20:57:57 -04:00
8dd55901c3 Don't set prefix-arg when delegating to ivy/helm from +default/search-project
The prefix arg for +default/search-project is intended to enable the
user to pick search location, however when it propagates to the ivy
search function it turns on the "search ignored files" functionality,
which us typically not intended and, furthermore, can be (if desired)
turned on simply by typing the search command in, for exampe,
counsel-rg's case as `-uu -- mysearchterm`
2020-06-10 03:50:25 -07:00
10cc279e74 Merge pull request #3333 from Bounga/fix/emacs-binding-to-jump-to-channel-in-irc-app
Fix typo in function name binded to jump to an IRC channel
2020-06-10 03:00:45 -04:00
9f00dd4920 Warn if projectile-project-search-path is empty
When using +default/discover-projects
2020-06-10 02:55:59 -04:00
345f191376 Fix typo in function name used to jump to an IRC channel using Emacs keybindings 2020-06-08 17:51:29 +02:00
9cc98c73d4 Remove redundant condition 2020-06-07 02:31:12 -04:00
2685fb2141 Merge pull request #3311 from marcusramberg/marcus/macos_keychain
Updates for macos module
2020-06-06 18:18:13 -04:00
a217a935fd updates for macos module
Add support for keychain
Add README.
Add shortcut for open in iTerm.
2020-06-06 09:02:36 +02:00
e7678f4749 Fix #3309: evil keybind for vanilla users 2020-06-05 16:05:55 -04:00
7a8bf22e41 Change gzu to delete cursors in visual selection
Will still undo last cursor in normal mode.
2020-06-05 00:33:57 -04:00
51ffacb4d9 Fix gzz not toggling evil-mc cursors in normal mode 2020-06-05 00:12:26 -04:00
8bf902d5f4 General refactors & reformatting across the board 2020-06-04 20:13:28 -04:00
03e678958f Remove space from mc prefix map
Change the space of the multiple-cursors keymap to a "-".
2020-06-02 12:42:58 +02:00
a4b4ea67eb Bind C-x C-b to ibuffer
Instead of ibuffer-list-buffers, which opens the buffer list in another
window without focusing it.
2020-06-01 18:13:59 -04:00