Add Neovim mapping to open terminal with nix shell

The command will open a terminal and send the "nsz" command, which I've
defined as an alias to start the nix shell with zsh.
This commit is contained in:
Daniel Siepmann 2023-04-26 09:20:48 +02:00
parent 1daab51bd0
commit 07fd622e8a
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -38,6 +38,7 @@ nnoremap <leader>so :call SortParagraph()<cr>
nnoremap <silent> <leader>gtt :call OpenPHPUnitTestFilename()<cr>
" Terminal helpers
nnoremap <silent> <leader>nsz :T nsz<cr>
nnoremap <silent> <leader>e :TREPLSendLine<cr>
vnoremap <silent> <leader>e :TREPLSendSelection<cr>