Commit graph

3901 commits

Author SHA1 Message Date
Brandon Orther
dd97e10aa0 Remove flycheck js2 errors if eslint available.
Flycheck has it's own trailing command and semicolon warning that was
conflicting with the eslint settings. Now it disables those warnings if
eslint.js is setup for flycheck.
2017-09-30 02:20:25 -07:00
Brandon Orther
3938a58bbb Add project-mode +javascript-eslintd-fix-mode
This adds code formating on save using eslint --fix functionality. It uses the
emacs package eslintd-fix which uses the npm package eslint_d.js.
2017-09-28 01:55:47 -07:00
Henrik Lissner
91ff25b150
private/hlissner: add doom/popup-raise & vc-revert keybinds 2017-09-27 14:51:27 +02:00
Henrik Lissner
525bbd3fdf
tools/term: rename commands for consistency 2017-09-27 14:50:53 +02:00
Henrik Lissner
e04bdc70d7
tools/eshell: fix +eshell:run 2017-09-27 14:48:24 +02:00
Henrik Lissner
838615eb0c
tools/eshell: add command argument to eshell open commands 2017-09-27 14:48:23 +02:00
Henrik Lissner
74eaed414e
Silently autokill processes in closed popups 2017-09-27 14:48:23 +02:00
Henrik Lissner
0479ac3b88
tools/eshell: bugfix + minor refactor
+ Change default name for (doom) eshell buffers
+ Fix eshell splitting commands (referring to incorrect subcommand)
+ Correct aliases (using wrong commands)
+ +eshell/run => +eshell/open
+ +eshell/popup => +eshell/open-popup
+ +eshell/tab => +eshell/open-workspace
+ +eshell/prompt => +eshell-prompt (conform to naming convention)
2017-09-27 14:48:23 +02:00
Henrik Lissner
e8ff048c9b
Rewrite and move doom-resolve-vim-path tests 2017-09-27 01:40:11 +02:00
Henrik Lissner
b4aadb100e
Remove unnecessary org-agenda bindings from popup hacks 2017-09-27 01:26:29 +02:00
Henrik Lissner
3fdcb1ec08
Add specific popup rule for the scratch buffer 2017-09-27 01:25:26 +02:00
Henrik Lissner
327993a382
Adjust eval output popup rules 2017-09-27 01:24:38 +02:00
Henrik Lissner
6cb5efc929
core-lib: rename helper fns; move doom-resolve-vim-path
+ doom--resolve-paths => doom--resolve-path-forms
+ doom--resolve-hooks => doom--resolve-hook-forms
+ +evil*ex-replace-special-filenames => doom-resolve-vim-path
2017-09-27 01:23:54 +02:00
Henrik Lissner
04a3db3d2b
Move scratch commands to core/autoload/scratch.el 2017-09-27 01:21:10 +02:00
Henrik Lissner
fde07ba5df
Show modified status in scratch buffer modeline 2017-09-27 00:00:30 +02:00
Henrik Lissner
546ca0e313
General, minor refactor 2017-09-26 21:55:01 +02:00
Henrik Lissner
86ff43c6cb
Minor refactor of popup rules logistics 2017-09-26 20:37:08 +02:00
Henrik Lissner
ee1e9a853c
Fix :autokill popup property not being respected 2017-09-26 20:37:08 +02:00
Henrik Lissner
cf7b27f4eb
popups: :fixed => :static, major changes to popup API
+ New command: doom/popup-kill-all
+ Update references to :fixed (now named :static)
+ Simplified doom-popup-p; moved :static filtering to
  doom-popup-windows.
+ New :autofit popup property, which resizes the popup to fit its
  content, if possible.
+ doom-popup-windows now takes one boolean argument: whether to ignore
  static popups or not.
