Commit Graph

5038 Commits

Author SHA1 Message Date
Henrik Lissner
035a0a50e6
lang/org: change many org localleader keybinds
- Moves `SPC m s' to `SPC m b'
- Adds many new org-clock and org-goto keybinds
- Replaces imenu/imenu-anywhere with goto and goto-all
- Adds SPC m s -> org-schedule
- Move SPC m b -> SPC m , (org-switchb)
2019-04-05 04:12:56 -04:00
Henrik Lissner
cb5abcea0e
Add tools/direnv module 2019-04-05 03:16:37 -04:00
Henrik Lissner
dfc21e1157
tools/editorconfig: fix syntax error
Typo introduced in 8cd0a31a
2019-04-05 03:14:13 -04:00
Henrik Lissner
038e0196c7
Merge pull request #1283 from aiverson/develop
Add Module for terralang
2019-04-05 02:19:24 -04:00
Henrik Lissner
8cd0a31aef
Register terra-indent-level with editorconfig 2019-04-05 02:18:16 -04:00
Henrik Lissner
3ba364a0a9
Remove unnecessary config
- smartparens-terra doesn't exist
- terra-indent-level has a sensible initial value, so it doesn't need to be reset
2019-04-05 02:15:23 -04:00
Henrik Lissner
e83a6cbaa1
Turn comment headings into outline-mode headers
Also reformats a few keybinds with incorrect indentation.
2019-04-05 01:24:55 -04:00
Henrik Lissner
5cdb96888f
config/default: refactor/reformat help keybinds
Reduce internal usage of map! and improve readability of comments for
help-map binds.
2019-04-04 22:38:46 -04:00
Henrik Lissner
31ca94f5b0
lang/org: remove unnecessary alias 2019-04-04 19:00:56 -04:00
Henrik Lissner
5a50820cd9
Bind z= -> flyspell-correct-word-generic
z= is a vim default. `flyspell-correct-word-generic` is superior to the
original command bound to z= (ispell-word).
2019-04-04 18:53:04 -04:00
Henrik Lissner
6084b774b8
lang/org: refactor and add keybinds for org tables
This update focuses on improving the key UX of org tables.

- Adds new table localleader keys under `SPC m s'
- Adds new localleader keybinds
  - New `s` prefix for table commands
  - New `f`/`F` keybinds for footnotes
  - New `'` keybind for `org-edit-special`
  - New `r` keybind for `org-refile`
- Bind localleader keys for both evil and non-evil users
- Refactors org table API
- For evil users:
  - Adds `zi` to toggle inline images
  - Finalize insert-mode keybind scheme for evil users (ala excel/gdocs)
    - C-{h,j,k,l} = move cursor between cells
    - C-M-{h,j,k,l} = insert cells in direction
    - C-M-S-{h,j,k,l} = swap cells in direction
