summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2015-08-03 19:16:28 +0200
committerFlorent Le Coz <louiz@louiz.org>2015-08-03 19:17:14 +0200
commitdef04d660925a3cacae7258de6744ba6e87f3eac (patch)
tree700b22f6b2d4b089fa69e259dee9e05cdf2d5166
parentc8b4d20a143862f6f57766546565c9b9b414696c (diff)
downloadpoezio-def04d660925a3cacae7258de6744ba6e87f3eac.tar.gz
poezio-def04d660925a3cacae7258de6744ba6e87f3eac.tar.bz2
poezio-def04d660925a3cacae7258de6744ba6e87f3eac.tar.xz
poezio-def04d660925a3cacae7258de6744ba6e87f3eac.zip
Beginning, not begining
-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