Hacker News new | ask | show | jobs
by alpaca128 2383 days ago
Sure, but note they're NeoVim-specific(the terminal buffer works a bit differently there). And I adapted them to work without my other custom shortcuts, so they're longer(and even more indecipherable for sane people...I'm sure this could be done in a cleaner way).

Open a terminal running SBCL on the right with "\ls":

    nmap <leader>ls :vsplit<CR><C-w>l:terminal<CR>i sbcl<CR><C-\><C-N><C-w>h
Execute paragraph around cursor with "\e":

    nmap <leader>e vipy<C-w>lpi<CR><C-\><C-N><C-w>h