Compare commits
No commits in common. "4eb3b1cbc9195e13791b347152a4dc8790a2e054" and "1ecbdb282ec04cf2d24329f1d77d92cb1f4b79eb" have entirely different histories.
4eb3b1cbc9
...
1ecbdb282e
|
@ -28,6 +28,3 @@
|
||||||
!.gradle/gradle.properties
|
!.gradle/gradle.properties
|
||||||
|
|
||||||
!iterm2_settings/*
|
!iterm2_settings/*
|
||||||
|
|
||||||
!.config/fish/config.fish
|
|
||||||
!.config/fish/conf.d/omf.fish
|
|
||||||
|
|
2
.gvimrc
2
.gvimrc
|
@ -6,5 +6,5 @@ if has("gui_macvim")
|
||||||
nnoremap <D-o> :Files<CR>
|
nnoremap <D-o> :Files<CR>
|
||||||
endif
|
endif
|
||||||
|
|
||||||
colorscheme challenger_deep
|
colorscheme one
|
||||||
|
|
||||||
|
|
19
.vimrc
19
.vimrc
|
@ -10,7 +10,6 @@ Plug 'tpope/vim-sensible'
|
||||||
Plug 'scrooloose/nerdtree'
|
Plug 'scrooloose/nerdtree'
|
||||||
Plug 'danilo-augusto/vim-afterglow'
|
Plug 'danilo-augusto/vim-afterglow'
|
||||||
Plug 'rakr/vim-one'
|
Plug 'rakr/vim-one'
|
||||||
Plug 'challenger-deep-theme/vim'
|
|
||||||
Plug '/usr/local/opt/fzf'
|
Plug '/usr/local/opt/fzf'
|
||||||
Plug 'junegunn/fzf.vim'
|
Plug 'junegunn/fzf.vim'
|
||||||
Plug 'elixir-editors/vim-elixir'
|
Plug 'elixir-editors/vim-elixir'
|
||||||
|
@ -29,15 +28,13 @@ Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||||
Plug 'posva/vim-vue'
|
Plug 'posva/vim-vue'
|
||||||
Plug 'airblade/vim-gitgutter'
|
Plug 'airblade/vim-gitgutter'
|
||||||
" Plug 'vim-airline/vim-airline'
|
" Plug 'vim-airline/vim-airline'
|
||||||
Plug 'rhysd/vim-crystal'
|
|
||||||
Plug 'dag/vim-fish'
|
|
||||||
|
|
||||||
" call vundle#end()
|
" call vundle#end()
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
map <C-n> :NERDTreeToggle<CR>
|
map <C-n> :NERDTreeToggle<CR>
|
||||||
" nnoremap K :YcmCompleter GoTo<CR>
|
nnoremap K :YcmCompleter GoTo<CR>
|
||||||
" nnoremap <D-r> :YcmCompleter RefactorRename
|
nnoremap <D-r> :YcmCompleter RefactorRename
|
||||||
|
|
||||||
nnoremap <D-o> :Files<CR>
|
nnoremap <D-o> :Files<CR>
|
||||||
nnoremap <D-O> :Files<CR>
|
nnoremap <D-O> :Files<CR>
|
||||||
|
@ -57,20 +54,15 @@ set scrolloff=5
|
||||||
set sidescrolloff=5
|
set sidescrolloff=5
|
||||||
set ignorecase
|
set ignorecase
|
||||||
set smartcase
|
set smartcase
|
||||||
set cursorline
|
|
||||||
set splitbelow splitright
|
|
||||||
|
|
||||||
let g:mapleader=","
|
let g:mapleader=","
|
||||||
let g:mix_format_on_save = 1
|
let g:mix_format_on_save = 1
|
||||||
let g:NERDDefaultAlign = 'left'
|
let g:NERDDefaultAlign = 'left'
|
||||||
let g:NERDCommentEmptyLines = 1
|
let g:NERDCommentEmptyLines = 1
|
||||||
|
|
||||||
autocmd BufNewFile,BufRead *.md setlocal ft=markdown wrap linebreak
|
autocmd BufNewFile,BufRead *.md setlocal ft=markdown
|
||||||
autocmd BufNewFile,BufRead *.html.ejs setlocal ft=html
|
autocmd BufNewFile,BufRead *.html.ejs setlocal ft=html
|
||||||
autocmd FileType elixir setlocal shiftwidth=2 tabstop=2
|
autocmd FileType elixir setlocal shiftwidth=2 tabstop=2
|
||||||
autocmd FileType asm setlocal shiftwidth=2 tabstop=2
|
|
||||||
autocmd FileType crystal setlocal shiftwidth=2 tabstop=2
|
|
||||||
autocmd FileType yaml setlocal shiftwidth=2 tabstop=2
|
|
||||||
|
|
||||||
" Add optional packages.
|
" Add optional packages.
|
||||||
"
|
"
|
||||||
|
@ -174,7 +166,6 @@ nmap <silent> ]g <Plug>(coc-diagnostic-next)
|
||||||
|
|
||||||
" Remap keys for gotos
|
" Remap keys for gotos
|
||||||
nmap <silent> <C-]> <Plug>(coc-definition)
|
nmap <silent> <C-]> <Plug>(coc-definition)
|
||||||
nmap <silent> <C-w><C-]> <C-w>s<C-]>
|
|
||||||
nmap <silent> gy <Plug>(coc-type-definition)
|
nmap <silent> gy <Plug>(coc-type-definition)
|
||||||
nmap <silent> gi <Plug>(coc-implementation)
|
nmap <silent> gi <Plug>(coc-implementation)
|
||||||
nmap <silent> gr <Plug>(coc-references)
|
nmap <silent> gr <Plug>(coc-references)
|
||||||
|
@ -224,8 +215,8 @@ omap if <Plug>(coc-funcobj-i)
|
||||||
omap af <Plug>(coc-funcobj-a)
|
omap af <Plug>(coc-funcobj-a)
|
||||||
|
|
||||||
" Use <C-d> for select selections ranges, needs server support, like: coc-tsserver, coc-python
|
" Use <C-d> for select selections ranges, needs server support, like: coc-tsserver, coc-python
|
||||||
" nmap <silent> <C-d> <Plug>(coc-range-select)
|
nmap <silent> <C-d> <Plug>(coc-range-select)
|
||||||
" xmap <silent> <C-d> <Plug>(coc-range-select)
|
xmap <silent> <C-d> <Plug>(coc-range-select)
|
||||||
|
|
||||||
" Use `:Format` to format current buffer
|
" Use `:Format` to format current buffer
|
||||||
command! -nargs=0 Format :call CocAction('format')
|
command! -nargs=0 Format :call CocAction('format')
|
||||||
|
|
24
.zshrc
24
.zshrc
|
@ -17,18 +17,20 @@ alias fuck='$(thefuck $(fc -ln -1))'
|
||||||
|
|
||||||
alias subl="/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl"
|
alias subl="/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl"
|
||||||
|
|
||||||
|
alias git=hub
|
||||||
|
|
||||||
alias python=python3
|
alias python=python3
|
||||||
alias pip=pip3
|
alias pip=pip3
|
||||||
|
|
||||||
# alias oldruby="/usr/bin/ruby"
|
alias oldruby="/usr/bin/ruby"
|
||||||
# alias ruby="/usr/local/opt/ruby/bin/ruby"
|
alias ruby="/usr/local/opt/ruby/bin/ruby"
|
||||||
|
|
||||||
# Erlang/Elixir persistent shell history
|
# Erlang/Elixir persistent shell history
|
||||||
export ERL_AFLAGS="-kernel shell_history enabled"
|
export ERL_AFLAGS="-kernel shell_history enabled"
|
||||||
|
|
||||||
# lazily load nvm
|
# lazily load nvm
|
||||||
# export NVM_DIR=~/.nvm
|
# export NVM_DIR=~/.nvm
|
||||||
# . $(brew --prefix nvm)/nvm.sh
|
#. $(brew --prefix nvm)/nvm.sh
|
||||||
|
|
||||||
# nvm() {
|
# nvm() {
|
||||||
# unset -f nvm
|
# unset -f nvm
|
||||||
|
@ -66,12 +68,6 @@ export ERL_AFLAGS="-kernel shell_history enabled"
|
||||||
# yarn "$@"
|
# yarn "$@"
|
||||||
# }
|
# }
|
||||||
|
|
||||||
export NODE_OPTIONS="--max-old-space-size=8000"
|
|
||||||
|
|
||||||
# Ruby
|
|
||||||
export PATH="$HOME/.rbenv/bin:$PATH"
|
|
||||||
eval "$(rbenv init -)"
|
|
||||||
|
|
||||||
# Go up N directories
|
# Go up N directories
|
||||||
up() {
|
up() {
|
||||||
str=""
|
str=""
|
||||||
|
@ -111,16 +107,6 @@ ca() {
|
||||||
git commit --amend "$@"
|
git commit --amend "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
# pbedit: interactively edit the contents of the clipboard
|
|
||||||
pbedit() {
|
|
||||||
tmpfile=`mktemp /tmp/pbedit.XXXXX`
|
|
||||||
pbpaste > $tmpfile
|
|
||||||
if vim -c "set nofixeol" $tmpfile ; then
|
|
||||||
pbcopy < $tmpfile
|
|
||||||
fi
|
|
||||||
rm $tmpfile
|
|
||||||
}
|
|
||||||
|
|
||||||
# default file openings
|
# default file openings
|
||||||
alias -s ipr=open
|
alias -s ipr=open
|
||||||
alias -s xcodeproj=open
|
alias -s xcodeproj=open
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue