diff --git a/dotfiles/.zshrc b/dotfiles/.zshrc
index 262b548b76bab9d54de642a2ffa3455a82ac33e8..420c54b4053deef2bf46fc7b360a4d81599d6cb6 100644
--- a/dotfiles/.zshrc
+++ b/dotfiles/.zshrc
@@ -3,6 +3,7 @@
 
 # Path to your oh-my-zsh installation.
 export ZSH="/home/$USER/.oh-my-zsh"
+export EDITOR=/bin/vim
 
 # Set name of the theme to load --- if set to "random", it will
 # load a random theme each time oh-my-zsh is loaded, in which case,
diff --git a/pacman.deps b/pacman.deps
index 3d97c57bac7f70ae5dc4acab683d45151e1e4a0e..3b42bd7d7e4f9dd340a18336b68af34b745769ed 100644
--- a/pacman.deps
+++ b/pacman.deps
@@ -18,6 +18,7 @@ ttf-fira-code
 ttf-font-awesome
 ttf-ubuntu-font-family
 unclutter
+vim
 xdg-utils
 xorg
 xorg-xclock