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

Shift-O on last line doesn't appear to work #675

Closed
repomorphism opened this issue Dec 29, 2014 · 2 comments
Closed

Shift-O on last line doesn't appear to work #675

repomorphism opened this issue Dec 29, 2014 · 2 comments

Comments

@repomorphism
Copy link

Shift-O, creating a new line above the current line and enter insert mode, doesn't seem to have any effect when the cursor is on the last line of a file.

@Meganezaru
Copy link

I got same thing.
It looks it doesn't work when the last line is just blank line.

@keith
Copy link
Contributor

keith commented Jan 2, 2015

I have submitted a PR to the develop branch to fix this issue. Please check out the mentioned branch and confirm that it is fixed!

pebble8888 pushed a commit to pebble8888/XVim that referenced this issue Jan 2, 2015
This fixes an issue where, when the start of the line is the last
character of the file, there an off by 1 error that would cause shift-o
not to work. `characterAtIndex` expects and index within the bounds of
this string, the passed character index was previously the length of the
string.

This fixes XVimProject#675
pebble8888 pushed a commit to pebble8888/XVim that referenced this issue Jan 23, 2015
This fixes an issue where, when the start of the line is the last
character of the file, there an off by 1 error that would cause shift-o
not to work. `characterAtIndex` expects and index within the bounds of
this string, the passed character index was previously the length of the
string.

This fixes XVimProject#675
JugglerShu pushed a commit that referenced this issue Feb 10, 2015
This fixes an issue where, when the start of the line is the last
character of the file, there an off by 1 error that would cause shift-o
not to work. `characterAtIndex` expects and index within the bounds of
this string, the passed character index was previously the length of the
string.

This fixes #675
JugglerShu added a commit that referenced this issue Feb 10, 2015
JugglerShu added a commit that referenced this issue Jan 28, 2017
JugglerShu added a commit that referenced this issue Jan 28, 2017
* develop:
  UUID for Xcode 8.2
  Fix #675 and #1004
  Ignore quotes for block motions
  Add UUID of Xcode 8.1 (8B62)
  normal mode playground cursor enabled
  Fix substeps
hyperspacemark pushed a commit to hyperspacemark/XVim that referenced this issue Feb 25, 2017
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

No branches or pull requests

3 participants