Commit Graph

647 Commits

Author SHA1 Message Date
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
Henrik Lissner
fecf68bb2a
Bind 'SPC s L' to ffap-menu 2019-12-13 17:31:11 -05:00
Henrik Lissner
0ec0ff5ecb
Minor refactors; unbind F1 from company active map 2019-12-13 14:25:30 -05:00
Henrik Lissner
c8cfa31a1e
lang/org: add goto-visible & refile-to-visible commands
- Bind 'gsh' to goto-visible command in org-mode
- Bind '<localleader> g v' to goto-visible
- Bind '<localleader> r v' to refile-to-visible
- Add avy package to lang/org module

Powered by avy.
2019-12-06 17:01:58 -05:00
Henrik Lissner
6cf17b1237
config/default: rebind 'SPC n {c,C,n,S}'
'SPC n c' -> Toggle last org clock
'SPC n C' -> Cancel current org clock
'SPC n n' -> org-capture
'SPC n S' -> Search org-directory headings

Closes #2043
2019-12-06 13:38:57 -05:00
Henrik Lissner
0b3895d1e2
Unbind '<help> {/,d /}' 2019-12-06 01:24:25 -05:00
Henrik Lissner
4faa9f7ce2
Rebind '<help> d s'; bind '<help> d x' 2019-12-06 01:22:58 -05:00
Henrik Lissner
6f1665563c
Error if +default/lsp-format-region-or-buffer in non-lsp buffer 2019-12-04 23:32:13 -05:00
Brian Wignall
199a6fab79 Fix typos 2019-12-01 22:31:19 -05:00
Henrik Lissner
12c36187be
Merge pull request #2037 from RBckmnn/KeyBindingsHelpCommands
config/default: add keybinds to display keymaps
2019-12-01 15:43:23 -05:00
Henrik Lissner
5e4e1d7a79
Move SPC n {n,N} to SPC n {f,F}; add SPC n o
- For consistency with out find-file commands in other prefixes
  - 'SPC n n' -> 'SPC n f'
  - 'SPC n N' -> 'SPC n F'
- New keybinds
  - 'SPC n n' = +default/org-notes-headlings (search headings in
    org-agenda-files)
  - 'SPC n o' = org-clock-goto
2019-12-01 15:42:04 -05:00
Henrik Lissner
35ce37532b
ui/workspaces: merge +ivy/workspace/switch-to into +workspace/switch-to
Relevant to #2127
Closes #2130
2019-12-01 15:41:28 -05:00
Rudi Grinberg
296d5aed0f Fix typo
Missing + in function name
2019-12-01 17:24:47 +07:00
Rudi Grinberg
7b7cf327ab Use ivy to switch workspaces when user uses ivy 2019-12-01 16:17:33 +07:00