   "Copy the current buffer's file path or dired path to `kill-ring'.
 If `universal-argument' is called, copy only the dir path.
 Version 2015-01-14
-URL `http://ergoemacs.org/emacs/emacs_copy_file_path.html'"
+URL `http://ergoemacs.org/emacs/emacs_copy_file_path.html'
+Optional argument ΦDIR-PATH-ONLY-P if copying buffer directory."
   (interactive "P")
   (let ((fPath
          (if (equal major-mode 'dired-mode)

  (yas-minor-mode))

(defun ar/markdown-mode-hook-function ()
  "Called when entering markdown-mode."
  (setq markdown-indent-on-enter nil)
  (define-key markdown-mode-map (kbd "RET") 'electric-newline-and-maybe-indent))



;; From http://www.reddit.com/r/emacs/comments/25v0eo/you_emacs_tips_and_tricks/chldury
(defun vsplit-last-buffer ()
  "Vertically splitting the screen and open the previous buffer instead of identical buffers."
  (interactive)
  (split-window-vertically)
  (other-window 1 nil)
  (switch-to-next-buffer)
  )
(defun hsplit-last-buffer ()
  "Horizontally splitting the screen and open the previous buffer instead of identical buffers."
  (interactive)
  (split-window-horizontally)
  (other-window 1 nil)
