From bbf5b267fa8c327956bfffc6465629c44c622f1c Mon Sep 17 00:00:00 2001 From: Kevin Mok Date: Wed, 21 Mar 2018 06:29:06 -0400 Subject: [PATCH] Vim: use spaces instead of tabs for LaTeX --- aliases/zsh_aliases | 2 +- configs/NZXT/i3/config | 3 ++- dotfiles/vimrc | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/aliases/zsh_aliases b/aliases/zsh_aliases index cffa1b9..65a0067 100644 --- a/aliases/zsh_aliases +++ b/aliases/zsh_aliases @@ -424,6 +424,6 @@ alias m92="c9 time_reads.c && ./time_reads.out 1 test.txt" # }}} # }}} -alias 36a="$cd_school/236/a1" +alias 6a="$cd_school/236/a2" alias 6t="ok ~/Documents/School/236-textbook.pdf" # }}} school # diff --git a/configs/NZXT/i3/config b/configs/NZXT/i3/config index 91356d2..a8418bd 100644 --- a/configs/NZXT/i3/config +++ b/configs/NZXT/i3/config @@ -136,6 +136,7 @@ workspace $ws4 output $samsung set $ws5 "5 " workspace $ws5 output $benq bindsym $mod+F5 workspace $ws5; exec google-chrome +bindsym Mod4+g workspace $ws5; layout stacking; exec steam set $ws6 "6 " workspace $ws6 output $samsung @@ -220,7 +221,7 @@ bindsym $mod+control+l resize shrink width 3 px or 3 ppt # gaps {{{ # # remove window titlebars -for_window [class="^.*"] border pixel 0 +for_window [class="^.*"] border pixel 2 # default gaps gaps inner 25 gaps outer 5 diff --git a/dotfiles/vimrc b/dotfiles/vimrc index ba83cc1..dff56f4 100644 --- a/dotfiles/vimrc +++ b/dotfiles/vimrc @@ -196,6 +196,7 @@ nnoremap Y "+Y " Local Mappings {{{ " let maplocalleader="-" autocmd Filetype c inoremap s struct pixel +autocmd Filetype tex set tabstop=2 shiftwidth=2 expandtab " tex {{{ " autocmd Filetype tex inoremap D \Delta