Skip to content

Instantly share code, notes, and snippets.

@heavywatal
Created March 29, 2012 08:15
Show Gist options
  • Save heavywatal/2234887 to your computer and use it in GitHub Desktop.
Save heavywatal/2234887 to your computer and use it in GitHub Desktop.
MS Word Macros for Emacs keybind
Sub KillLine()
Selection.MoveDown Unit:=wdParagraph, Extend:=wdExtend
Selection.Cut
End Sub
Sub BackSpace()
Selection.TypeBackspace
End Sub
Sub Delete()
Selection.Delete
End Sub
Sub NewLine()
Selection.TypeParagraph
End Sub
Sub PasteUnformatted()
Selection.PasteSpecial DataType:=wdPasteText
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment