Commit graph

204 commits

Author SHA1 Message Date
jazzpi
af0ba7c01c Improve format for calling commands
Commands (from the Ex class) are now called with an object
containing the range, arguments, vim state, ex state and
editor instead of a long list of arguments.
2015-11-21 14:48:13 +01:00
472ec2140e looking for new maintainer 2015-11-19 14:42:29 +01:00
Gertjan Reynaert
14d234d182 Add option to register aliasses 2015-11-17 16:39:21 +01:00
Alexey Shamrin
e0ee339bf6 backspace over empty : now cancels ex-mode
fixes #108
2015-10-31 05:33:06 +03:00
5773c8f47b Merge pull request #102 from jacwah/sub-sep
Don't allow :s delimiters not allowed by vim
2015-09-23 20:30:39 +02:00
Jacob Wahlgren
77d3fa46d5 Refactor illegal delimiters specs 2015-09-22 00:50:21 +02:00
Jacob Wahlgren
e2841dc26c Don't allow :s delimiters not allowed by vim
"Instead of the '/' which surrounds the pattern and replacement string,
you can use any other single-byte character, but not an alphanumeric
character, '\', '"'' or '|'."
- http://vimdoc.sourceforge.net/htmldoc/change.html#:substitute
2015-09-22 00:35:36 +02:00
728ccaa5f9 Prepare 0.7.0 release 2015-08-03 12:21:31 +02:00
c0c220c22e distinguish prefix from input 2015-08-03 12:21:01 +02:00
72d80ed4e9 prefix vim-mode's search 2015-08-03 12:20:26 +02:00
2a2669f46f Merge pull request #89 from Po1o/master
Make cmd-line in ex-mode look like in vim-mode
2015-08-03 12:10:58 +02:00
Polo
d0cbbb5d15 Make cmd-line in ex-mode look like in vim-mode
Changed the style of .command-mode-input so that it looks like
.normal-mode-input from vim-mode.
This makes ex-mode more consistent with vim-mode
2015-08-01 15:37:02 +02:00
962e4a35ba travis: install vim-mode 2015-07-30 08:55:14 +02:00
59fb0ddf1f enable Travis CI 2015-07-30 08:50:53 +02:00
edea63a575 Merge pull request #83 from jazzpi/specs
Add specs; minor changes to some commands
2015-07-30 08:49:20 +02:00
jazzpi
42a44ee9e1 Add specs; minor changes to some commands
`:tabedit` now works as an alias to `:edit` with a path and
  as an alias to `:tabnew` without.
`:tabnew` is a new command that opens a new tab with a new file if used
 without a path and works as an alias to `:tabedit` with one.
`:tabclose` now works as a proper alias to `:quit` (i.e. passes the arguments)
`:edit` now works more like before - it opens a given path in a new tab.
 It also doesn't do anything if the file was modified since the last commit,
 unless forced by using `:edit!`
`:write` works properly again and doesn't overwrite files, unless forced by
 using `:write!`
`:xit` is now called `:xit` and not just `:x`
`:substitute` now properly replaces multiple groups (`:s/(a)b(c)/X\1\2X\0`)
2015-07-29 19:13:13 +02:00
b5e9df10b4 Prepare 0.6.2 release 2015-07-29 16:38:05 +02:00
1a117bddf9 Clean up save logic (fixes #75) 2015-07-29 16:36:55 +02:00
84c548a444 don't :e an unsaved file 2015-07-29 16:31:42 +02:00
da8405b387 Prepare 0.6.1 release 2015-07-28 12:03:04 +02:00
8fd1fe14c8 Added ~ support
Thanks to @romgrk in PR #48
2015-07-28 12:02:03 +02:00
cdf65d6e27 Prepare 0.6.0 release 2015-07-28 11:57:07 +02:00
ea919ada29 update changelog 2015-07-28 11:56:45 +02:00
add34853ac Merge pull request #61 from ardrigh/patch-1
Display ':' at start of the command input line
2015-07-28 11:34:05 +02:00
a187e68497 Merge pull request #74 from mleeds95/fix-write
Simplify how :write works and make it work when no projects are open.
2015-07-28 11:30:51 +02:00
e679604c21 Merge pull request #69 from nzyuzin/set_options
Add support for :set [option]
2015-07-28 11:30:35 +02:00
7450d05e64 Merge pull request #55 from jazzpi/fix-54
Replace `\#{delimiter}` with `#{delimiter}` in :s
2015-07-28 11:30:03 +02:00
Matthew Leeds
656ed90f7e Simplify how :write works and make it work when no projects are open. 2015-07-27 16:52:47 -05:00
Nikita Zyuzin
0f38fd195a Add support for :set [option] 2015-07-13 23:06:03 +04:00
13c5c84688 Merge pull request #59 from jazzpi/use-texteditor-transact
Use TextEditor.transact
2015-06-28 19:03:49 +02:00
Dagan McGregor
44f296999b Update ex-mode.less
Change to div to avoid conflict with vim-mode search
2015-06-23 18:12:02 +12:00
Dagan McGregor
928e5626fd Update ex-mode.less
Display ':' at start of the command input
2015-06-21 03:29:18 +12:00
jazzpi
7c202faefa Use TextEditor.transact
This fixes #57 and atom/atom#703
2015-06-18 18:52:24 +02:00
jazzpi
4cccef79a5 Replace \#{delimiter} with #{delimiter} in :s 2015-06-10 18:19:59 +02:00
bf0f492740 Merge pull request #45 from jazzpi/fix-write
Fix :write behaviour
2015-05-28 09:12:18 +02:00
jazzpi
5ee749cb0b Fix :write behaviour 2015-05-27 17:29:37 +02:00
e33dc15392 Prepare 0.5.1 release 2015-05-24 15:57:13 +02:00
c43b2658ef stop spurious cancels 2015-05-24 15:56:53 +02:00
3c17b6e670 history even bad commands (easing fixups) 2015-05-24 15:56:11 +02:00
cb2d79a1e3 get some fresh air 2015-05-24 15:55:24 +02:00
a32c04e898 Prepare 0.5.0 release 2015-05-24 11:51:55 +02:00
a0121dc1cc update changelog for next version 2015-05-24 11:49:49 +02:00
3f75ca3a30 comply with new Atom API 2015-05-24 11:49:29 +02:00
1c064ec13a debug logging removed 2015-05-24 11:47:46 +02:00
8eeb2dc57e Merge pull request #38 from jazzpi/fix-x
Fix `:x` throwing an error
2015-05-15 09:07:35 +02:00
jazzpi
5d06604d41 Fix :x throwing an error 2015-04-18 12:37:45 +02:00
be8bac62f1 Merge pull request #35 from jazzpi/implement-d
Implement d
2015-04-11 19:33:07 +02:00
jazzpi
8087ca3aeb Implement d 2015-04-06 13:18:31 +02:00
jazzpi
657a92e84e handle range starting at 0 (fixes #30) 2015-03-30 14:12:21 +02:00
e97964dd5c Prepare 0.4.1 release 2015-03-30 10:42:39 +02:00