Anthony Sottile
|
a893bf0b93
|
shift + movement = selection
|
2020-01-03 18:57:01 -08:00 |
|
Anthony Sottile
|
2bcb8f0ed0
|
Fix highlighting replacement on 1-tall screen
|
2020-01-02 18:51:31 -08:00 |
|
Anthony Sottile
|
1a5494b577
|
Rename cursor_y to y to reduce confusion
|
2019-12-31 22:25:26 -08:00 |
|
Anthony Sottile
|
60476134a3
|
Implement ^Left and ^Right in prompt()
|
2019-12-31 14:04:17 -08:00 |
|
Anthony Sottile
|
68ee9eafa6
|
Implement ^K for command mode
|
2019-12-25 09:09:38 -08:00 |
|
Anthony Sottile
|
ae5e619124
|
Add test for quick_prompt resize without callback
|
2019-12-21 23:53:38 -08:00 |
|
Anthony Sottile
|
7525e0bc84
|
Implement save-on-exit
|
2019-12-21 23:13:46 -08:00 |
|
Anthony Sottile
|
98f19ca6b2
|
Implement save via ^O (has a filename prompt)
|
2019-12-20 23:00:48 -08:00 |
|
Anthony Sottile
|
5a81b4e4db
|
fix flaky test based on pytest tempdir name
|
2019-12-15 15:51:29 -08:00 |
|
Anthony Sottile
|
c8e54634e3
|
fix tests, previous patch changed behaviour
|
2019-12-15 15:41:01 -08:00 |
|
Anthony Sottile
|
68ffc18e8c
|
fix crash when resizing quickly with cursor at bottom
|
2019-12-15 15:21:23 -08:00 |
|
Anthony Sottile
|
2f1f64537d
|
Implement jump by word (^Left/^Right)
|
2019-12-15 15:03:05 -08:00 |
|
Anthony Sottile
|
070c1002f8
|
fix search history appending blank lines
|
2019-12-14 13:48:55 -08:00 |
|
Anthony Sottile
|
230e457e79
|
split up the tests
|
2019-12-14 13:31:08 -08:00 |
|
Anthony Sottile
|
d826cfbea1
|
implement find-replace
|
2019-12-14 11:51:53 -08:00 |
|
Anthony Sottile
|
35f60540b5
|
Fix showing of previous history entry with non-default_prev
|
2019-12-07 12:04:26 -08:00 |
|
Anthony Sottile
|
78934d13be
|
Default to previous search entry
|
2019-11-30 17:09:19 -08:00 |
|
Anthony Sottile
|
26d3c0826c
|
Have history append instead of overwrite
|
2019-11-30 16:00:13 -08:00 |
|
Anthony Sottile
|
b4f7cabb28
|
Implement ^R reverse search for history
|
2019-11-30 15:31:36 -08:00 |
|
Anthony Sottile
|
1a4ce27869
|
Add search history
|
2019-11-29 18:17:07 -08:00 |
|
Anthony Sottile
|
e543b11dbb
|
Add ^C to show current position
|
2019-11-27 19:49:36 -08:00 |
|
Anthony Sottile
|
d4bd2abb45
|
Implement search
|
2019-11-27 15:59:43 -08:00 |
|
Anthony Sottile
|
7306003c3d
|
Prompt for filename when saving anonymous file
|
2019-11-23 16:55:31 -08:00 |
|
Anthony Sottile
|
ba4f513052
|
Fix test failures when colliding with temp directory name
|
2019-11-20 21:07:56 -08:00 |
|
Anthony Sottile
|
cfae01b065
|
Clear status when switching / exiting multiple files
Resolves #26
|
2019-11-20 21:02:22 -08:00 |
|
Anthony Sottile
|
c3df00db4a
|
Add ^Up and ^Down for scrolling the screen by one line
|
2019-11-16 18:45:02 -08:00 |
|
Anthony Sottile
|
795be3c5ca
|
Implement go to line (^_)
|
2019-11-14 17:55:26 -08:00 |
|
Anthony Sottile
|
38a9a737b6
|
Rename _line to _y
|
2019-11-12 10:44:04 -08:00 |
|
Anthony Sottile
|
3843a01391
|
undo / redo
|
2019-11-09 13:33:30 -08:00 |
|
Anthony Sottile
|
73fd47418d
|
Normalize to ^[A-Z] for key presses in tests
|
2019-11-02 15:33:20 -07:00 |
|
Anthony Sottile
|
0038c972fb
|
Fix paging up to negative offsets
|
2019-11-02 15:25:53 -07:00 |
|
Hayden Young
|
fd9aae9c27
|
remove 'ENV PS1=$' from test command, and force bash to run in norc mode
|
2019-11-01 17:36:01 +00:00 |
|
Hayden Young
|
c3362aea18
|
:wq command to write then close
|
2019-10-27 01:01:12 +00:00 |
|
Anthony Sottile
|
b14d93b102
|
Implement cut (^K) and uncut (^U)
|
2019-10-26 17:03:17 -07:00 |
|
Anthony Sottile
|
a2fc4772cf
|
Cancel commands by entering a blank command or ^C
|
2019-10-24 10:54:09 -07:00 |
|
Anthony Sottile
|
72bc067fa5
|
command mode (can now be quit with :q)
Co-authored-by: Hayden Young <hayden@haydennyyy.com>
|
2019-10-23 18:41:27 -07:00 |
|
Anthony Sottile
|
ff3f12ffb4
|
Implement rudimentary file saving
|
2019-10-05 16:37:01 -07:00 |
|
Anthony Sottile
|
fba7d25417
|
Fix suspend and resize
|
2019-09-30 19:31:02 -07:00 |
|
Anthony Sottile
|
08c3118fd8
|
Combine Position and File
|
2019-09-29 07:41:10 -07:00 |
|
Anthony Sottile
|
acf71db8ca
|
Revert "Add fix for tmux 2.1"
This reverts commit 0dace647f9.
|
2019-09-28 17:06:18 -07:00 |
|
Anthony Sottile
|
8aaf3f9a25
|
Display the file number when multiple files are open
|
2019-09-28 16:53:51 -07:00 |
|
Anthony Sottile
|
74f18b0ec2
|
Use M-Right and M-Left to switch between files
|
2019-09-28 15:02:44 -07:00 |
|
Anthony Sottile
|
39c24da092
|
Implement ^Home and ^End + escape sequences
Resolves #6
|
2019-09-28 14:51:38 -07:00 |
|
Anthony Sottile
|
acccee3760
|
edit multiple files
|
2019-09-28 06:50:20 -07:00 |
|
Anthony Sottile
|
d2678633db
|
Add failing test for ^Home
|
2019-09-24 19:36:43 -07:00 |
|
Anthony Sottile
|
6b896d4fd1
|
Implement page up and page down
|
2019-09-22 06:48:26 -07:00 |
|
Anthony Sottile
|
a0b7eb2f9c
|
Fix scrolling to negative offsets
|
2019-09-13 17:32:47 -07:00 |
|
Anthony Sottile
|
a6df11a34c
|
Receive more escape sequences, reimplement suspension
By enabling "raw" mode, `babi` will receive ^S / ^Q / ^Z / ^\. As such we
need to reimplement the logic of ^Z
|
2019-09-02 19:06:58 -07:00 |
|
Anthony Sottile
|
0dace647f9
|
Add fix for tmux 2.1
|
2019-09-01 21:13:27 -07:00 |
|
Anthony Sottile
|
d9814fb658
|
shorten some variable names
|
2019-09-01 19:20:07 -07:00 |
|