Browse Source

Vim: use spaces instead of tabs for LaTeX

red-hat-laptop
Kevin Mok 7 years ago
parent
commit
bbf5b267fa
  1. 2
      aliases/zsh_aliases
  2. 3
      configs/NZXT/i3/config
  3. 1
      dotfiles/vimrc

2
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 #

3
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

1
dotfiles/vimrc

@ -196,6 +196,7 @@ nnoremap <leader>Y "+Y
" Local Mappings {{{ "
let maplocalleader="-"
autocmd Filetype c inoremap <localleader>s struct pixel
autocmd Filetype tex set tabstop=2 shiftwidth=2 expandtab
" tex {{{ "
autocmd Filetype tex inoremap <localleader>D \Delta

Loading…
Cancel
Save