mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-03 01:26:40 +02:00
- Sublime Text 3 keymaps corrections, completed remaps for Windows
This commit is contained in:
@@ -213,13 +213,60 @@ $^+Right::Send +{End}
|
|||||||
#If
|
#If
|
||||||
|
|
||||||
#IfWinActive ahk_exe sublime_text.exe
|
#IfWinActive ahk_exe sublime_text.exe
|
||||||
; Remap Ctrl+Shift to behave like macOS Sublimetext
|
#^Up::send !{O} ; Switch file
|
||||||
; Will extend cursor to multiple lines
|
#^f::send {F11} ; toggle_full_screen
|
||||||
#+Up::send {shift up}^!{Up}
|
^!v::send {Ctrl Down}k{Ctrl Up}{Ctrl Down}v{Ctrl Up} ; paste_from_history
|
||||||
#+Down::send {shift up}^!{Down}
|
^Up::Return ; cancel scroll_lines up
|
||||||
|
^!Up::send ^{Up} ; scroll_lines up
|
||||||
; Remap Ctrl+Cmd+G to select all matches
|
^Down::Return ; cancel scroll_lines down
|
||||||
#^g::send !{F3}
|
^!Down::send ^{Down} ; scroll_lines down
|
||||||
|
#+Up::send {shift up}^!{Up} ; multi-cursor up
|
||||||
|
#+Down::send {shift up}^!{Down} ; multi-cursor down
|
||||||
|
^PgDn::Return ; cancel next_view
|
||||||
|
^PgUp::Return ; cancel prev_view
|
||||||
|
^+{::send ^{PgDn} ; next_view
|
||||||
|
^+}::send ^{PgUp} ; prev_view
|
||||||
|
^!Right::send ^{PgDn} ; next_view
|
||||||
|
^!Left::send ^{PgUp} ; prev_view
|
||||||
|
Insert::Return ; cancel toggle_overwrite
|
||||||
|
^!O::send {Insert} ; toggle_overwrite
|
||||||
|
!c::Return ; cancel toggle_case_sensitive
|
||||||
|
^!c::send !{c} ; toggle_case_sensitive
|
||||||
|
^h::Return ; cancel replace
|
||||||
|
^!f::send ^{h} ; replace
|
||||||
|
^+h::Return ; cancel replace_next
|
||||||
|
^!e::send ^+{h} ; replace_next
|
||||||
|
F3::Return ; cancel find_next
|
||||||
|
^g::send {F3} ; find_next
|
||||||
|
*F3::Return ; cancel find_prev, find_under, find_all_under
|
||||||
|
^+g::send +{F3} ; find_prev
|
||||||
|
#!g::send ^{F3} ; find_under
|
||||||
|
#!+g::send ^+{F3} ; find_under_prev
|
||||||
|
#^g::send !{F3} ; find_all_under
|
||||||
|
^+Up::Return ; cancel swap_line_up
|
||||||
|
#!Up::send ^+{Up} ; swap_line_up
|
||||||
|
^+Down::Return ; cancel swap_line_down
|
||||||
|
#!Down::send ^+{Down} ; swap_line_down
|
||||||
|
^Pause::Return ; cancel cancel_build
|
||||||
|
#c::send ^{Pause} ; cancel_build
|
||||||
|
F9::Return ; cancel sort_lines case_s false
|
||||||
|
F5::send {F9} ; sort_lines case_s false
|
||||||
|
#F9::Return ; cancel sort_lines case_s true
|
||||||
|
#F5::send #{F9} ; sort_lines case_s true
|
||||||
|
!+1::Return ; cancel set_layout
|
||||||
|
^!1::send !+1 ; set_layout
|
||||||
|
!+2::Return ; cancel set_layout
|
||||||
|
^!2::send !+2 ; set_layout
|
||||||
|
!+3::Return ; cancel set_layout
|
||||||
|
^!3::send !+3 ; set_layout
|
||||||
|
!+4::Return ; cancel set_layout
|
||||||
|
^!4::send !+4 ; set_layout
|
||||||
|
!+5::Return ; cancel set_layout
|
||||||
|
^!5::send !+5 ; set_layout
|
||||||
|
!+8::Return ; cancel set_layout
|
||||||
|
^!8::send !+8 ; set_layout
|
||||||
|
!+9::Return ; cancel set_layout
|
||||||
|
^!9::send !+9 ; set_layout
|
||||||
#If
|
#If
|
||||||
|
|
||||||
#IfWinActive ahk_group terminals
|
#IfWinActive ahk_group terminals
|
||||||
|
@@ -175,9 +175,9 @@ define_keymap(re.compile("Sublime_text", re.IGNORECASE),{
|
|||||||
K("Super-RC-f"): K("f11"), # toggle_full_screen
|
K("Super-RC-f"): K("f11"), # toggle_full_screen
|
||||||
K("C-M-v"): [K("C-k"), K("C-v")], # paste_from_history
|
K("C-M-v"): [K("C-k"), K("C-v")], # paste_from_history
|
||||||
K("C-up"): pass_through_key, # cancel scroll_lines up
|
K("C-up"): pass_through_key, # cancel scroll_lines up
|
||||||
K("Super-M-up"): K("C-up"), # scroll_lines up
|
K("C-M-up"): K("C-up"), # scroll_lines up
|
||||||
K("C-down"): pass_through_key, # cancel scroll_lines down
|
K("C-down"): pass_through_key, # cancel scroll_lines down
|
||||||
K("Super-M-down"): K("C-down"), # scroll_lines down
|
K("C-M-down"): K("C-down"), # scroll_lines down
|
||||||
K("Super-Shift-up"): K("M-Shift-up"), # multi-cursor up
|
K("Super-Shift-up"): K("M-Shift-up"), # multi-cursor up
|
||||||
K("Super-Shift-down"): K("M-Shift-down"), # multi-cursor down
|
K("Super-Shift-down"): K("M-Shift-down"), # multi-cursor down
|
||||||
K("C-PAGE_DOWN"): pass_through_key, # cancel next_view
|
K("C-PAGE_DOWN"): pass_through_key, # cancel next_view
|
||||||
@@ -207,9 +207,9 @@ define_keymap(re.compile("Sublime_text", re.IGNORECASE),{
|
|||||||
# K("M-C-g"): K("M-Refresh"), # Chromebook - find_all_under
|
# K("M-C-g"): K("M-Refresh"), # Chromebook - find_all_under
|
||||||
K("Super-C-g"): K("M-f3"), # Default - find_all_under
|
K("Super-C-g"): K("M-f3"), # Default - find_all_under
|
||||||
K("C-Shift-up"): pass_through_key, # cancel swap_line_up
|
K("C-Shift-up"): pass_through_key, # cancel swap_line_up
|
||||||
K("Super-C-up"): K("C-Shift-up"), # swap_line_up
|
K("Super-M-up"): K("C-Shift-up"), # swap_line_up
|
||||||
K("C-Shift-down"): pass_through_key, # cancel swap_line_down
|
K("C-Shift-down"): pass_through_key, # cancel swap_line_down
|
||||||
K("Super-C-down"): K("C-Shift-down"), # swap_line_down
|
K("Super-M-down"): K("C-Shift-down"), # swap_line_down
|
||||||
K("C-Pause"): pass_through_key, # cancel cancel_build
|
K("C-Pause"): pass_through_key, # cancel cancel_build
|
||||||
K("Super-c"): K("C-Pause"), # cancel_build
|
K("Super-c"): K("C-Pause"), # cancel_build
|
||||||
K("f9"): pass_through_key, # cancel sort_lines case_s false
|
K("f9"): pass_through_key, # cancel sort_lines case_s false
|
||||||
|
Reference in New Issue
Block a user