Skip to content

Commit

Permalink
updated to the latest minibufexpl and removed pressed enter shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
sontek committed May 24, 2011
1 parent effb518 commit 274af39
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
2 changes: 2 additions & 0 deletions _bashrc
Expand Up @@ -169,5 +169,7 @@ export DYLD_LIBRARY_PATH=/usr/local/mysql/lib/

source /usr/local/bin/virtualenvwrapper.sh

export EDITOR=vim

# Add git and svn branch names
export PS1="$PS1\$(parse_git_branch)\$(parse_svn_branch) "
2 changes: 1 addition & 1 deletion _vim/bundle/minibufexpl
11 changes: 1 addition & 10 deletions _vimrc
Expand Up @@ -220,16 +220,7 @@ au BufRead *.py set efm=%C\ %.%#,%A\ \ File\ \"%f\"\\,\ line\ %l%.%#,%Z%[%^\ ]%\
let g:pyflakes_use_quickfix = 0

" turn of hlsearch and update pyflakes on enter
au BufRead,BufNewFile *.py nnoremap <buffer><CR> :nohlsearch\|:call PressedEnter()<cr>
nnoremap <buffer><CR> :nohlsearch\|:call PressedEnter()<cr>
" clear the search buffer when hitting return and update pyflakes checks
function! PressedEnter()
:nohlsearch
if &filetype == 'python'
:PyflakesUpdate
end
endfunction
map <leader>s :nohlsearch<CR>
" ==========================================================
" Javascript
Expand Down

0 comments on commit 274af39

Please sign in to comment.