diff --git a/dot_config/doom/config.el b/dot_config/doom/config.el index 2a0d30b..3ff420c 100644 --- a/dot_config/doom/config.el +++ b/dot_config/doom/config.el @@ -161,5 +161,6 @@ (add-hook 'org-mode-hook (lambda () (org-superstar-mode 1)))) - - +; enable vimrc mode +(require 'vimrc-mode) +(add-to-list 'auto-mode-alist '("\\.vim\\(rc\\)?\\'" . vimrc-mode)) diff --git a/dot_config/doom/packages.el b/dot_config/doom/packages.el index 65507d5..19ae092 100644 --- a/dot_config/doom/packages.el +++ b/dot_config/doom/packages.el @@ -79,3 +79,5 @@ (package! ripgrep) ; enable dockerfile major mode (package! dockerfile-mode) +; enable vimscript +(package! vimrc-mode) diff --git a/dot_config/oh-my-zsh/custom/02_zgenom.zsh b/dot_config/oh-my-zsh/custom/02_zgenom.zsh index 8efc073..25b206b 100644 --- a/dot_config/oh-my-zsh/custom/02_zgenom.zsh +++ b/dot_config/oh-my-zsh/custom/02_zgenom.zsh @@ -43,7 +43,6 @@ if ! zgenom saved; then zgenom ohmyzsh plugins/npm zgenom ohmyzsh plugins/pip zgenom ohmyzsh plugins/rvm - zgenom ohmyzsh plugins/sudo zgenom ohmyzsh plugins/svn zgenom ohmyzsh plugins/systemd zgenom ohmyzsh plugins/terraform diff --git a/dot_vimrc b/dot_vimrc index 3d6d937..550fff6 100644 --- a/dot_vimrc +++ b/dot_vimrc @@ -31,3 +31,6 @@ let g:syntastic_check_on_wq = 0 " specify browser to open preview page " default: '' let g:mkdp_browser = 'qutebrowser' + +" configure translation +let g:goog_user_conf = { 'langpair': 'en|nl', 'v_key': 'T', 'charset': 'utf-8' } diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl index 92c8215..e576b06 100644 --- a/dot_zshrc.tmpl +++ b/dot_zshrc.tmpl @@ -77,8 +77,11 @@ zgenom autoupdate if ! zgenom saved; then # specify plugins here + zgenom ohmyzsh zgenom ohmyzsh plugins/git - zgenom ohmyzsh plugins/sudo zgenom ohmyzsh + zgenom ohmyzsh plugins/sudo + zgenom ohmyzsh plugins/docker + zgenom ohmyzsh plugins/docker-compose zgenom load zsh-users/zsh-syntax-highlighting @@ -125,6 +128,9 @@ export PATH=/home/joachim/.local/share/gem/ruby/3.0.0/bin:$PATH # add my own scripts to the path export PATH=$HOME/scripts:$PATH +# set firefox as default browser +xdg-settings set default-web-browser firefox.desktop + # this supposedly fixes the slow pasting into shell # zstyle ':bracketed-paste-magic' active-widgets '.self-*'