Commit graph

23 commits

Author SHA1 Message Date
solecki
770325e5df Fix off-by-one range error for visually selected range 2018-04-12 20:31:00 +02:00
solecki
ebd1b3367d Throw CommandError for commands with range out of bounds 2018-04-12 20:30:28 +02:00
Sophie Haskins
abb5cd207f use Atom 1.19 buffer API for finding the length of a buffer 2017-06-29 10:32:17 -04:00
jazzpi
02ab74465c Support vim-mode-plus marks 2017-05-25 01:08:21 +02:00
jazzpi
d5acbd3f53 Limit addresses to the last line 2016-11-04 12:58:03 +01:00
jazzpi
0f91ab5ae0 Fix search not working without a closing delimiter 2016-08-16 13:09:05 +02:00
jazzpi
3c952ccbfe Fix mark addresses and add specs for addresses
Enables properly parsing marks as addresses. Also adds some specs for
addresses by checking how ex-mode behaves when used as a motion.

Fixes #70.
2016-08-16 00:36:05 +02:00
jazzpi
1b8f6238c2 Add basic support for visual marks < and >
Only works with range '<,'>. If there are multiple selections, run the
command for each one.

Closes #31.
2016-08-15 21:13:32 +02:00
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
cb2d79a1e3 get some fresh air 2015-05-24 15:55:24 +02:00
jazzpi
657a92e84e handle range starting at 0 (fixes #30) 2015-03-30 14:12:21 +02:00
jazzpi
f662a96afd Implement :s 2015-03-22 23:14:56 +01:00
jazzpi
161c55c94f Style 2015-03-22 15:19:41 +01:00
jazzpi
477b2a6b6b Fix double comprehension 2015-03-22 14:34:37 +01:00
jazzpi
433b1dd6ac Yes we can 2015-03-22 14:17:43 +01:00
jazzpi
054473a3d1 Fix 2015-03-22 01:11:01 +01:00
jazzpi
e5e944656c is instead of == 2015-03-22 00:58:53 +01:00
jazzpi
548f9b75c4 Add actual command calling 2015-03-21 23:36:08 +01:00
jazzpi
a7504aa590 Address parsing 2015-03-21 19:03:58 +01:00
4f2e9d6fd7 extensibility via services 2015-02-23 14:59:33 +01:00
66e5f697f6 comply with vim behavior 2015-02-23 10:44:51 +01:00
Dave de Fijter
2cafba248c added new commands for quitting, opening tabs and added argument functionality for commands 2015-02-22 16:09:40 +01:00
1a8657b3d4 working title 2015-02-19 18:11:25 +01:00