Hi,
I'm trying to map <space>x in normal mode to do send a command to a pane in tmux.
sudo tmux send-keys -t "1" C-z "test"
I tried the following. wrote the above command in a test.sh file and made a mapping as below.
:nnoremap <Space>x 'silent :!./test.sh<C-m>'
I'm getting the following error.
E20: Mark not set
i think it's due to the following mapping.
n ' & :call Showmarks() <CR>
Isn't nnoremap disable recursive mapping ?
thanks
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Wednesday, November 29, 2017
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment