This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-04-13
Channels
- # babashka (45)
- # babashka-sci-dev (15)
- # beginners (72)
- # biff (4)
- # calva (3)
- # clj-on-windows (67)
- # clj-otel (1)
- # cljfx (7)
- # clojure (74)
- # clojure-austin (1)
- # clojure-dev (4)
- # clojure-europe (6)
- # clojure-gamedev (1)
- # clojure-germany (5)
- # clojure-losangeles (6)
- # clojure-nl (3)
- # clojure-uk (6)
- # clojured (2)
- # clojurescript (42)
- # core-typed (2)
- # cursive (4)
- # emacs (18)
- # events (1)
- # fulcro (13)
- # humbleui (8)
- # introduce-yourself (2)
- # kaocha (11)
- # leiningen (5)
- # lsp (16)
- # malli (8)
- # off-topic (69)
- # pathom (38)
- # pedestal (3)
- # reagent (17)
- # releases (3)
- # shadow-cljs (10)
- # spacemacs (6)
- # sql (1)
- # tools-deps (5)
- # xtdb (20)
What should i use for file operations such that my current buffer can be kept in sync.
e.g i want to move a file, and have my buffer understand it was moved and update, and not prompt me to save the file.
What do you use right now? I think dired is good for moving/renaming files. I also use NeoTree.
I use SPC f R
on a buffer to rename a file, moving it to a different place on the path. Saving the file will create any directories that don't already exist.
If it's a Clojure file, I would use LSP rename, , r r
on the buffer namespace which should also move the file to the corresponding file path.
I am not aware of tools to manage buffers if files are moved outside of Emacs.
Does anyone know about evil mode operators? I want to sent an output of a motion to a function and it works. But then my cursor jumps to the beginning of the motion and I want to leave it at the current (point)
. How do I do that?
It could also work if I'd be able to call the operator myself. But then I don't know the params. In this case I could try to use save-excursion
.
Figured it out:
:move-point nil