This guide provides instructions on how to recreate my workflow (December 2019). The instructions are specific to my system and the current date. I would generally recommend installing the latest version of any software.
....:::: Eric Nguyen@DESKTOP-NCV8RUN ....:::::::::::: OS: Microsoft Windows 10 Home 64-bit ....:::: :::::::::::::::: Kernel: 10.0.18362 ....:::::::::::: :::::::::::::::: Uptime: 0d 21h 47m 16s :::::::::::::::: :::::::::::::::: Motherboard: LENOVO LNVNB161216 :::::::::::::::: :::::::::::::::: Shell: PowerShell 5.1.18362.145 :::::::::::::::: :::::::::::::::: Resolution: 3840 x 2160 :::::::::::::::: :::::::::::::::: Window Manager: DWM ................ ................ Font: Segoe UI :::::::::::::::: :::::::::::::::: CPU: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz :::::::::::::::: :::::::::::::::: GPU NVIDIA GeForce GTX 1050 :::::::::::::::: :::::::::::::::: RAM: 5404MB / 16199 MB (33%) '''':::::::::::: :::::::::::::::: Disk C: 330GB / 476GB (69%) '''':::: :::::::::::::::: Disk K: 0GB / 250GB (0%) '''':::::::::::: ''''::::
The following is an overview of software that I like to use.
- Anaconda
- Neovim
- Visual Studio Code
- Windows Terminal (Preview)
- GNU Emacs
- Okular
- Microsoft Word
- draw.io
- GIMP
- Gravit Designer
- WinAmp
- Spotify
- YouTube Music
- Bitwarden
- Julia
- Python
- R
- OpenJDK 13
- Microsoft Edge Beta (Chromium)
- Opera
- Firefox
- PowerToys
Spacemacs is a configuration framework for the Emacs text editor.
It essentially makes Emacs easier to configure, saving you a lot of time.
org-mode is a mode within Spacemacs that allows you to comfortably edit .org
files.
.org
is a great plaintext format for writing and organizing documents.
%USERPROFILE%
is Windows environment variable which specifies the current user’s home directory.
E.g. my %USERPROFILE%
would return C:/Users/Eric
because my user name on Windows is Eric.
Evil mode is an “extensible vi layer” for Emacs. What the hell does that mean?
vi is a popular text editor known for its modal nature. What the hell does that mean? Well, it’s not like a regular text editor that you may be used to such as Notepad. There are three main modes you should know as a beginner.
- Normal mode (the default mode, keys:
Esc
)- Allows you to navigate, save, exit and basically everything the other modes don’t allow you to do.
- Insert mode (keys:
i
,a
,Shift+a
)- Allows you to insert text into the file.
- Visual mode (key:
v
)- Allows you select text within the file and manipulate the selected text.
MikTeX is a distribution of typesetting systems TeX/LaTeX specifically for Windows systems.
I primarily use this for generating .pdf
files from my .org
files.
The default mode is normal mode. To switch to another mode, you must do so from normal mode.
i
→ insert mode
v
→ visual mode
Esc
→ normal mode
In normal mode, type :w
to write the file, :q
to quit the file, and :wq
to write and quit the file.
In normal mode, use h
to move left, j
to move down, k
to move up, and l
to move right.
You can increase the magnitude at which your cursor moves by typing the specific number and then the navigating key.
E.g. 10 j
will move the cursor down 10 times and 7 l
will move the cursor right 7 times.
Switch to insert mode.
Switch to visual mode. Select the text you want to copy using the navigating keys.
y
→ yank (copy) (note: this will not copy the text to your system’s clipboard)
In normal mode, hit p
.
- Visit a nearby GNU mirror, http://mirrors.kernel.org/gnu/emacs/windows/emacs-26/
- Download
emacs-26.3-x86_64.zip
. - Once done downloading, open the file location in File Explorer and extract it to
%USERPROFILE%/AppData/Local
. - Create a shortcut for
runemacs.exe
and rename it to Emacs 26.3. - Move the shortcut to
%USERPROFILE%/AppData/Roaming/Microsoft/Windows/Start Menu/Programs
. - Test to see if Emacs shows up in your Start Menu and it runs properly. If it does, congrats! You successfully installed Emacs.
- Search for “Edit environment variables for your account” using Windows Search. Typically, searching for “var” should suffice for the result to show up.
- In the User Variables section, check to see if you have a HOME variable.
If not, you’ll need to create a new variable called HOME and then set its value to
%USERPROFILE%
. - Once you’re done, just click OK until both dialogs close.
- If you have Git Bash installed, it’s easy as running
git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d
in your terminal. If you don’t have Git Bash installed, visit the link from that command. This should take you to Spacemacs’ GitHub repository. - On the GitHub page, find the green Download Button and then Download ZIP.
- Extract the ZIP into your
%USERPROFILE%
and name the extracted directory.emacs.d
. - Run Emacs and check to see if Spacemacs shows. If it does, it should prompt you to select which options you want to install for your Spacemacs configuration.
- Hit RETURN/ENTER for each item to install the default Spacemacs configuration. This will install Evil mode.