Commit graph

882 commits

Author SHA1 Message Date
Henrik Lissner
b72e00b6ca
Bind SPC p D to +default/discover-projects
Closes #2601
2020-02-25 11:11:24 -05:00
Henrik Lissner
8de7a6e53d
Bump :config default
noctuid/link-hint.el@8d8f950 -> noctuid/link-hint.el@0d9cabc
magnars/expand-region.el@0fa7c2d -> magnars/expand-region.el@1603d01
2020-02-24 20:35:59 -05:00
Henrik Lissner
b30f38ac06
Minor refactor & reformatting across the board 2020-02-23 15:42:43 -05:00
Henrik Lissner
80b5c8a30f
Remove Fuco1/smartparens#963 workaround
Causes double closing parens in 27.
2020-02-21 23:20:43 -05:00
Undead Kernel
925ff39337 bindings: correct description type-o 2020-02-18 15:17:31 +01:00
Henrik Lissner
114be4af57
Don't use c-toggle-{electric-state,auto-newline} globally
Fixes an odd error where:

1. You open an elixir-mode buffer
2. elixir-mode sets `mode-name` to a non-string value
3. cc-mode is pulled in by one of its dependencies
4. `c-toggle-electric-state` is called from the config/default module
5. Which calls `c-update-modeline`
6. Which operates on `mode-name` and assumes it is a string
7. And a wrong-type-argument: stringp error is thrown
2020-02-16 02:26:38 -05:00
Henrik Lissner
524985ed81
Fix reference to removed command
Removed in e241fa347
2020-02-11 03:47:15 -05:00
Henrik Lissner
ed24a4c857
Fix prematurely terminated sexp 2020-02-11 03:47:08 -05:00
Henrik Lissner
39e43d9371
Merge pull request #2512 from facelesspanda/smerge-hydra
evil: smerge hydra on `SPC g m`
2020-02-11 03:25:40 -05:00
Henrik Lissner
493b85c396
Wait a second before restarting server
sit-for doesn't necessarily do so if emacs recieves input during.
2020-02-11 03:21:44 -05:00
Clement Busschaert
e5760a2238
evil: smerge hydra on SPC g m 2020-02-10 08:38:34 +01:00
Henrik Lissner
01aadd8900
Fix vestigial org easymotion keybind 2020-02-08 21:47:04 -05:00
Henrik Lissner
047ea8dab5
Update & fix org-tree-slide-mode integration 2020-02-02 16:02:28 -05:00
Henrik Lissner
a9402cfb55
Fix #2373: bring back package pinning
This needs some serious refactoring...
2020-01-25 19:02:00 -05:00
Henrik Lissner
8c7811a7a5
Merge pull request #2287 from UndeadKernel/feat-emacs_bindings
config/default: update & redesign vanilla keybinds
2020-01-20 02:29:27 -05:00
Henrik Lissner
bee7798a50
Fix default encryption recipient detection 2020-01-18 20:51:58 -05:00
Henrik Lissner
4cc14389e8
PIN ALL THE PACKAGES 2020-01-14 22:32:11 -05:00
Henrik Lissner
12094788d7
Fix references to :tools fly{spell,check} 2020-01-14 03:04:26 -05:00
Niklas Carlsson
1cf402926b Update feature check of flycheck in evil-bindings
This patch updates the check for enabling flycheck bindings to the new
module location.
2020-01-13 12:51:22 +01:00
Henrik Lissner
27bf3c85b5
Generalize thing-at-point & region functions 2020-01-03 02:39:47 -05:00
Henrik Lissner
7f654f1566
Bind SPC s {t,T} for dictionary/thesaurus lookups 2020-01-02 21:16:01 -05:00
Henrik Lissner
f313c77ac7
Merge pull request #2289 from r-darwish/lsp-code-action
Add evil binding to lsp-execute-code-action
2020-01-02 19:57:15 -05:00
Undead Kernel
91665df40b bindings: default emacs up to the state of the art
Added `toggle` (C-c t), `code` (C-c c), `open` (C-c o) and `insert` (C-c i) bindings.
Moved org bindings from the `C-c o` to the `C-c n` prefix.
Updated the `file` (C-c f) and `quit` (C-c q) bindings.
Removed the `terminal` bindings, now under `open` (C-c o).
Removed standalone bindings for the REPL (now under `open` (C-c o)).
2020-01-02 18:32:20 +01:00
Henrik Lissner
37ba1d8864
Bind 'SPC b {m,M}' & 'SPC s m' to bookmarks
And move former 'SPC s m' (evil-show-marks) to 'SPC s r', since it is
slightly less useful do to evil having native keys for jumping to marks:
` ' and :marks
2020-01-02 04:52:30 -05:00
Roey Darwish Dror
3661406e74 Add evil binding to lsp-execute-code-action 2020-01-02 11:36:10 +02:00
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
445ba1a46d
Minor refactors & comment revision across the board 2019-12-31 19:18:02 -05:00
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
a488c308bb
config/default: fix switch-buffer keys for vanilla users
Closes #2256
2019-12-26 14:47:53 -05:00
Henrik Lissner
adc8cba14b
Revise docstrings & minor reformatting 2019-12-26 01:41:44 -05:00
Henrik Lissner
914b9b0424
config/default: make ace-link fallback to avy-link-addr
And present avy overlays even if there is only one candidate, as the
alternative is jarringly unpredictable, unless you're expecting it.
2019-12-24 19:21:45 -05:00
Henrik Lissner
5e4cbc2654
Merge pull request #2229 from seanfarley/smf/vanilla-bindings
config/default: add more leader keys for vanilla users
2019-12-24 14:36:54 -05:00
Henrik Lissner
f04af0b8a2
Bind 'SPC b u' to save current file as root 2019-12-24 14:25:08 -05:00
Henrik Lissner
b88ff2a563
Fix s-backspace for non-evil users 2019-12-23 17:21:30 -05:00
Henrik Lissner
d1becfce89
config/default: reorganize autoloads 2019-12-23 17:20:19 -05:00
Henrik Lissner
b144a3862a
Bind 'SPC h d S' to text search; expand ivy/helm file-search API 2019-12-23 01:51:43 -05:00
Sean Farley
d3346fa32f bindings: add search section to vanilla keys 2019-12-21 15:32:24 -08:00
Sean Farley
85d93511f7 bindings: add `org-pomodoro' to org key prefix 2019-12-21 15:20:48 -08:00
Sean Farley
7e75f569d9 bindings: add 'r' for remote functions
`C-c r` isn't taken and makes sense to copy this from the evil bindings.
2019-12-21 14:34:44 -08:00
Henrik Lissner
bbd02c8fca
evil-want-C-w-delete = t & remove C-b/C-f keybinds
M-b and M-f already exist for moving by word, so I'll leave C-b and C-f
to their defaults.
2019-12-21 03:44:44 -05:00
Henrik Lissner
c1879945fd
Replace doom/backward-kill-to-bol-and-indent
WIth new evil-delete-back-to-indentation, with behaves exactly as C-u
does in vim.
2019-12-21 03:30:44 -05:00
Henrik Lissner
27cabea6b6
Fix gs in org-mode #2218
Also makes +evil/easymotion generic; it can now be moved to any key, and
new keys can be added to the <easymotion> event, rather than having to
wait for evilem-map to become available.

