summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/vim/vimrc4
-rw-r--r--user/zsh/.zshrc2
2 files changed, 6 insertions, 0 deletions
diff --git a/user/vim/vimrc b/user/vim/vimrc
new file mode 100644
index 0000000..b65deb0
--- /dev/null
+++ b/user/vim/vimrc
@@ -0,0 +1,4 @@
+syntax on
+
+" Enable pasting with middle mouse click in insert mode.
+set mouse=
diff --git a/user/zsh/.zshrc b/user/zsh/.zshrc
index 624cb33..ea5b76a 100644
--- a/user/zsh/.zshrc
+++ b/user/zsh/.zshrc
@@ -47,6 +47,8 @@ SAVEHIST=1000000000
export XDG_CACHE_HOME=$HOME/.cache
export XDG_CONFIG_HOME=$HOME/.config
+export EDITOR=vim
+
## Completion
autoload -Uz compinit
[ -d "$XDG_CACHE_HOME"/zsh ] || mkdir -p "$XDG_CACHE_HOME"/zsh