summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/poezio.12
-rw-r--r--doc/source/commands.rst2
-rw-r--r--src/windows/inputs.py8
3 files changed, 6 insertions, 6 deletions
diff --git a/data/poezio.1 b/data/poezio.1
index d4874d0f..b9f7b8bc 100644
--- a/data/poezio.1
+++ b/data/poezio.1
@@ -44,7 +44,7 @@ These shortcuts work in any kind of tab; most of them are identical to emacs' on
.RS
.TP 8
.B Ctrl+A
-Move the cursor to the begining of the line.
+Move the cursor to the beginning of the line.
.TP
.B Ctrl+E
Move the cursor to the end of the line.
diff --git a/doc/source/commands.rst b/doc/source/commands.rst
index f1713a86..99b47c7b 100644
--- a/doc/source/commands.rst
+++ b/doc/source/commands.rst
@@ -319,7 +319,7 @@ MultiUserChat tab commands
Assign a color to the given nick. The nick and all its alias (nicks
are considered identical if they only differ by the presence of one
- ore more **_** character at the begining or the end. For example
+ ore more **_** character at the beginning or the end. For example
_Foo and Foo___ are considered aliases of the nick Foo) will then
always have the specified color, in all MultiUserChat tabs. This is
true whatever the value of **deterministic_nick_colors** is.
diff --git a/src/windows/inputs.py b/src/windows/inputs.py
index 12d3a9a2..8102dfcc 100644
--- a/src/windows/inputs.py
+++ b/src/windows/inputs.py
@@ -48,7 +48,7 @@ class Input(Win):
'^W': self.delete_word,
'M-d': self.delete_next_word,
'^K': self.delete_end_of_line,
- '^U': self.delete_begining_of_line,
+ '^U': self.delete_beginning_of_line,
'^Y': self.paste_clipboard,
'^A': self.key_home,
'^E': self.key_end,
@@ -154,9 +154,9 @@ class Input(Win):
self.key_end()
return True
- def delete_begining_of_line(self):
+ def delete_beginning_of_line(self):
"""
- Cut the text from cursor to the begining of line
+ Cut the text from cursor to the beginning of line
"""
if self.pos == 0:
return True
@@ -189,7 +189,7 @@ class Input(Win):
def key_home(self):
"""
- Go to the begining of line
+ Go to the beginning of line
"""
self.reset_completion()
self.pos = 0