2017-09-26 20:37:08 +02:00
Henrik Lissner
e1d5e48d46
Fix unchanging dashboard cwd when switched to 2017-09-26 20:37:07 +02:00
Henrik Lissner
b60286d909
modeline: buffer-project => buffer-default-directory 2017-09-26 19:36:17 +02:00
Henrik Lissner
474f330cd4
Use doom-emacs-dir as dashboard's default directory 2017-09-26 19:35:44 +02:00
Henrik Lissner
738d85e84f
Let python/ruby modules handle version strings
Also, set RBENV_VERSION and PYENV_VERSION envvars.
2017-09-26 01:02:47 +02:00
Henrik Lissner
47b6465bc3
Remove abbreviate-file-name from recentf-filename-handlers #86 2017-09-25 23:24:21 +02:00
Henrik Lissner
1bfc8b156e
Add tools/make module 2017-09-25 13:06:08 +02:00
Henrik Lissner
983d844aec
org: use visual evil line motions 2017-09-25 13:05:44 +02:00
Henrik Lissner
ce6ef9656f
Fix scratch buffer commands; use :fixed prop 2017-09-25 13:05:13 +02:00
Henrik Lissner
e7a9a1a3ca
Improve support for moving popup windows (WIP)
Now, the +evil/window-move-* commands are consistent when used with
popups. Also added doom/popup-move-* as popup-alternatives to
evil-window-move-{very,far}-* commands.

Relevant to #141 #171
2017-09-25 13:02:27 +02:00
Henrik Lissner
311e15487a
Refactor editor autoloaded library
And remove doom/toggle-sticky; this has been replaced with scratch
buffers.
2017-09-25 05:06:13 +02:00
Henrik Lissner
c7d63fe091
Set special modeline in scratch buffer 2017-09-25 03:03:00 +02:00
Henrik Lissner
0d1f106252
Update personal bindings with new commands 2017-09-25 03:02:43 +02:00
Henrik Lissner
1685076202
New commands: doom/open-{,project-}scratch-buffer 2017-09-25 03:02:13 +02:00
Henrik Lissner
bc1d2480b0
New command: doom/popup-raise 2017-09-25 02:59:13 +02:00
Henrik Lissner
6de185409f
New macro: save-popups! 2017-09-25 02:58:59 +02:00
Henrik Lissner
5aeb5232ed
Make doom-popup-{buffer,file} plist optional 2017-09-24 21:01:11 +02:00
Henrik Lissner
eb8e23f44e
Correct misnamed variable in doom-popup-properties 2017-09-24 20:53:48 +02:00
Henrik Lissner
52be654cc4
General/minor refactor 2017-09-24 20:49:36 +02:00
Henrik Lissner
2ea01a5b66
Add basic support for moving popup windows (WIP)
Relevant to #141 #171
2017-09-24 20:47:24 +02:00
Henrik Lissner
cfb094e589
Add :fixed property to popup rules 2017-09-24 20:46:22 +02:00
Henrik Lissner
9de6518906
Prevent nil's being entered into popup history 2017-09-24 20:45:55 +02:00
Henrik Lissner
3dca6d8028
doom-popup-prop => doom-popup-property
Also, new doom-popup-properties function.
2017-09-24 20:45:23 +02:00
Henrik Lissner
65d758ce8f
Add doom-popup-inhibit-autokill variable 2017-09-24 20:44:17 +02:00
Henrik Lissner
e6f892b115
Refactor doom-popup-p 2017-09-24 20:42:30 +02:00
Henrik Lissner
558a8d973c
Change doom-popup-buffer & doom-popup-file signature
...and update its references.
2017-09-24 20:41:14 +02:00
Henrik Lissner
51fa99996d
Update+improve doom buffer library docstrings 2017-09-24 19:18:26 +02:00
Henrik Lissner
78db91bdd2
Check if buffer/window is live in doom-popup-p 2017-09-24 18:41:12 +02:00
Henrik Lissner
9b0d333a66
Close popups in doom/kill-all-buffers 2017-09-24 18:40:50 +02:00
Henrik Lissner
5a12f552dc
Remove git snapshot from travis.yml 2017-09-24 17:15:38 +02:00
Henrik Lissner
0264fc25ff
Don't use nlinum-mode for quickrun buffers in emacs 26+ 2017-09-24 17:10:49 +02:00
Henrik Lissner
be2f0a043d
feature/file-templates: minor refactor 2017-09-24 17:10:48 +02:00