Now that parsing is common, merge some of the small, related commands
together to use the same code.

Also add some arguments (such as -n and -p) to some commands to match
existing commands.
18 files changed
tree: 38f3b6c86abbddd1388528b39f70380ee6661c54
  1. Makefile
  2. arguments.c
  3. array.h
  4. attributes.c
  5. cfg.c
  6. client.c
  7. clock.c
  8. cmd-attach-session.c
  9. cmd-bind-key.c
  10. cmd-break-pane.c
  11. cmd-capture-pane.c
  12. cmd-choose-buffer.c
  13. cmd-choose-client.c
  14. cmd-choose-session.c
  15. cmd-choose-window.c
  16. cmd-clear-history.c
  17. cmd-clock-mode.c
  18. cmd-command-prompt.c
  19. cmd-confirm-before.c
  20. cmd-copy-mode.c
  21. cmd-delete-buffer.c
  22. cmd-detach-client.c
  23. cmd-display-message.c
  24. cmd-display-panes.c
  25. cmd-find-window.c
  26. cmd-has-session.c
  27. cmd-if-shell.c
  28. cmd-join-pane.c
  29. cmd-kill-pane.c
  30. cmd-kill-server.c
  31. cmd-kill-session.c
  32. cmd-kill-window.c
  33. cmd-link-window.c
  34. cmd-list-buffers.c
  35. cmd-list-clients.c
  36. cmd-list-commands.c
  37. cmd-list-keys.c
  38. cmd-list-panes.c
  39. cmd-list-sessions.c
  40. cmd-list-windows.c
  41. cmd-list.c
  42. cmd-load-buffer.c
  43. cmd-lock-server.c
  44. cmd-move-window.c
  45. cmd-new-session.c
  46. cmd-new-window.c
  47. cmd-paste-buffer.c
  48. cmd-pipe-pane.c
  49. cmd-refresh-client.c
  50. cmd-rename-session.c
  51. cmd-rename-window.c
  52. cmd-resize-pane.c
  53. cmd-respawn-window.c
  54. cmd-rotate-window.c
  55. cmd-run-shell.c
  56. cmd-save-buffer.c
  57. cmd-select-layout.c
  58. cmd-select-pane.c
  59. cmd-select-window.c
  60. cmd-send-keys.c
  61. cmd-send-prefix.c
  62. cmd-server-info.c
  63. cmd-set-buffer.c
  64. cmd-set-environment.c
  65. cmd-set-option.c
  66. cmd-show-buffer.c
  67. cmd-show-environment.c
  68. cmd-show-messages.c
  69. cmd-show-options.c
  70. cmd-source-file.c
  71. cmd-split-window.c
  72. cmd-start-server.c
  73. cmd-string.c
  74. cmd-suspend-client.c
  75. cmd-swap-pane.c
  76. cmd-swap-window.c
  77. cmd-switch-client.c
  78. cmd-unbind-key.c
  79. cmd-unlink-window.c
  80. cmd.c
  81. colour.c
  82. environ.c
  83. grid-utf8.c
  84. grid-view.c
  85. grid.c
  86. input-keys.c
  87. input.c
  88. job.c
  89. key-bindings.c
  90. key-string.c
  91. layout-custom.c
  92. layout-set.c
  93. layout-string.c
  94. layout.c
  95. log.c
  96. mode-key.c
  97. names.c
  98. options-table.c
  99. options.c
  100. paste.c
  101. procname.c
  102. resize.c
  103. screen-redraw.c
  104. screen-write.c
  105. screen.c
  106. server-client.c
  107. server-fn.c
  108. server-window.c
  109. server.c
  110. session.c
  111. signal.c
  112. status.c
  113. tmux.1
  114. tmux.c
  115. tmux.h
  116. tty-acs.c
  117. tty-keys.c
  118. tty-term.c
  119. tty.c
  120. utf8.c
  121. window-choose.c
  122. window-clock.c
  123. window-copy.c
  124. window.c
  125. xmalloc.c
  126. xterm-keys.c