2019-04-04 18:52:25 -04:00
Henrik Lissner
3a47c27dd6
lang/org: fix C-S-{h,l} in tables
Supposed to create new column on the left and right, respectively.
Instead, always created columns on the right.
2019-04-04 17:15:58 -04:00
Henrik Lissner
d3784a0074
lang/markdown: remove opinionated formatting
Don't adjust line-spacing or fill-column, this interferes with global
defaults as is too opinionated.
2019-04-04 16:47:52 -04:00
Henrik Lissner
bf2aedc510
lang/org: rethink flyspell keybinds
- Remove ]s/[s keybinds in org-mode (rebound to ]c/[c); they overwrote
  next/prev flyspell error commands (which are vim defaults)
- Remove ]S/[S because z= already exists
- Remove redundant ]s/[s global keybinds (already bound by evil)
- Mention missing and evil's flyspell keybinds in a comment
2019-04-04 13:50:44 -04:00
Henrik Lissner
4b631f07ef
Apply smartparens config to all users
Not just evil users.
2019-04-03 19:15:02 -04:00
Henrik Lissner
9648af6f30
Fix keybinds to reflex helm-occur changes upstream
See emacs-helm/helm@f0f17413
2019-04-03 01:40:58 -04:00
Henrik Lissner
ea857aa553
feature/eval: improve REPL error handling
Emit more informative error messages depending on the problem.
2019-04-02 18:22:01 -04:00
Henrik Lissner
a49a9fee3a
lang/haskell: fix +haskell/open-repl
REPL handlers must return a buffer but display-buffer returns a window.
2019-04-02 18:21:34 -04:00
Henrik Lissner
2c81ee4d98
tools/flyspell: minor refactor
- Allow flyspell-correct-* packages to be disabled by the end-user
  without breaking errors.
- Tie proselint detection to flycheck (which is what uses it)
2019-04-02 15:47:09 -04:00
Henrik Lissner
ca32f7b7d1
app/rss: improve entry readability
By not using variable-pitch fonts in the SHR-converted output and
allowing images to be larger than 60% of the window's width.

Also corrects the docstring for +rss|elfeed-wrap, promising to use
`visual-fill-column-mode` when it doesn't (and never did).

Also changes `=rss` to an alias.
2019-04-02 15:47:09 -04:00
Henrik Lissner
3310f9dfe2
tools/gist: open gists in non-popups
- Removes +gist/kill-cache (gist-list and gist-list-user with a
  universal argument already does this).
- Removes +gist/open-current. No longer necessary when gists aren't
  opened in popups.
- Makes keybinds more consistent with other "porcelains", like elfeed's
  or magit.
2019-04-02 15:47:09 -04:00
chrunchyjesus
1f1e4d8d83 fix typo (#1303) 2019-04-02 15:37:52 -04:00
Henrik Lissner
5e7638d061
Merge pull request #1287 from mfiano/common-lisp-bindings-fix-1
Changed some wrong common-lisp bindings
2019-04-02 15:35:59 -04:00
Henrik Lissner
7286b32322
Merge pull request #1273 from UndeadKernel/choose_spellchecker
Choose which spell checker flyspell will use
2019-04-02 14:06:22 -04:00
Henrik Lissner
6a99d7840b
Correct minor typo in warning message 2019-04-02 14:04:10 -04:00
Henrik Lissner
a08e00c4d4
Refactor aspell/hunspell initialization 2019-04-02 14:03:27 -04:00
Henrik Lissner
67506ec765
Merge pull request #1294 from jscott22/calendar_width
Create calfw calendar with correct grid width
2019-04-02 13:16:58 -04:00
Henrik Lissner
823f47864c
Merge pull request #1288 from mfiano/common-lisp-local-leader-labels
Fix common-lisp local leader prefix labels
2019-04-02 13:14:32 -04:00
Henrik Lissner
5b890757e1
Add which-key labels for leader/localleader keys 2019-04-02 02:42:38 -04:00
Henrik Lissner
5c3188afd5
editor/format: fix +format/region-or-buffer
The `r` interactive spec barfs an error if no mark is active, preventing
this function from ever calling `+format/buffer`.

Reported by @amosbird
2019-04-02 00:52:10 -04:00
Henrik Lissner
3eaa57c747
Add packages.json to projectile root files #1295 2019-04-02 00:52:10 -04:00
Henrik Lissner
79e8a466a3
tools/flycheck: change idle delay behavior
Flycheck will now wait longer to check for errors when the last check
produced no errors, and quicker when there are. It will also avoid
displaying flycheck-posframe if in insert mode (as it can disturb cursor
positioning and change evil state in some edge cases).
2019-04-02 00:52:09 -04:00
Henrik Lissner
9d1aae6a0f
Merge pull request #1300 from zeronone/patch-1
Add vterm-mode to evil-escape-excluded-major-modes
2019-04-02 00:29:19 -04:00
Henrik Lissner
390edee702
ui/fci -> fill-column: replace fci w/ hl-fill-column
fci was buggy, slow and presented numerous incompatibilities with other
modes. It is also unmaintained.

Relevant to #1045
2019-04-01 13:44:20 -04:00
Henrik Lissner
5bcab488a7
Add {vc,git-gutter}-mode checks to vc refresher 2019-04-01 13:21:25 -04:00
Henrik Lissner
5b43b2840b
Fix RET/TAB company keybinds in GUI Emacs 2019-04-01 13:12:03 -04:00
Henrik Lissner
bdd410cb9c
Refresh vc on-demand after quitting magit #1298
To avoid the long delay when you have many buffers open while quitting
magit.
2019-04-01 13:12:00 -04:00
Arif Rezai
0cfbdc1f3c
Add vterm-mode to evil-escape-excluded-major-modes
`jk` doesn't work as expected in `vterm`. 

Do I need to also check for `vterm` feature flag?
2019-04-01 10:56:47 +09:00
Henrik Lissner
445673b0be
Remove reference to old variable in do-repeat! 2019-03-30 13:57:23 -04:00
Henrik Lissner
848399fec1
Add C-c C-e to invoke wgrep from project search
To be consistent with helm-ag-edit
2019-03-30 13:27:09 -04:00
Jason Scott
1ca499bafb adds to falsely branch in case invoked from splash 2019-03-30 16:05:33 +01:00
Jason Scott
5c15934733 fixes calfw calendar creation width 2019-03-30 11:23:02 +01:00
Henrik Lissner
838edcea59
Add org export-to-clipboard commands & ox-clip
These work from markdown-mode as well as org-mode. Also adds
+org/export-to-clipboard-as-rich-text for pasting org/markdown rendered
as RTF.
2019-03-30 02:18:33 -04:00
Henrik Lissner
da02fa8c38
lang/markdown: add markdown-command check 2019-03-30 02:17:52 -04:00
Henrik Lissner
be6efd8dbf
Fix wrong-num-of-args on +eval/open-repl-same-window #1291 2019-03-30 00:09:12 -04:00
Henrik Lissner
49bbc7107f
Disable fuzzy matching for counsel-rg #1292 2019-03-30 00:07:57 -04:00
Henrik Lissner
99aefd6e02
Disable projectile cache during elfeed-db-compact 2019-03-29 03:52:24 -04:00
Henrik Lissner
7eb479e3f7
config/literate: set config.el as default target 2019-03-29 03:40:56 -04:00
Michael Fiano
0b2f18542c Fixed bug where sly-db-quit was not being called 2019-03-28 22:31:06 -04:00
Michael Fiano
275bea568e Added more bindings 2019-03-28 21:40:06 -04:00