Also fixes +org/goto-visible if used before avy is loaded.

Relevant to #1672
2019-12-20 13:40:06 -05:00
Henrik Lissner
ea9126a883
ui/zen: add README.org & 'SPC t z' keybind 2019-12-20 01:09:59 -05:00
Henrik Lissner
322bca710a
General refactors & reformatting 2019-12-20 00:59:52 -05:00
Gerry Agbobada
f5d1081cde Add lsp-ivy and helm-lsp when :tools lsp (#2162)
* Add lsp-ivy and helm-lsp when :tools lsp
* Review

- Move the packages to :tools lsp
- Add bindings to config/+evil-bindings.el (no change to +emacs since
  there was no 'code' prefix)
- Move README section
- Move the packages to :tools lsp
- Add bindings to config/+evil-bindings.el (no change to +emacs since
  there was no 'code' prefix)

* FUp filechange noise
2019-12-19 18:49:27 -05:00
Henrik Lissner
a999a0ddd6
General refactors & comment revision 2019-12-19 14:51:34 -05:00
Henrik Lissner
bb702acfd0
emacs/vc: replace git-link w/ browse-at-remote
git-link is no longer maintained and browse-at-remote has support for
more remotes.

- Bind '<leader> g o h' to open homepage in browser
- Rebind '<leader> g o o' to open file or region (omits the #L<N> suffix
  if no selection is active).
2019-12-15 01:55:02 -05:00