   (push-mark)
   (move-beginning-of-line 1)
   (newline-and-indent)
-  (previous-line)
+  (forward-line -1)
   (indent-for-tab-command))
 
 (global-set-key (kbd "C-o") 'my/open-line-above)

    (kill-ring-save (region-beginning) (region-end))
    (newline)
    (yank))
  (next-line))

(global-set-key (kbd "C-c d") 'my/duplicate-the-line)


  (interactive)
  (let ((col (current-column)))
    (transpose-lines 1)
    (forward-line -2)
    (move-beginning-of-line 1)
    (forward-char col)))

