Move copy path (to wrong file)
This commit is contained in:
@@ -357,15 +357,6 @@ only the description"
|
||||
(kill-new markdown-link)
|
||||
(message "Copied %s" markdown-link)))
|
||||
|
||||
(defun qwan/copy-filename ()
|
||||
"Push the file name of the currently visited buffer to the kill ring."
|
||||
(interactive)
|
||||
(unless buffer-file-name
|
||||
(error "The current buffer doesn't visit a file"))
|
||||
|
||||
(kill-new buffer-file-name)
|
||||
(message "Copied %s" buffer-file-name))
|
||||
|
||||
(defun qwan/relative-path-to-attachments (full-path)
|
||||
(substring full-path (string-search "/attachments" full-path 0)))
|
||||
(require 'ert)
|
||||
@@ -454,6 +445,10 @@ only the description"
|
||||
(add-load-path! "~/.doom.d/mostalive")
|
||||
(require 'my-org-roam)
|
||||
|
||||
(add-load-path! "~/.doom.d/qwan")
|
||||
(require 'qwan-blog)
|
||||
|
||||
|
||||
;; org-roam v1 port to v2, insert node without opening buffer
|
||||
(map!
|
||||
:leader
|
||||
|
||||
Reference in New Issue
Block a user