Skip to content

Commit

Permalink
[Add] .vimrc and .aliases*
Browse files Browse the repository at this point in the history
[Update] remove git in mackup
  • Loading branch information
dwchiang committed Aug 27, 2020
1 parent eb4cfe7 commit fb2dda3
Show file tree
Hide file tree
Showing 7 changed files with 62 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .aliases
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Place aliases in this file, for example:
# alias cat='bat'
1 change: 1 addition & 0 deletions .aliases.local.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Modify this file to be `.aliases.local` for your own local/personal usage.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.gitconfig.local
.gitconfig.local
.aliases.local
1 change: 0 additions & 1 deletion .mackup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ cyberduck
dash
docker
editorconfig
git
gnupg
gradle
keka
Expand Down
50 changes: 50 additions & 0 deletions .vimrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
" set cursorline
" set number
set nocompatible " be iMproved, required
filetype off " required

" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')

" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'

" http://vimawesome.com/plugin/ctrlp-vim-red
" This does the same thing as Sublime’s Ctrl P. Fuzzy search by file name.
" Must have.
Plugin 'kien/ctrlp.vim'

Plugin 'scrooloose/syntastic'

" Plugin 'stanangeloff/php.vim'
" Bundle 'joonty/vim-phpqa.git'
" Plugin 'shawncplus/phpcomplete.vim'
" Plugin 'ervandew/supertab'

Plugin 'tpope/vim-markdown'

Plugin 'pangloss/vim-javascript'
Plugin 'rust-lang/rust.vim'
Plugin 'racer-rust/vim-racer'

" All of your Plugins must be added before the following line
call vundle#end() " required
syntax enable
filetype plugin indent on " required
" To ignore plugin indent changes, instead use:
"filetype plugin on
"
" Brief help
" :PluginList - lists configured plugins
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
" :PluginSearch foo - searches for foo; append `!` to refresh local cache
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
"
" see :h vundle for more details or wiki for FAQ
" Put your non-Plugin stuff after this line

" For SuperTab
let g:SuperTabDefaultCompletionType = ""
1 change: 1 addition & 0 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ export PATH="${PATH}:${HOME}/.yarn/bin:${HOME}/.config/yarn/global/node_modules/
# Aliases
####################################################################
source ~/.aliases
source ~/.aliases.local

####################################################################
# You may need to manually set your language environment
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ source ~/.dotfiles/scripts/setup-macos.sh

Create symlinks for dotfiles (e.g. `.zshrc`, `.gitconfig`, etc).

Edit your own `.gitconfig.local` which can be duplicated from `.gitconfig.local.example`.
- Edit your own `.gitconfig.local` which can be duplicated from `.gitconfig.local.example`.
- Edit your own `.aliases.local` which can be duplicated from `.aliases.local.example`.

```
source ~/.dotfiles/scripts/setup-symlinks.sh
Expand Down Expand Up @@ -171,6 +172,10 @@ java -version

- Flutter SDK Location: `~/Library/flutter`

### (My Notes)

- `ln -is /Users/___userNameHere___/Dropbox/Apps/Byword/notes ~/notes`

----

## Daily Usage
Expand Down

0 comments on commit fb2dda3

Please sign in to comment.