From fba10c65b9b8742d2db6fdd03f99c6d0b0a96089 Mon Sep 17 00:00:00 2001 From: Marcel Schneider Date: Sat, 15 Aug 2020 17:43:42 +0200 Subject: [PATCH] Update vim config --- tmux/tmux.conf.symlink | 3 +++ vim/ftplugin/mail.vim | 4 ++++ vim/ftplugin/tex.vim | 4 ++++ zsh/aliases.zsh | 2 -- 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/tmux/tmux.conf.symlink b/tmux/tmux.conf.symlink index aa79ff7..c58d215 100644 --- a/tmux/tmux.conf.symlink +++ b/tmux/tmux.conf.symlink @@ -5,6 +5,9 @@ set -g history-limit 20000 # automatically renumber tmux windows set -g renumber-windows on +# something for nvim +set -g focus-events on + # unbind default prefix and set it to Ctrl+a unbind C-b set -g prefix C-a diff --git a/vim/ftplugin/mail.vim b/vim/ftplugin/mail.vim index 7376fe5..50d7168 100644 --- a/vim/ftplugin/mail.vim +++ b/vim/ftplugin/mail.vim @@ -1,2 +1,6 @@ + +set spell +set spelllang=de + iab VG Viele Grüße iab MS Marcel Schneider diff --git a/vim/ftplugin/tex.vim b/vim/ftplugin/tex.vim index 6214f3f..feeee42 100644 --- a/vim/ftplugin/tex.vim +++ b/vim/ftplugin/tex.vim @@ -32,4 +32,8 @@ iab DEU Deutschland iab thg Treibhausgas iab emis Emission iab ewende Energiewende +iab def Definition +iab OSA Off-Shore-Anlage +iab oSA On-Shore-Anlage +iab zb zum Beispiel "}}} diff --git a/zsh/aliases.zsh b/zsh/aliases.zsh index 16efd41..c3237ce 100644 --- a/zsh/aliases.zsh +++ b/zsh/aliases.zsh @@ -25,8 +25,6 @@ alias down='http --download ' alias p3='python3 ' -alias open='xdg-open ' - alias -g L='| less' alias -g G='| grep'