Skip to content

Commit

Permalink
vim ctrlp: skip go mod dependencies checked into vcs, as well as comm…
Browse files Browse the repository at this point in the history
…on media files
  • Loading branch information
Andrew Pennebaker committed Jan 12, 2024
1 parent 65c5ac9 commit a5f17b6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,11 @@ let g:scratch_height = 0.50
" Scratch opens in Markdown format
let g:scratch_filetype = 'markdown'

" ctrlp: Apply .gitignore's
let g:ctrlp_user_command = ['.git', 'cd %s && git ls-files -co --exclude-standard']
" ctrlp: Ignore golang vendors
set wildignore+=vendor
" ctrlp: Exclude junk files, mainly .gitignore'd patterns
let g:ctrlp_user_command = [
\ '.git',
\ 'cd %s && git ls-files -co --exclude-standard | grep -vE "vendor|\\.gif|\\.jpeg|\\.jpg|\\.mp3|\\.png|\\.wav|\\.webm|\\.webp"'
\ ]

" Conque Allow C-w window navigation while in insert mode
let g:ConqueTerm_CWInsert = 1
Expand Down

0 comments on commit a5f17b6

Please sign in to comment.