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" alias 6t="ok ~/Documents/School/236-textbook.pdf"
# }}} school # # }}} school #

3
configs/NZXT/i3/config

@ -136,6 +136,7 @@ workspace $ws4 output $samsung
set $ws5 "5 " set $ws5 "5 "
workspace $ws5 output $benq workspace $ws5 output $benq
bindsym $mod+F5 workspace $ws5; exec google-chrome bindsym $mod+F5 workspace $ws5; exec google-chrome
bindsym Mod4+g workspace $ws5; layout stacking; exec steam
set $ws6 "6 " set $ws6 "6 "
workspace $ws6 output $samsung workspace $ws6 output $samsung
@ -220,7 +221,7 @@ bindsym $mod+control+l resize shrink width 3 px or 3 ppt
# gaps {{{ # # gaps {{{ #
# remove window titlebars # remove window titlebars
for_window [class="^.*"] border pixel 0
for_window [class="^.*"] border pixel 2
# default gaps # default gaps
gaps inner 25 gaps inner 25
gaps outer 5 gaps outer 5

1
dotfiles/vimrc

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

Loading…
Cancel
Save