Beginning, not begining

This commit is contained in:
Florent Le Coz 2015-08-03 19:16:28 +02:00
parent c8b4d20a14
commit def04d6609
3 changed files with 6 additions and 6 deletions

View file

@ -44,7 +44,7 @@ These shortcuts work in any kind of tab; most of them are identical to emacs' on
.RS .RS
.TP 8 .TP 8
.B Ctrl+A .B Ctrl+A
Move the cursor to the begining of the line. Move the cursor to the beginning of the line.
.TP .TP
.B Ctrl+E .B Ctrl+E
Move the cursor to the end of the line. Move the cursor to the end of the line.

View file

@ -319,7 +319,7 @@ MultiUserChat tab commands
Assign a color to the given nick. The nick and all its alias (nicks 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 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 _Foo and Foo___ are considered aliases of the nick Foo) will then
always have the specified color, in all MultiUserChat tabs. This is always have the specified color, in all MultiUserChat tabs. This is
true whatever the value of **deterministic_nick_colors** is. true whatever the value of **deterministic_nick_colors** is.

View file

@ -48,7 +48,7 @@ class Input(Win):
'^W': self.delete_word, '^W': self.delete_word,
'M-d': self.delete_next_word, 'M-d': self.delete_next_word,
'^K': self.delete_end_of_line, '^K': self.delete_end_of_line,
'^U': self.delete_begining_of_line, '^U': self.delete_beginning_of_line,
'^Y': self.paste_clipboard, '^Y': self.paste_clipboard,
'^A': self.key_home, '^A': self.key_home,
'^E': self.key_end, '^E': self.key_end,
@ -154,9 +154,9 @@ class Input(Win):
self.key_end() self.key_end()
return True 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: if self.pos == 0:
return True return True
@ -189,7 +189,7 @@ class Input(Win):
def key_home(self): def key_home(self):
""" """
Go to the begining of line Go to the beginning of line
""" """
self.reset_completion() self.reset_completion()
self.pos = 0 self.pos = 0