diff --git a/bashrc b/bashrc index ea881f8..96f3b82 100644 --- a/bashrc +++ b/bashrc @@ -117,6 +117,7 @@ alias mv="mv -v" alias la='ls -lah $LS_COLOR' alias dt='date "+%F %T"' alias awake='disphost; while true; do xdotool mousemove 0 0; sleep 60; done' +alias adk='/home/stonewareslord/applications/adk/bin/studio.sh>/dev/null&' alias resource='. ~/.bashrc' alias install='sudo apt-get install' alias search='sudo apt-cache search' diff --git a/vimrc b/vimrc index ca46a0c..385ea67 100644 --- a/vimrc +++ b/vimrc @@ -4,6 +4,7 @@ if has('conceal') endif nnoremap autoformat! :%s/, /,:%s/ \/ /\/:%s/ {/{:%s/} /}:%s/ = /= command! W %!sudo tee > /dev/null % +autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o au VimResized * exe "normal! \=" "match Error /\s\+$/ "nnoremap s xa @@ -11,8 +12,8 @@ au VimResized * exe "normal! \=" inoremap pumvisible() ? "\" : "\" imap \ neosnippet#expandable_or_jumpable() ? "\(neosnippet_expand_or_jump)" : pumvisible() ? "\" : "\" smap \ neosnippet#expandable_or_jumpable() ? "\(neosnippet_expand_or_jump)" : "\" -nnoremap \| v -nnoremap - s +nnoremap \| vl +nnoremap - sj nnoremap q nnoremap :!make&&echo "Uploading robot code";wput ./PPC603gnu/src/Debug/src.out ftp://frc:frc@10.20.59.2/ni-rt/system/FRC_UserProgram.out nnoremap G G$