You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 1, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: guides/emacs.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
-
#+title: Emacs
1
+
# Emacs Integration
2
2
3
3
Emacs' built in file manager Dired is often used to browse files. And Emacs is often used in WSL on Windows, because the windows-native GNU Emacs is kind of meh.
4
4
But sadly some typical files we have to deal with on windows are files Emacs can't handle very well. (Mostly MS Office files)
5
5
6
-
To use Emacs' Dired in WSL Emacs to open files in Windows, the ~wslview~ command from Wslutilities can be used.
6
+
To use Emacs' Dired in WSL Emacs to open files in Windows, the `wslview` command from Wslutilities can be used.
Now, when you mark files in Dired using ~m~ (or if nothing is marked, the file under point is used) run ~M-x my/wslview-open~ to open the marked files using whatever is the appropriate program in Windows.
32
+
Now, when you mark files in Dired using `m` (or if nothing is marked, the file under point is used) run `M-x my/wslview-open` to open the marked files using whatever is the appropriate program in Windows.
33
33
If more then five files where marked, Emacs will prompt in the minibuffer if that many files should really be opened.
34
-
Also, if you are not in a Dired buffer and you run ~M-x my/wslview-open~, the file of the currently open buffer will be opened with the appropriate program in Windows.
34
+
Also, if you are not in a Dired buffer and you run `M-x my/wslview-open`, the file of the currently open buffer will be opened with the appropriate program in Windows.
0 commit comments