Added vimrc and cleanup of zshrc

This commit is contained in:
Joachim Nielandt 2023-06-06 13:18:02 +02:00
parent 271506e2e0
commit 0c542bbfda
5 changed files with 15 additions and 4 deletions

View File

@ -161,5 +161,6 @@
(add-hook 'org-mode-hook (lambda () (add-hook 'org-mode-hook (lambda ()
(org-superstar-mode 1)))) (org-superstar-mode 1))))
; enable vimrc mode
(require 'vimrc-mode)
(add-to-list 'auto-mode-alist '("\\.vim\\(rc\\)?\\'" . vimrc-mode))

View File

@ -79,3 +79,5 @@
(package! ripgrep) (package! ripgrep)
; enable dockerfile major mode ; enable dockerfile major mode
(package! dockerfile-mode) (package! dockerfile-mode)
; enable vimscript
(package! vimrc-mode)

View File

@ -43,7 +43,6 @@ if ! zgenom saved; then
zgenom ohmyzsh plugins/npm zgenom ohmyzsh plugins/npm
zgenom ohmyzsh plugins/pip zgenom ohmyzsh plugins/pip
zgenom ohmyzsh plugins/rvm zgenom ohmyzsh plugins/rvm
zgenom ohmyzsh plugins/sudo
zgenom ohmyzsh plugins/svn zgenom ohmyzsh plugins/svn
zgenom ohmyzsh plugins/systemd zgenom ohmyzsh plugins/systemd
zgenom ohmyzsh plugins/terraform zgenom ohmyzsh plugins/terraform

View File

@ -31,3 +31,6 @@ let g:syntastic_check_on_wq = 0
" specify browser to open preview page " specify browser to open preview page
" default: '' " default: ''
let g:mkdp_browser = 'qutebrowser' let g:mkdp_browser = 'qutebrowser'
" configure translation
let g:goog_user_conf = { 'langpair': 'en|nl', 'v_key': 'T', 'charset': 'utf-8' }

View File

@ -77,8 +77,11 @@ zgenom autoupdate
if ! zgenom saved; then if ! zgenom saved; then
# specify plugins here # specify plugins here
zgenom ohmyzsh
zgenom ohmyzsh plugins/git 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 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 # add my own scripts to the path
export PATH=$HOME/scripts:$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 # this supposedly fixes the slow pasting into shell
# zstyle ':bracketed-paste-magic' active-widgets '.self-*' # zstyle ':bracketed-paste-magic' active-widgets '.self-*'