Commit Graph

178 Commits

Author SHA1 Message Date
Henrik Lissner
c4c0a1faab
Merge pull request #844 from patrl/deftBinding
Adds a default binding for deft
2018-08-31 03:30:36 +02:00
Henrik Lissner
cab0ee33d1
ui/treemacs: fix SPC o P (treemacs-find-file)
Would create a blank treemacs window when invoked before a treemacs
window was first initialized.
2018-08-29 02:16:06 +02:00
Henrik Lissner
a57c0fbede
feature/lookup: remove devdocs support (for now)
devdocs-lookup is broken at the moment. devdocs search is still
available through +lookup/online as a provider however. This may be
reversed later, when (and if) we find a better devdocs backend.
2018-08-28 20:52:27 +02:00
Patrick Elliott
686929ad7a
Adds a default binding for deft under notes 2018-08-28 11:43:00 +02:00
Henrik Lissner
16d7b552f1
Bind M-` to other-frame on MacOS 2018-08-26 22:43:28 +02:00
Henrik Lissner
2aa509b36c
Fix left/right keys in helm
These should be set to left-char/right-char, anything else is
disruptive, especially when C-b and C-f are backward/forward-word.
2018-08-25 23:38:40 +02:00
Henrik Lissner
171c87aa2c
editor/format: general fix & refactor
+ Fixes function/command formatters (like #'gofmt)
+ Fixes formatting by region
+ Adds default keybindings:
  + gQ evil operator
  + SPC c f (normal mode) to format buffer
  + SPC c f (visual mode) to format selection
2018-08-25 00:06:12 +02:00
Henrik Lissner
469cc7fbc1
Remove up/down keybinds in helm 2018-08-24 19:28:03 +02:00
Henrik Lissner
d59f36eee1
Eval compile-command in :make
In case it is a set to a lisp form by a file local variable.
2018-08-24 17:53:21 +02:00
Henrik Lissner
62b9166871
Change :make to reuse last command
Unless given a command.
2018-08-24 12:36:16 +02:00
Henrik Lissner
9eee22e3fc
completion/helm: redesign keybindings
A more vim-friendly (and spacemacs-friendly) keybinding scheme.

May address #829
2018-08-24 01:47:44 +02:00
Henrik Lissner
34fcaec678
config/default: add SPC c f for formatting code
Powered by the new :editor format module.
2018-08-22 20:38:13 +02:00
Henrik Lissner
7be7a8b046
Rebind SPC o a -> org-agenda 2018-08-16 11:35:11 +02:00
Henrik Lissner
6a582d4f5f
Fix SPC / d
Use new +(ivy|helm)/project-search-from-cwd command
2018-08-15 23:35:12 +02:00
Henrik Lissner
f94b00887b
config/default: bind SPC b B/SPC b b appropriately
Depending on the status of feature/workspaces.
2018-08-13 21:47:56 +02:00
Henrik Lissner
4c8c9a2d09
Add "resume last search" keybind for ivy/helm #742 2018-08-11 01:59:37 +02:00
Henrik Lissner
541ce81b91
Fix #791: replace global-command-log-mode
global-command-log-mode isn't autoloaded, but
clm/toggle-command-log-buffer is, and if command-log-mode-is-global is
set, it is equivalent to global-command-log-mode.
2018-08-08 23:37:30 +02:00
Henrik Lissner
7f5e778b0c
Replace helm-swoop with swiper-helm
Swiper is superior. The downside is it pulls in ivy as a dependency, but
that is acceptable considering how small it is.
2018-08-04 19:54:54 +02:00
Henrik Lissner
74b700f9a7
Add copy-to-clipboard support to :gbr & +vc/git-browse 2018-07-31 16:33:16 +02:00
Henrik Lissner
71e71b9b83
Revert fe3a73c1: remap newline instead of binding RET 2018-07-30 13:08:52 +02:00
Henrik Lissner
fe3a73c118
Rebind RET rather than remapping newline
The remapping was global, preventing its use in insert mode anywhere.
Binding to RET is less destructive.
2018-07-30 02:57:50 +02:00
Henrik Lissner
2e25989dc5
undo-tree-enable-undo-in-region = nil
Try to save off the elusive and annoying "unrecognized entry in undo
list undo-tree-canary" error produced by undo-tree.
2018-07-29 17:41:59 +02:00
Henrik Lissner
ef4d5827a1
Fix gss/gsS (evil-snipe + evil-easymotion) 2018-07-17 02:36:58 +02:00
Henrik Lissner
b60c83f6d1
Add gz to evil-collection-key-blacklist 2018-07-13 13:29:43 +02:00
Henrik Lissner
574c62f85b
:cap => org-capture
+org-capture/dwim doesn't exist.

Reported by @ar1a
2018-07-13 12:46:08 +02:00
Henrik Lissner
95848ea5f6
Disable :todo for helm users
There is no +helm/tasks or +helm:todo.

Reported by @ar1a
2018-07-13 12:46:04 +02:00
Henrik Lissner
287460cb05
Add SPC o p/P keybind for treemacs/neotree
+ SPC o p invokes treemacs/neotree
+ SPC o P finds the current file in the treemacs/neotree pane
2018-07-11 13:06:05 +02:00
Henrik Lissner
f898469374
Fix avy-goto-char-timer keybind (gs<space>) 2018-07-10 21:47:47 +02:00
Henrik Lissner
93917fd8a2
Fix gsn/gsN & gs*/gs# evil-easymotion binds 2018-07-10 14:21:30 +02:00
Henrik Lissner
04b7b5f1ef
Add gs/, gs? & gs<space> evil-easymotion binds
Adds evil-search and avy-goto-char-timer interfaces to evil-easymotion.
2018-07-10 14:21:26 +02:00
Henrik Lissner
6829f6fca2
Fix consecutive invokations of SPC u #747 2018-07-09 20:38:10 +02:00
Henrik Lissner
1a068f82f1
Add +workspace/load-last-session
And fix the load last session button on dashboard.
2018-07-07 11:41:24 +02:00
Henrik Lissner
cf55049a17
Disable sp-ruby-*-handler handlers correctly
Reported by @ar1a
2018-07-07 00:32:45 +02:00
Henrik Lissner
633b5b764d
Apply smartparens {} fix to enh-ruby-mode too
Fixes:

  {|} => {
    |
  }

in enh-ruby-mode buffers too

Reported by @ar1a
2018-07-06 15:34:26 +02:00
Henrik Lissner
57bad58dea
Fix SPC h D keybind (wrong command name) 2018-07-04 23:09:07 +02:00
Henrik Lissner
99ab08afe8
Add SPC o a keybind (org-agenda-list) 2018-07-04 14:09:56 +02:00
Henrik Lissner
00e23db0b0
Fix workspace restore/load workspace keybinds
As well as keybind on dashboard.
2018-07-04 13:40:44 +02:00
Henrik Lissner
2764bc6ed5
Remove many conflicting emacs-state keybinds #734
The impact many of these keybinds would have on Emacs state weren't
thought through and end up rebinding important keys.
2018-07-03 03:41:08 +02:00
Henrik Lissner
2e0d6a7c3d
Fix workspace switch-buffer keybinds 2018-06-30 17:41:20 +02:00
Henrik Lissner
9b2100dfe7
Fix input-decode-map binds in emacsclient frames 2018-06-29 22:21:03 +02:00
Henrik Lissner
dc8c01f17f
Add +default/newline alias
Forgot to add it in 08beff91
2018-06-28 14:46:33 +02:00
Henrik Lissner
08beff91da
Bind RET/C-j instead of remapping newline
RET -> newline-and-indent
C-j -> newline

This is basically the opposite of the Emacs default.
2018-06-28 14:40:11 +02:00
Henrik Lissner
ac1b1995b5
Conditionally bind persp-switch-to-buffer
In the case :feature workspaces is disabled.
2018-06-26 18:58:06 +02:00
Henrik Lissner
8a4f15b01c
Refactor smartparens default rules
Move them to config/default, but move single-lang-specific ones to their
respective modules.
2018-06-25 15:54:38 +02:00
Henrik Lissner
4ad9e18135
+default/easymotion => +evil/easymotion 2018-06-22 12:02:31 +02:00
Henrik Lissner
ab01e0167d
Fix evil-easymotion lazyloading middleman
It would fire off the wrong prefix when no operator was active (thus
passing nil to where-is-internal).

Reported by @ar1a
2018-06-22 10:24:48 +02:00
Henrik Lissner
60779c9aed
feature/version-control => ui/vc-gutter, emacs/vc
Reorganize vcs functionality. Moves the custom fringe bitmaps into :ui
vc-gutter.
2018-06-22 01:49:20 +02:00
Henrik Lissner
3e802c1b15
Fix +default/easymotion aborting evil operator
Now evil operators will work with +default/easymotion when you first
startup Emacs.

Reported by @ar1a
2018-06-20 18:39:44 +02:00
Henrik Lissner
d6706734a2
SPC q r -> restart & restore emacs
And SQP q R -> restart emacs (but don't restore)
2018-06-19 15:25:30 +02:00
Henrik Lissner
615735a404
Add exato (x/html attribute text objects for evil)
Bound to x
2018-06-18 23:46:14 +02:00