Skip to content

Commit

Permalink
Fixed backspace, .ino, vi alias
Browse files Browse the repository at this point in the history
  • Loading branch information
kn1cht committed Nov 4, 2016
1 parent 5c9790a commit 15d5ef9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ set smartindent
set smarttab
set tabstop=2
set whichwrap=b,s,h,l,<,>,[,]
set backspace=indent,eol,start
autocmd BufWritePre * :%s/\s\+$//ge
autocmd BufWritePre * :%s/\t/ /ge

Expand Down Expand Up @@ -69,6 +70,8 @@ autocmd BufNewFile,BufRead *.{md,mdwn,mkd,mkdn,mark*} set filetype=markdown
autocmd BufNewFile,BufRead *.{json} set filetype=javascript
" javascript as jquery
autocmd BufNewFile,BufRead *.{js} set filetype=jquery
" ino as cpp
autocmd BufNewFile,BufRead *.{ino} set filetype=cpp

""""""""""""""""""""""""""""""
" http://inari.hatenablog.com/entry/2014/05/05/231307
Expand Down
1 change: 1 addition & 0 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ setopt hist_reduce_blanks
setopt extended_glob

alias vv="g++ --std=c++11 -O2 -Wall"
alias vi="vim"
alias ls='ls -Ga'
alias mkdir='mkdir -p'
alias sudo='sudo '
Expand Down

0 comments on commit 15d5ef9

Please sign in to comment.