Permit !, + and - to be used for window targets to specify last window (!), or
next and previous window by number (+ and -).

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