diff --git a/config/nvim/init.vim b/config/nvim/init.vim index 041b15e..3e8d591 100644 --- a/config/nvim/init.vim +++ b/config/nvim/init.vim @@ -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 :NERDTreeToggle @@ -67,6 +69,16 @@ let g:airline#extensions#clock#format = '%I:%M:%S %X' nnoremap ff Telescope find_files nnoremap fg Telescope live_grep nnoremap fb Telescope buffers -nnoremap fh Telescope help_tags +" nnoremap ft Telescope help_tags + +" RSpec.vim mappings +map rt :call RunCurrentSpecFile() +map rs :call RunNearestSpec() +map rl :call RunLastSpec() +map ra :call RunAllSpecs() +" Floaterm +let g:floaterm_keymap_toggle = '' +let g:floaterm_width = 0.85 +let g:floaterm_height = 0.85