@@ -1030,7 +1030,7 @@ def _swapcase_line(event: E) -> None:
1030
1030
buff .transform_current_line (lambda s : s .swapcase ())
1031
1031
1032
1032
@handle ("#" , filter = vi_navigation_mode )
1033
- def _prev_occurence (event : E ) -> None :
1033
+ def _prev_occurrence (event : E ) -> None :
1034
1034
"""
1035
1035
Go to previous occurrence of this word.
1036
1036
"""
@@ -1043,7 +1043,7 @@ def _prev_occurence(event: E) -> None:
1043
1043
b .apply_search (search_state , count = event .arg , include_current_position = False )
1044
1044
1045
1045
@handle ("*" , filter = vi_navigation_mode )
1046
- def _next_occurance (event : E ) -> None :
1046
+ def _next_occurrence (event : E ) -> None :
1047
1047
"""
1048
1048
Go to next occurrence of this word.
1049
1049
"""
@@ -1411,7 +1411,7 @@ def _next_section(event: E) -> TextObject:
1411
1411
return TextObject (index )
1412
1412
1413
1413
@text_object ("f" , Keys .Any )
1414
- def _next_occurence (event : E ) -> TextObject :
1414
+ def _find_next_occurrence (event : E ) -> TextObject :
1415
1415
"""
1416
1416
Go to next occurrence of character. Typing 'fx' will move the
1417
1417
cursor to the next occurrence of character. 'x'.
@@ -1426,7 +1426,7 @@ def _next_occurence(event: E) -> TextObject:
1426
1426
return TextObject (0 )
1427
1427
1428
1428
@text_object ("F" , Keys .Any )
1429
- def _previous_occurance (event : E ) -> TextObject :
1429
+ def _find_previous_occurrence (event : E ) -> TextObject :
1430
1430
"""
1431
1431
Go to previous occurrence of character. Typing 'Fx' will move the
1432
1432
cursor to the previous occurrence of character. 'x'.
0 commit comments