When we do C+a or whatever key binding is and followed by  or % then tmux split this pane into horizontally or vertically.What I want is whenever I press C+a+% or C+a+ then it should execute some command.e.g. C+a+% should split the pane and execute command ls and C+a+ should split the pane and execute the command ls in the same pane.You can assume always  I want to execute the same command e.g ls. How to achieve this in tmux using tmux.conf file?
Execute a command after tmux split pane
tmux
To split the widow horizontally and make the command ls -al run as if you typed it in the new terminal/panebind-key '' split-window \; send-keys ls -al Enterfor a vertical splitbind-key % split-window -h \; send-keys ls -al EnterTo split horizontal and run the command in the background then capture the output in copy modebind-key  split-window \; run-shell ls -alThe \; is used to quote the  intended for the split-window command from the bind-key command.