mirror of
https://github.com/wassname/pyreadline.git
synced 2026-07-04 17:20:43 +08:00
pyreadline-refactor: rearranging of lines in pyreadlineconfig.ini
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
2006-11-15 Jörgen Stenarson <jorgen.stenarson -at- bostream.nu>
|
||||
* Rearranging pyreadlineconfig.ini
|
||||
|
||||
2006-11-13 Jörgen Stenarson <jorgen.stenarson -at- bostream.nu>
|
||||
* Fixed bug in tab completion when point is not at end of line
|
||||
* Changed clr.AddReference to clr.AddReferenceToFileAndPath (ironpython_console)
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#Bind keys for exit (keys only work on empty lines
|
||||
|
||||
set_mode("emacs") #will cause following bind_keys to bind to emacs mode
|
||||
bind_exit_key("Control-d")
|
||||
bind_exit_key("Control-z")
|
||||
|
||||
@@ -12,10 +11,6 @@ bind_key("Control-b", "backward_char")
|
||||
bind_key("Right", "forward_char")
|
||||
bind_key("Control-f", "forward_char")
|
||||
bind_key("Alt-f", "forward_word")
|
||||
bind_key("Shift-Right", "forward_char_extend_selection")
|
||||
bind_key("Shift-Left", "backward_char_extend_selection")
|
||||
bind_key("Shift-Control-Right", "forward_word_extend_selection")
|
||||
bind_key("Shift-Control-Left", "backward_word_extend_selection")
|
||||
bind_key("Alt-b", "backward_word")
|
||||
bind_key("Clear", "clear_screen")
|
||||
bind_key("Control-l", "clear_screen")
|
||||
@@ -40,7 +35,6 @@ bind_key("Alt-n", "non_incremental_forward_search_history")
|
||||
bind_key("Delete", "delete_char")
|
||||
bind_key("Control-d", "delete_char")
|
||||
bind_key("BackSpace", "backward_delete_char")
|
||||
bind_key("Control-BackSpace", "backward_delete_word")
|
||||
#bind_key("Control-Shift-v", "quoted_insert")
|
||||
bind_key("Control-space", "self_insert")
|
||||
|
||||
@@ -55,8 +49,6 @@ bind_key("Meta-Delete", "backward_kill_word")
|
||||
#Copy paste
|
||||
bind_key("Control-m", "set_mark")
|
||||
bind_key("Control-q", "copy_region_to_clipboard")
|
||||
bind_key("Control-x", "cut_selection_to_clipboard")
|
||||
bind_key("Control-Shift-x", "copy_selection_to_clipboard")
|
||||
bind_key("Control-v", "paste")
|
||||
bind_key("Alt-v", "ipython_paste")
|
||||
bind_key("Control-y", "paste")
|
||||
@@ -68,6 +60,16 @@ bind_key('Control-Shift-v', "paste_mulitline_code")
|
||||
#un_bind_key("Home")
|
||||
|
||||
|
||||
#new keybindings
|
||||
bind_key("Shift-Right", "forward_char_extend_selection")
|
||||
bind_key("Shift-Left", "backward_char_extend_selection")
|
||||
bind_key("Shift-Control-Right", "forward_word_extend_selection")
|
||||
bind_key("Shift-Control-Left", "backward_word_extend_selection")
|
||||
bind_key("Control-BackSpace", "backward_delete_word")
|
||||
bind_key("Control-x", "cut_selection_to_clipboard")
|
||||
bind_key("Control-Shift-x", "copy_selection_to_clipboard")
|
||||
|
||||
|
||||
#Other
|
||||
bell_style("none") #modes: none, audible, visible(not implemented)
|
||||
show_all_if_ambiguous("on")
|
||||
|
||||
Reference in New Issue
Block a user