Remove this horrible, evil function
This commit is contained in:
parent
79b8231e66
commit
09cb736dbb
13
.vimrc
13
.vimrc
|
@ -74,6 +74,7 @@ filetype plugin indent on
|
|||
set wildmode=longest,list
|
||||
colorscheme Monokai
|
||||
set wildignore+=*/tmp/*,*/log/*,*.so,*.swp,*.zip
|
||||
set colorcolumn=90
|
||||
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
" CUSTOM AUTOCMDS
|
||||
|
@ -185,18 +186,6 @@ function! Search()
|
|||
endfunction
|
||||
map <leader>s :call Search()<cr>
|
||||
|
||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
" RUBY DOC SEARCH
|
||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
function! RubyDocSearch()
|
||||
let term = input('Ruby Doc search term: ')
|
||||
if term != ''
|
||||
exec '!ri ' . term
|
||||
endif
|
||||
endfunction
|
||||
map <leader>d :call RubyDocSearch()<cr>
|
||||
|
||||
|
||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
" PROMOTE VARIABLE TO RSPEC LET
|
||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
|
|
Loading…
Reference in New Issue
Block a user