Advertisement
SPennLUE

keyboard shortcuts with autohotkey

Jun 14th, 2016
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #SingleInstance force
  2.  
  3. AppsKey::Suspend
  4.  
  5. /*
  6. To define a hotstring, enclose the triggering abbreviation between pairs of colons as in this example:
  7.  
  8. ::btw::by the way
  9.  
  10.  you must type an ending character after a hotstring's abbreviation to trigger it. Ending characters initially consist of the following: -()[]{}':;"/\,.?!`n `t (note that `n is Enter, `t is Tab, and there is a plain space between `n and `t). This set of characters can be changed by editing the following example, which sets the new ending characters for all hotstrings, not just the ones beneath it:
  11.  
  12. #Hotstring EndChars -(){}:;'"/\,.?!`n `t
  13.  
  14. * (asterisk): An ending character (e.g. space, period, or enter) is not required to trigger the hotstring. For example:
  15.  
  16. :*:j@::jsmith@somedomain.com
  17.  
  18. O: Omit the ending character of auto-replace hotstrings when the replacement is produced. This is useful when you want a hotstring to be kept unambiguous by still requiring an ending character, but don't actually want the ending character to be shown on the screen. For example, if :o:ar::aristocrat is a hotstring, typing "ar" followed by the spacebar will produce "aristocrat" with no trailing space, which allows you to make the word plural or possessive without having to backspace. Use O0 (the letter O followed by a zero) to turn this option back off.
  19.  
  20.  
  21. more info: https://autohotkey.com/docs/Hotstrings.htm
  22. */
  23.  
  24. #Hotstring EndChars -():;"\,.?!`n `t
  25.  
  26.  
  27. ;---------
  28. ;shortcuts
  29. ;---------
  30.  
  31. ::abt::about
  32. ::aint::ain't
  33. ::alth::although
  34. ::altg::although
  35. ::n::and
  36. ::anm::anymore
  37. ::ano::anyone
  38. ::anth::anything
  39. ::anw::anyway
  40. ::anwh::anywhere
  41. ::r'::aren't
  42. ::bc::because
  43. ::bg::being
  44. ::btw::between
  45. ::b::but
  46. ::c::can
  47. ::c'::can't
  48. ::cont::con't
  49. ::cl::could
  50. ::cl'::couldn't
  51. ::dd::didn't
  52. :c:ds::does
  53. :c:Ds::Does
  54. ::ds'::doesn't
  55. ::dg::doing
  56. ::d'::don't
  57. ::eg::enough
  58. ::evb::everybody
  59. ::evb'::everybody's
  60. ::evo::everyone
  61. ::evo'::everyone's
  62. ::evth::everything
  63. ::evth'::everything's
  64. ::evwh::everywhere
  65. ::f::for
  66. ::fr::from
  67. ::gg::going
  68. ::h::how
  69. ::h'::how's
  70. :c:hd::had
  71. :c:Hd::Had
  72. ::hd'::hadn't
  73. ::hs::has
  74. ::hs'::hasn't
  75. :c:hv::have
  76. :c:Hv::Have
  77. :c:hv'::haven't
  78. :c:Hv'::Haven't
  79. ::hg::having
  80. ::hr::here
  81. ::hr'::here's
  82. ::i'::isn't
  83. ::id::I'd
  84. ::il::I'll
  85. ::im::I'm
  86. ::iv::I've
  87. ::j::just
  88. ::lk::like
  89. ::lkd::liked
  90. ::lkl::likely
  91. ::lks::likes
  92. ::lkg::liking
  93. ::mh::much
  94. ::nth::nothing
  95. ::orsv::ourselves
  96. ::pl::people
  97. ::pl'::people's
  98. ::pn::person
  99. ::pn'::person's
  100. ::pbl::probably
  101. ::rl::real
  102. ::rly::really
  103. ::rmb::remember
  104. ::rmbd::remembered
  105. ::rmbed::remembered
  106. ::rmbg::remembering
  107. ::rmbing::remembering
  108. ::rmbs::remembers
  109. ::sl::should
  110. ::sl'::shouldn't
  111. ::sm::some
  112. ::smbd::somebody
  113. ::smo::someone
  114. ::smo'::someone's
  115. ::smth::something
  116. ::smth'::something's
  117. ::smtm::sometimes
  118. ::smwh::somewhere
  119. ::tt::that
  120. ::tt'::that's
  121. ::tt'l::that'll
  122. ::t::the
  123. ::ti::their
  124. ::tis::theirs
  125. ::tm::them
  126. ::tmsv::themselves
  127. ::th::there
  128. ::th'::there's
  129. ::ts'::these
  130. ::ty::they
  131. ::ty'::they'll
  132. ::tyr::they're
  133. ::tyv::they've
  134. ::ts::this
  135. ::ths::those
  136. ::tg::though
  137. ::tht::thought
  138. ::thts::thoughts
  139. ::thr::through
  140. ::ws::was
  141. ::ws'::wasn't
  142. ::we'::we're
  143. ::wr::were
  144. ::wr'::weren't
  145. ::wt::what
  146. ::wt'::what's
  147. ::w/e::whatever
  148. ::wh::where
  149. ::wh'::where's
  150. ::wh/e::wherever
  151. ::wn::when
  152. ::wn'::when's
  153. ::wn/e::whenever
  154. ::whi::which
  155. ::whl::while
  156. ::w::will
  157. ::w/::with
  158. ::w/o::without
  159. ::w'::won't
  160. ::wl::would
  161. ::wl'::wouldn't
  162. ::y::you
  163. ::y'd::you'd
  164. ::y'l::you'll
  165. ::y'r::you're
  166. ::y'v::you've
  167. ::yr::your
  168. ::yrs::yours
  169. ::yrsf::yourself
  170.  
  171.  
  172. ;------------
  173. ;common typos
  174. ;------------
  175.  
  176.  
  177.  
  178. :*?:ablt::able
  179. :*?:almsot::almost
  180. :*?:alwasy::always
  181. :*?:anotehr::another
  182. :*?:behing::behind
  183. :*?:baord::board
  184. :*?:contorl::control
  185. :*?:downlaod::download
  186. ::ebat::ebay
  187. :*?:gropu::group
  188. :*?:keybaord::keyboard
  189. :*?:keybvoard::keyboard
  190. :*?:keyvboard::keyboard
  191. ::elast::least
  192. ::lsot::lost
  193. :*?:movile::mobile
  194. :*?:mroe::more
  195. ::nive::nice
  196. ::nto::not
  197. :*?:otehr::other
  198. ::realte::relate
  199. ::realted::related
  200. ::psot::post
  201. ::psots::posts
  202. :*?:psoted::posted
  203. :*?:psoting::posting
  204. :*?:serach::search
  205. :*?:spiler::spoiler
  206. :*?:spilers::spoilers
  207. :*?:thign::thing
  208. ::hting::thing
  209. :*?:tihng::thing
  210. :*?:thikn::think
  211. ::htink::think
  212. ::thinkg::think
  213. :*?:tihnk::think
  214. :*?:tpoic::topic
  215. :*?:toipc::topic
  216. ::unrealted::unrelated
  217. :*?:yeras::years
  218. :*?:youutbe::youtube
  219.  
  220. :c*?:DOwn::Down
  221. :c*?:RIght::Right
  222. :c*?:LEft::Left
  223.  
  224.  
  225. :c*?:IF::if () {{}{Left}{Left}{Left}
  226. :c*?:ELSE::else {{}{Enter}
  227. :c*?:ELSF::else if () {{}{Left}{Left}{Left}
  228. :c*?:WHILE::while () {{}{Left}{Left}{Left}
  229. :c*?:FOR::for () {{}{Left}{Left}{Left}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement