Daniel Perrett
d8d64c6a91
Submitting the goLine form should not add a newline
...
Moved next and prev to findForm, where multiple results are possible
Prevented the enter keypress event from being transferred to the editor
2016-11-09 18:36:30 +00:00
Daniel Perrett
fc891c420b
On startup, focus on editor
2016-10-21 08:47:33 +01:00
didibus
0d137522c2
Previous attempt at fixing promise in Node 0.10 wasn't actually working, it's fixed
...
now.
2016-01-15 10:24:18 -08:00
didibus
7ef125d691
Fixing ReferenceError with Promise when running slap on Node 0.10
2016-01-15 10:20:10 -08:00
didibus
3ebc25f692
Fixing ReferenceError with Promise when running slap on Node 0.10
2016-01-14 10:27:47 -08:00
Dan Kaplun
f5fa982ecb
refactor(insertMode): move keybinding for insert mode to editor-widget
2016-01-03 01:40:32 -05:00
Dan Kaplun
557c0d9971
feat(PaneList): Ctrl+L for list of open panes
2016-01-03 01:40:32 -05:00
Dan Kaplun
6e131fee1a
feat(EditorPane): generalize Pane; implement EditorPane extends Pane
2015-12-24 15:32:46 -05:00
Dan Kaplun
8c8ce2c336
fix(minor): cli.js
2015-12-24 14:57:48 -05:00
Dan Kaplun
f5cc2bc30e
fix(save): closes #258
2015-12-24 01:43:11 -05:00
Dan Kaplun
829b3347b8
fix(open): closes #243
2015-12-23 21:07:08 -05:00
Dan Kaplun
e8fdc3a49e
fix(find): closes #242
2015-12-23 20:44:26 -05:00
Dan Kaplun
2fb2dffd8e
Merge branch 'master' into issue-193
2015-12-11 20:24:44 -05:00
Terence Sun
7d2bfc316e
fix(editor): Added support for pipes
...
Builds off of 59216ca2d2
to implement accepting
input from the unix pipe (eg. `netstat | slap`). Currently, the editor only
supports pipe input if there are no arguments (by choice to mimic behavior of
running `netstat | less some_file.txt`).
2015-12-08 02:12:30 -05:00
Terence Sun
2cc7511678
Merge branch 'master' into issue-193
2015-12-08 02:05:00 -05:00
Alice Park
c6cb3cd46e
fix(slap): fix bug when given 'path/to/dir', slap opens the given directory instead of throwing an error EISDIR.
2015-12-07 21:39:26 -05:00
Alice Park
02563f8a8f
path/to/dir fixed
2015-12-07 16:19:04 -05:00
Dan Kaplun
2b6b531cc7
fix(pr): TextBuffer is no longer an EventEmitter
2015-11-06 17:16:08 -05:00
Dan Kaplun
1a654419ff
fix(help): better help and first run experience
2015-10-07 20:10:30 -04:00
Dan Kaplun
59216ca2d2
WIP feat(piping): pipe to a new buffer, like netstat | slap
...
Closes #193
2015-10-04 22:01:23 -04:00
Dan Kaplun
26b0af4456
Use lodash.escapeRegExp
2015-07-10 16:02:26 -04:00
Dan Kaplun
7c7a0b43da
feat(header): remove header message on pane close
2015-06-27 17:04:00 -04:00
Dan Kaplun
8fa6f0dd9b
fix(cli): cli --editor options fix
2015-06-27 16:55:00 -04:00
Dan Kaplun
8e4044e953
fix(quit): force quit after 200ms if unrefing doesn’t work
2015-06-27 15:18:09 -04:00
Dan Kaplun
04206a748f
fix(quit): check typeof input.unref === ‘function’, detach only panes to kill highlightClient
2015-06-27 14:49:56 -04:00
Dan Kaplun
394e798a3c
fix(header): screen.render -> parent.render
2015-06-27 13:15:57 -04:00
Dan Kaplun
4be8c66299
fix(test): updates deps, opts.screen.logger always set
2015-06-27 13:06:19 -04:00
Dan Kaplun
a67533391c
fix(tests): fixes tests
2015-06-26 23:53:28 -04:00
Dan Kaplun
94d8230e60
fix(quit): removes process.exit in favor of stdin.unref
...
Closes #89
2015-06-26 23:10:20 -04:00
Dan Kaplun
037686264f
style(flags): improves -v logic
2015-06-26 00:58:57 -04:00
Dan Kaplun
e683222afc
fix(switches): use console._error
2015-06-26 00:45:44 -04:00
Dan Kaplun
5ff06faabe
fix(tests): detach pane on quit instead of child editor
...
remove through2, not needed anymore
move test/ -> spec/
use base-widget/spec/util
2015-06-26 00:26:57 -04:00
Dan Kaplun
b6b6d83d65
fix(logging): pass screen opts
2015-06-25 22:20:36 -04:00
Dan Kaplun
35f0fcb7e2
fix(save): move slap code from EditorWidget
2015-06-25 21:52:12 -04:00
Dan Kaplun
a30ab82592
chore(deps): lazy.js -> lodash
2015-06-25 21:37:37 -04:00
Dan Kaplun
01325ff73b
style(filebrowser): constructor tweak
2015-06-24 21:30:14 -04:00
Dan Kaplun
40bdeb1495
fix(rendering): fix rendering screen on resize and focus
2015-06-23 23:13:10 -04:00
Dan Kaplun
80b3541901
fix(plugins): init plugins after ready
2015-06-23 00:07:07 -04:00
Dan Kaplun
538f03deef
fix(quit): .then -> .return
2015-06-22 00:47:18 -04:00
Dan Kaplun
237b7dca44
style(constructors): improve instanceof checks
2015-06-22 00:47:03 -04:00
Dan Kaplun
ddf248df4e
style(quit): .done
2015-06-22 00:31:54 -04:00
Dan Kaplun
831f9fb409
fix(pane): rerender on close; only set currentPane on ready
2015-06-22 00:31:41 -04:00
Dan Kaplun
5a5d436777
fix(quit): don’t destroy highlight client if it’s destroyed already
2015-06-22 00:21:12 -04:00
Dan Kaplun
5470b896ed
refactor(base): inherit from BaseWidget where possible, slap now a BaseWidget rather than a Screen
2015-06-22 00:12:51 -04:00
Dan Kaplun
bc482b3125
Fix Slap#quit
2015-06-20 13:47:28 -04:00
Dan Kaplun
063116de5f
fix(insert-mode): move insertMode to editor-widget
2015-06-13 22:19:32 -04:00
Dan Kaplun
5c05c0deff
fix(logger): bug
2015-06-13 04:03:45 -04:00
Dan Kaplun
c4eb88e5c3
refactor(editor-widget): remove references to highlightClient
2015-06-13 02:29:33 -04:00
Dan Kaplun
e1ecd815df
refactor(editor-widget): add EACCES handling from Editor
2015-06-13 01:30:08 -04:00
Dan Kaplun
52427caaf7
refactor(deps): no more text-buffer dep
2015-06-12 22:20:58 -04:00