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:
parent
1daab51bd0
commit
07fd622e8a
|
@ -38,6 +38,7 @@ nnoremap <leader>so :call SortParagraph()<cr>
|
||||||
nnoremap <silent> <leader>gtt :call OpenPHPUnitTestFilename()<cr>
|
nnoremap <silent> <leader>gtt :call OpenPHPUnitTestFilename()<cr>
|
||||||
|
|
||||||
" Terminal helpers
|
" Terminal helpers
|
||||||
|
nnoremap <silent> <leader>nsz :T nsz<cr>
|
||||||
nnoremap <silent> <leader>e :TREPLSendLine<cr>
|
nnoremap <silent> <leader>e :TREPLSendLine<cr>
|
||||||
vnoremap <silent> <leader>e :TREPLSendSelection<cr>
|
vnoremap <silent> <leader>e :TREPLSendSelection<cr>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue