diff --git a/shellscript/.bashrc b/dotfiles/.bashrc similarity index 97% rename from shellscript/.bashrc rename to dotfiles/.bashrc index 7e85185..1a47f6f 100644 --- a/shellscript/.bashrc +++ b/dotfiles/.bashrc @@ -28,7 +28,7 @@ export HISTFILESIZE=$((HISTSIZE*2)) export HISTCONTROL=ignoredups export HISTTIMEFORMAT='%Y-%m-%d %T ' -export TRASH="~/.Trash/" +export TRASH="${HOME}/.Trash/" #complete -c man sudo gksu complete -c man sudo diff --git a/dotfiles/.vimrc b/dotfiles/.vimrc new file mode 100644 index 0000000..568bea6 --- /dev/null +++ b/dotfiles/.vimrc @@ -0,0 +1,51 @@ +filetype off +autocmd BufNewFile,BufRead *.ino setfiletype arduino +colorscheme desert +nnoremap +nnoremap , :edit $MYVIMRC +nnoremap . :source $MYVIMRC +nnoremap +nnoremap Q :quit! +nnoremap S :saveas +nnoremap b :buffers +nnoremap d :bdelete +nnoremap e :Explore +nnoremap m :make +nnoremap n :bnext +nnoremap p :bprevious +nnoremap q :quit +nnoremap s :write +nnoremap t :tabnew +nnoremap u :update +set autoindent +set backup +set backupdir=$HOME/.vim/tmp +set expandtab +set foldmethod=marker +set ignorecase +set laststatus=2 +set modeline +set modelines=1 +set nocompatible +set nowrap +set number +set shiftwidth=2 +set smartcase +set smartindent +set softtabstop=2 +set statusline=%<%f\ %h%m%r%=\ %l/%L,%c%y +set visualbell +set whichwrap=b,s,h,l,<,>,~,[,] +syntax on + +"for matchit.vim +source $VIMRUNTIME/macros/matchit.vim +let b:match_words = &matchpairs.'<\([A-Za-z_\:][A-Za-z0-9.\-_\:]*\):