Commit Graph

778 Commits

Author SHA1 Message Date
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
75b6e11f56 Merge pull request #3020 from gagbo/feature/eglot-support
Add support for eglot as LSP client implementation
2020-05-28 15:20:24 -04:00
776663cb45 Fix #3217: backspace noops if tab-width=1 2020-05-28 05:51:56 -04:00
718d9a2690 [review] Changes 2020-05-28 11:17:55 +02:00
b5c0005dee add config/literate readme (#3033)
* add config/literate readme

* Fix personal config paths

It also works from $HOME/.config/doom as @tecosaur said.

* fixes
2020-05-28 03:43:01 -04:00
98b3153df2 [review] Fix emacs bindings 2020-05-28 09:34:18 +02:00
bde772103d [eglot] Add emacs bindings 2020-05-28 09:34:18 +02:00
3e5b7cce3f [eglot] Add support for eglot lsp client in emacs
- Update README
- Add eglot-specifics to cc, rs, py, hs
  removing unused lsp-mode packages when eglot is active
- Add eglot-specific bindings
- Add doctor warnings for debugger +lsp and +peek
- Add eglot-backed lookup-handlers
- Add flycheck checker using eglot for :checkers
  syntax users (using flycheck/flycheck#1676 and
  flycheck/flycheck#1592 discussion).
  This implementation is based on @marsam code, and uses recent
  Flycheck development in order to make the code smaller and
  easier to maintain.
2020-05-28 09:34:10 +02:00
a9bf0b8985 Add cmd!, cmd!!, cmds! convenience macros
It's kind of silly that our command lambda macros (λ! and λ!!) need a
snippet, special key sequence or copy-paste to insert, so in the spirit
of fn! -- and to make sure they take up less space than `lambda!` --
I've added `cmd!` and `cmd!!` aliases. `lambda!` and `lambda!!` are now
deprecated. λ! and λ!! will remain.

I've also added `cmds!` as a convenience wrapper around
general-predicate-dispatch.
2020-05-27 18:29:35 -04:00
77a4e8f8a7 Fix switch-project completion defaulting to current project
Affects doom/browse-in-other-project, doom/find-file-in-other-project,
+default/search-other-project and
+default/search-project-for-symbol-at-point.

When performing a text or file search in "another project", prior to
this update the current project would be the first highlighted
candidate, which doesn't make much sense when you're invoking a command
for searching *other* projects.
2020-05-26 14:06:19 -04:00
e1f73bd7cb Fix void-function +literate-tangle-h on saving org files 2020-05-26 01:00:49 -04:00
d1fcbf244b doom/toggle-debug-mode -> doom-debug-mode 2020-05-25 20:18:36 -04:00
1916d26c75 Fix void-function +literate-tangle 2020-05-25 18:18:10 -04:00
20cddb3565 config/literate: fix tangling on 'doom sync' 2020-05-25 16:03:34 -04:00
c690ed600a lang/swift: add pair rule for string interpolation 2020-05-25 03:43:40 -04:00
830e1289aa Bind SPC g G -> magit-status-here
And recenter after invoking it.
2020-05-24 16:32:19 -04:00
7fc7c35051 bindings: update bindings / add remote bindings 2020-05-18 22:14:59 +02:00