-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d2d2e98
commit ff666d2
Showing
6 changed files
with
57 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
alias dot='git --git-dir=$HOME/git/dotfiles --work-tree=$HOME' | ||
alias dot='git --git-dir=$HOME/git/dotfiles/.git --work-tree=$HOME' | ||
|
||
alias readme='cd ~/git/readme/' | ||
alias react='cd ~/git/readme/packages/react/' | ||
alias readme='cd ~/git/readme' | ||
alias react='cd ~/git/readme/packages/react' | ||
alias editor='cd ~/git/readme/packages/react/src/ui/MarkdownEditor' | ||
alias testme='npm run test -- --watch packages/react/src/ui/MarkdownEditor' | ||
alias rdmdx='cd ~/git/rdmdx' | ||
alias markdown='cd ~/git/markdown' | ||
|
||
alias prune-merged-branches='git branch --merged | grep -Ev "(^\*|master|main|next|dev)" | xargs git branch -d' | ||
|
||
alias plz=sudo | ||
alias please=sudo | ||
|
||
alias make="make --no-print-directory" | ||
|
||
alias tsc-diagnostics=npx tsc --diagnostics --explainFiles | ||
|
||
alias cdf='cd $(find . -type d -print | fzf)' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,10 +25,6 @@ Plug 'arcticicestudio/nord-vim' | |
Plug 'ayu-theme/ayu-vim' | ||
Plug 'sainnhe/gruvbox-material' | ||
Plug 'dracula/vim' | ||
"Plug 'junegunn/rainbow_parentheses.vim' | ||
"autocmd VimEnter * RainbowParentheses | ||
"Plug 'luochen1990/rainbow' | ||
"let g:rainbow_active = 1 "set to 0 if you want to enable it later via :RainbowToggle | ||
|
||
Plug 'vim-airline/vim-airline' | ||
Plug 'vim-airline/vim-airline-themes' | ||
|
@@ -40,8 +36,9 @@ let g:coc_global_extensions = [ | |
\ 'coc-prettier', | ||
\ 'coc-eslint', | ||
\ 'coc-tsserver', | ||
\ 'coc-stylelintplus' | ||
\ ] | ||
" use <tab> for trigger completion and navigate to the next complete item | ||
|
||
function! s:check_back_space() abort | ||
let col = col('.') - 1 | ||
return !col || getline('.')[col - 1] =~ '\s' | ||
|
@@ -108,15 +105,10 @@ nnoremap <silent> <leader>b :Buffers<CR> | |
nnoremap <silent> <C-f> :Files<CR> | ||
Plug 'junegunn/goyo.vim' | ||
Plug '[email protected]:github/copilot.vim.git' | ||
|
||
Plug '907th/vim-auto-save' | ||
let g:auto_save = 0 | ||
augroup ft_markdown | ||
au! | ||
au FileType markdown let b:auto_save = 1 | ||
augroup END | ||
|
||
"Plug 'jdonaldson/vaxe' | ||
let g:copilot_no_tab_map = v:true | ||
inoremap <silent><expr> <S-TAB> copilot#Accept("") | ||
call plug#end() | ||
|
||
|
@@ -127,6 +119,8 @@ set clipboard+=unnamedplus | |
|
||
set expandtab | ||
set tabstop=2 | ||
set softtabstop=2 | ||
set shiftwidth=2 | ||
|
||
set textwidth=79 | ||
set fo+=t | ||
|
@@ -137,9 +131,6 @@ autocmd FileType javascript JsPreTmpl | |
autocmd FileType javascriptreact JsPreTmpl | ||
autocmd FileType typescript JsPreTmpl | ||
|
||
" markdown to html | ||
map <F3> :%!markdown<CR> | ||
" Stop using arrow keys! | ||
noremap <Up> <nop> | ||
noremap <Down> <nop> | ||
|
@@ -148,9 +139,6 @@ noremap <Right> <nop> | |
set cmdheight=2 | ||
|
||
" Print Options | ||
set printoptions=header:0,syntax:n,paper:letter,formfeed:y | ||
|
||
" Don't use Ex mode, use Q for formatting | ||
map Q gq | ||
|
@@ -165,5 +153,10 @@ autocmd VimLeave * call system("tmux setw automatic-rename") | |
|
||
autocmd BufRead,BufNewFile *eslintrc set filetype=json | ||
|
||
set backup | ||
set backupdir=~/.vim/backup | ||
|
||
highlight Comment cterm=italic gui=italic | ||
|
||
command Bacon :r! curl -s "https://baconipsum.com/api/?type=all-meat¶s=3&format=text" | ||
command Lemon :r! ~/bin/lemon-ipsum.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
name = Kelly Joseph Price | ||
[push] | ||
default = current | ||
autoSetupRemote = true | ||
[core] | ||
pager = less -F -X | ||
hooksPath = ~/.config/git/hooks' | ||
|
@@ -12,6 +13,7 @@ | |
enabled = true | ||
[diff] | ||
tool = vimdiff | ||
alogrithm = histogram | ||
[help] | ||
autocorrect = 1 | ||
[filter "lfs"] | ||
|
@@ -26,3 +28,18 @@ | |
helper = store | ||
[url "[email protected]:"] | ||
insteadOf = https://github.com/ | ||
[pull] | ||
ff = only | ||
rebase = true | ||
[remote] | ||
pushDefault = origin | ||
[advice] | ||
skippedCherryPicks = false | ||
[init] | ||
defaultBranch = main | ||
[credential "https://github.com"] | ||
helper = | ||
helper = !/usr/bin/gh auth git-credential | ||
[credential "https://gist.github.com"] | ||
helper = | ||
helper = !/usr/bin/gh auth git-credential |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters