Commit graph

2468 commits

Author SHA1 Message Date
Henrik Lissner
d28c64b4fa
General refactor & cleanup 2017-09-02 16:39:51 +02:00
Henrik Lissner
6947fd72c3
org: set org-ellipsis to downward chevron
This is no longer set by doom-themes.
2017-09-02 16:15:12 +02:00
Henrik Lissner
6439d7abee
Add elfeed-(show|search)-mode to evil-snipe-disabled-modes 2017-09-02 16:14:27 +02:00
Henrik Lissner
bb5907cadb
Rethink smartparens config #181
+ Parts of my smartparens config that were personal preference have been
  moved to my private module.
+ The css-mode config was redundant and was removed
+ Moved lang-specific config to their respective modules
+ Markdown config was redundant with native electric support, and thus
  removed.
2017-09-02 16:11:21 +02:00
Henrik Lissner
33f45f5739 Merge pull request #176 from bandresen/truncate-modeline
Add: ui/doom-modeline: show project-root but truncated
2017-08-22 00:55:11 +02:00
Henrik Lissner
e1f7d76bc5
Prevent private commands from affecting projectile cache
This causes projectile-project-root to act strangely, because my private
project navigational commands were rewriting the projectile cache.
2017-08-21 22:31:13 +02:00
Henrik Lissner
1b8970786d
lang/sh: remove unused setup.sh 2017-08-21 21:55:34 +02:00
Henrik Lissner
8e0e4d67b1
Convert +ivy/switch-buffer to transformers + add mode icons #169 2017-08-21 21:54:12 +02:00
Henrik Lissner
11e55a5a4f
Add *.org file template 2017-08-21 21:52:48 +02:00
Henrik Lissner
ce723d63cc
Add file template for doom module READMEs 2017-08-21 21:51:29 +02:00
Henrik Lissner
4ff80cf416
Add READMEs for several modules 2017-08-21 21:51:29 +02:00
Henrik Lissner
cbabf6849c
Standardize module READMEs 2017-08-21 20:13:31 +02:00
Henrik Lissner
b7d0f4dc3f
Simplify modules/private/README.org (replaced by wiki) 2017-08-21 20:13:30 +02:00
Henrik Lissner
0b2e3e8c81
Remove modules/README.org (replaced by wiki) 2017-08-21 20:13:30 +02:00
Henrik Lissner
ee1875ffd4
Add feature/workspaces/README.org 2017-08-21 20:13:30 +02:00
Henrik Lissner
f0cad4673c
Revise modules/private/README.org 2017-08-21 20:13:30 +02:00
Brandon Orther
e07972cffb Gracefully handle +ivy-tasks match errors
When trying to use +ivy-tasks in one of my projects it was failing w/ error:
`(Stack overflow in regexp matcher)`. This was due to ripgrep searching a folder
in the project root containing a minified bootstrap CSS source map file (which
had a `TODO:` in it). Since that file was a single line of text concatenated
together, the regex was getting passed ~540KB of text.

To make it easier to recognize what is causing +ivy-tasks to fail I wrapped the
failing code in `condition-case-unless-debug` and report the error and the file
causing the error using `message!`. So now if there is a failure during the
extraction of task from the search cmd's results it moves onto the next and
alerts the user in separate pop-up.

To avoid including the bootstrap file in the ripgrep search result, I added a
`.ignore` file to the project that tells `rg` to ignore it.

NOTE: I was surprised that this problem file was include in the ivy-tasks search
because I expected the search to respect projectile ignore settings. Respecting
projectile's ignored/unignored files and directories wouldn't be too difficult
considering projectile provides a robust collection of functions to help support
this. Also projectile's `projectile-ag` function is a great reference.
2017-08-15 00:37:24 -07:00
Benjamin Andresen
5879ca8517 Add: ui/doom-modeline: get shrink-path from MELPA 2017-08-13 17:19:48 +02:00
Benjamin Andresen
1e07c3d97f Fix: ui/doom-modeline: cleanups to file-name style 'file-name and 'relative-to-project 2017-08-12 00:52:55 +02:00
Benjamin Andresen
d4b3b050d3 Add: ui/doom-modeline: make buffer-file-name display configurable
Introduced variable +doom-modeline-buffer-file-name-style

The options available now:
(Given ~/Projects/FOSS/emacs/lisp/comint.el)

'truncate-upto-project => ~/P/F/emacs/lisp/comint.el
'truncate-upto-root => ~/P/F/e/lisp/comint.el
'truncate-all => ~/P/F/e/l/comint.el
'relative-to-project => lisp/comint.el
'file-name => comint.el
2017-08-12 00:29:26 +02:00
Benjamin Andresen
85a085ca2f
Add: ui/doom-modeline: show project-root but truncated 2017-08-11 17:30:52 +02:00
Benjamin Andresen
94e5fda871 Fix: ui/doom-modeline: segment bar has to return "" in any case to not break -nw
Amoriello found this fix in issue #170
2017-08-11 17:27:04 +02:00
Henrik Lissner
ab5c87bae9
Add solaire-mode-swap-bg 2017-08-09 21:22:00 +02:00
Bryan Gilbert
c64769c114 Check if the hydra feature is enabled before opening smerge hydra 2017-08-09 11:56:12 -04:00
Henrik Lissner
7b9a2c850d
Remove unnecessary require 'hydra 2017-08-09 14:52:48 +02:00
Henrik Lissner
c3275a7809
rainbow-mode: don't activate on prog-mode-hook
That is too aggressive. Not sure what a more reasonable default should
be though.
2017-08-09 14:52:48 +02:00
Henrik Lissner
56382f1215
lang/haskell: add intero support #158
To use dante instead, change `haskell` to `(haskell +dante)` in
~/.emacs.d/init.el.
2017-08-09 14:52:48 +02:00
Henrik Lissner
d173ae1ed8
Add module flag support to :feature version-control 2017-08-08 19:14:33 +02:00
Henrik Lissner
5849a1fe38 Update :feature version-control to support module flags 2017-08-08 16:38:17 +02:00
Henrik Lissner
7409890e78
Refactor lang/python (use :jump instead of keybinds) 2017-08-08 14:24:48 +02:00
Henrik Lissner
7af0dd8545
org/org: refactor table navigation keys
Fixes a conflict with the C-[hjkl] window navigation keys.
2017-08-06 20:49:21 +02:00
Henrik Lissner
382f4c1256
private/hlissner: refactor window navigation keys 2017-08-06 20:48:51 +02:00
Henrik Lissner
6d44cec666
Fix new workspace & file prompt on project switch
Properly initialize a new workspace, switch to the fallback buffer
(scratch/dash), update its default-directory to the project root, and
fuzzy-prompt for a file to open.
2017-08-06 18:49:47 +02:00
Benjamin Andresen
00180310df Add: app/irc: (=irc) if irc workspace exists switch to that
don't connect to the networks again
2017-08-06 17:01:32 +02:00
Benjamin Andresen
2286a6404f Add: app/irc: make truncate nick character customizable 2017-08-06 17:01:30 +02:00
Henrik Lissner
85c28444b3
General cleanup & refactor 2017-08-06 16:30:53 +02:00
Henrik Lissner
a76693c7e2
private/hlissner: general update 2017-08-06 16:29:33 +02:00
Henrik Lissner
52d0dffba4
Restore missing c++ lineup-arglist advice 2017-08-04 22:48:06 +02:00
Henrik Lissner
ad516141d8
Add r and d bindings for neotree 2017-08-04 22:36:36 +02:00
Henrik Lissner
749553993d
Remove org-mode custom fontification
This has been merged into doom-themes.
2017-08-03 21:24:08 +02:00
Henrik Lissner
19dfb22fe0
private/hlissner: wrap circe/mu4e configs in after!
Not strictly necessary, but is more readable.
2017-07-29 00:04:48 +02:00
Henrik Lissner
9506cc9902
Take 2 on auth-store-pass detection in Emacs 26+ 2017-07-29 00:00:21 +02:00
Henrik Lissner
ff9965e039
Disable +pass-get-field in noninteractive session
Otherwise you'll get pass pinentry prompts in while byte compiling.
2017-07-28 23:59:36 +02:00
Henrik Lissner
5fe3cfbc75 Merge pull request #166 from Ptival/ocaml
lang/ocaml: adding ml4, mli, mlp to recognized extensions
2017-07-28 03:23:03 +02:00
Valentin Robert
53e3670d9a lang/ocaml: adding ml4, mli, mlp to recognized extensions 2017-07-27 11:33:10 -07:00
Henrik Lissner
7dad0ead09
Fix projectile-find-file not respecting default-directory 2017-07-27 20:22:10 +02:00
Henrik Lissner
c31167d747
Generalize +jump/online #140
+ Now uses selection if region is active. Prompts for the query
  otherwise, with the thing at point as the initial input.
+ On first use, prompts for provider. On consecutive uses, reuses
  previous provider. If universal argument is supplied, force the prompt
  to appear.
2017-07-27 19:09:33 +02:00
Henrik Lissner
5057db93f1
Replace :L state with :local flag in map!
Fixes #162
2017-07-27 19:09:33 +02:00
Henrik Lissner
1d15a22bc3
Rix 'reload last session' button on dashboard 2017-07-26 15:45:01 +02:00
Benjamin Andresen
6fb8d0164b
Add: app/irc: scroll to bottom on any input
more generalized which allows this to work for Emacs mode or for pastes.

Code inspired and adapted by eshell.
2017-07-26 13:02:14 +02:00