Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented CTRL + Arrows to move to next/previous word #214

Merged
merged 14 commits into from
Jan 19, 2023

Conversation

eusuntcarol
Copy link
Contributor

@eusuntcarol eusuntcarol commented Jan 17, 2023

Using CTRL+ Arrow Left/Right moves the cursor to previous/next word.

  • I extended the fuctionality of cursor movement to detect if CTRL key is pressed.
  • I updated the README.md to reflect these changes.

This closes #82

@codecov
Copy link

codecov bot commented Jan 17, 2023

Codecov Report

Base: 42.15% // Head: 42.51% // Increases project coverage by +0.35% 🎉

Coverage data is based on head (7b3e58f) compared to base (ed5244e).
Patch coverage: 53.57% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #214      +/-   ##
==========================================
+ Coverage   42.15%   42.51%   +0.35%     
==========================================
  Files          10       10              
  Lines         918      915       -3     
==========================================
+ Hits          387      389       +2     
+ Misses        531      526       -5     
Flag Coverage Δ
x86_64-apple-darwin 42.51% <53.57%> (+0.35%) ⬆️
x86_64-unknown-linux-gnu 42.40% <53.57%> (+0.35%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/unix.rs 0.00% <0.00%> (ø)
src/editor.rs 28.40% <53.84%> (+0.78%) ⬆️
src/row.rs 56.60% <100.00%> (-0.41%) ⬇️
src/config.rs 91.17% <0.00%> (-0.74%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Owner

@ilai-deutel ilai-deutel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution!

src/editor.rs Outdated Show resolved Hide resolved
@ilai-deutel
Copy link
Owner

@all-contributors please add @carol-mb for code

@allcontributors
Copy link
Contributor

@ilai-deutel

I've put up a pull request to add @carol-mb! 🎉

@ilai-deutel
Copy link
Owner

Thanks again!

@ilai-deutel ilai-deutel merged commit 3984d24 into ilai-deutel:master Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ctrl + Arrow should move to previous/next word
2 participants