rspec and floaterm
This commit is contained in:
parent
b2ee5e515d
commit
b75b84198e
|
@ -17,6 +17,8 @@ call plug#begin('~/.vim/plugged')
|
|||
Plug 'enricobacis/vim-airline-clock'
|
||||
Plug 'nvim-lua/plenary.nvim'
|
||||
Plug 'nvim-telescope/telescope.nvim'
|
||||
Plug 'thoughtbot/vim-rspec'
|
||||
Plug 'voldikss/vim-floaterm'
|
||||
call plug#end()
|
||||
|
||||
map <C-o> :NERDTreeToggle<CR>
|
||||
|
@ -67,6 +69,16 @@ let g:airline#extensions#clock#format = '%I:%M:%S %X'
|
|||
nnoremap <leader>ff <cmd>Telescope find_files<cr>
|
||||
nnoremap <leader>fg <cmd>Telescope live_grep<cr>
|
||||
nnoremap <leader>fb <cmd>Telescope buffers<cr>
|
||||
nnoremap <leader>fh <cmd>Telescope help_tags<cr>
|
||||
" nnoremap <leader>ft <cmd>Telescope help_tags<cr>
|
||||
|
||||
" RSpec.vim mappings
|
||||
map <Leader>rt :call RunCurrentSpecFile()<CR>
|
||||
map <Leader>rs :call RunNearestSpec()<CR>
|
||||
map <Leader>rl :call RunLastSpec()<CR>
|
||||
map <Leader>ra :call RunAllSpecs()<CR>
|
||||
|
||||
|
||||
" Floaterm
|
||||
let g:floaterm_keymap_toggle = '<F9>'
|
||||
let g:floaterm_width = 0.85
|
||||
let g:floaterm_height = 0.85
|
||||
|
|
Loading…
Reference in New Issue
Block a user