Skip to content

Commit

Permalink
fd alias
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Papperello committed Jun 14, 2018
1 parent c0eb508 commit 1eda0c2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
7 changes: 7 additions & 0 deletions bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,10 @@ export FZF_DEFAULT_OPTS='--height 40% --border'
function filecurl {
cat $1 | xargs -n 1 curl -LO
}

fd() {
local dir
dir=$(find ${1:-.} -path '*/\.*' -prune \
-o -type d -print 2> /dev/null | fzf +m) &&
cd "$dir"
}
6 changes: 1 addition & 5 deletions vimrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
" Plugin installation {{{
call plug#begin('~/.vim/plugged')
Plug 'fatih/vim-go'
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
Plug 'ervandew/supertab'
Plug 'vim-syntastic/syntastic'
Plug 'junegunn/fzf', { 'dir': '~/bin/fzf', 'do': './install --all --no-key-bindings' }
Expand Down Expand Up @@ -295,10 +295,6 @@ let g:syntastic_check_on_wq = 0
let g:syntastic_javascript_checkers = ['jshint']
let g:syntastic_html_tidy_exec = 'tidy'
let g:syntastic_html_tidy_ignore_errors = [ 'is not recognized', 'proprietary attribute' ]
let g:syntastic_go_checkers = ['go']





" Reccommendation of when using syntastic with vimgo to prevent lag
Expand Down

0 comments on commit 1eda0c2

Please sign in to comment.