i3: fix some apostrophe characters
vim: minor refactoring

 * replace control characters with the equivalent \x notation
 * replace a tab with necessary spaces for correct indentation
   regardless of tabstop setting