Re: mapping error.

2017-11-30 Thread sinbad
On Thursday, November 30, 2017 at 1:09:02 PM UTC+5:30, Florian Rehnisch wrote: > On Thu, Nov 30, 2017 at 08:32:17AM +0100, Florian Rehnisch wrote: > > On Wed, Nov 29, 2017 at 11:06:19PM -0800, sinbad wrote: > > > I'm trying to map x in normal mode to do send a command to a pane > > > in tmux. > >

Re: mapping error.

2017-11-29 Thread Florian Rehnisch
On Thu, Nov 30, 2017 at 08:32:17AM +0100, Florian Rehnisch wrote: > On Wed, Nov 29, 2017 at 11:06:19PM -0800, sinbad wrote: > > I'm trying to map 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

Re: mapping error.

2017-11-29 Thread Florian Rehnisch
On Wed, Nov 29, 2017 at 11:06:19PM -0800, sinbad wrote: > I'm trying to map 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 x

mapping error.

2017-11-29 Thread sinbad
Hi, I'm trying to map 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 x 'silent :!./test.sh' I'm getting the following error. E20: Mark