nvim: fix "open in alacritty" keymap
This commit is contained in:
parent
e85b89a104
commit
d0a2ed67d3
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ vim.cmd 'nnoremap <M-s> :%s//g<Left><Left>'
|
|||
vim.cmd 'nnoremap <M-w> ye:%s//g<Left><Left><C-r>"/'
|
||||
|
||||
-- open current file with nvim in alacritty (useful if it gets opened in some other terminal)
|
||||
vim.cmd 'nnoremap <M-a> <cmd>!nohup alacritty -e nvim % > /dev/null 2>&1 &; disown<CR><cmd>q<CR>'
|
||||
vim.cmd "nnoremap <M-a> <cmd>!nohup alacritty -e nvim '%' > /dev/null 2>&1 &; disown<CR><cmd>q<CR>"
|
||||
|
||||
-- Escape to enter normal mode in the terminal
|
||||
vim.cmd 'tnoremap <C-\\> <C-\\><C-n>'
|
||||
|
|
Loading…
Add table
Reference in a new issue