# window_copy_cursor_previous_word

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6212
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_cursor_previous_word/

```c
static void window_copy_cursor_previous_word(struct window_mode_entry *, const char *, int)
```

## Parameters

- `wme` (`struct window_mode_entry *`)
- `separators` (`const char *`)
- `already` (`int`)

## Called by

- [`window_copy_cmd_previous_matching_bracket`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_cmd_previous_matching_bracket/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L1818)
- [`window_copy_cmd_previous_space`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_cmd_previous_space/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L2132)
- [`window_copy_cmd_previous_word`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_cmd_previous_word/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L2146)
- [`window_copy_cmd_select_word`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_cmd_select_word/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L2333)

## Calls

- [`grid_reader_cursor_previous_word`](/en/tmux/3.7c/reference/c-function-grid_reader_cursor_previous_word/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6233)
- [`grid_reader_get_cursor`](/en/tmux/3.7c/reference/c-function-grid_reader_get_cursor/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6234)
- [`grid_reader_start`](/en/tmux/3.7c/reference/c-function-grid_reader_start/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6232)
- [`window_copy_acquire_cursor_up`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_acquire_cursor_up/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L6235)

## Other function references

- [`options_get_number`](/en/tmux/3.7c/reference/c-function-options_get_number/) (function)

## Referenced declarations

- [`window_copy_mode_data.backing`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-backing/) (attribute)
- [`window_copy_mode_data.cx`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-cx/) (attribute)
- [`window_copy_mode_data.cy`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-cy/) (attribute)
- [`window_mode_entry.data`](/en/tmux/3.7c/reference/c-struct-window_mode_entry-data/) (attribute)
- [`screen.grid`](/en/tmux/3.7c/reference/c-struct-screen-grid/) (attribute)
- [`MODEKEY_EMACS`](/en/tmux/3.7c/reference/c-define-tmux-h-modekey_emacs/) (constant)
- [`window.options`](/en/tmux/3.7c/reference/c-struct-window-options/) (attribute)
- [`window_copy_mode_data.oy`](/en/tmux/3.7c/reference/c-struct-window_copy_mode_data-oy/) (attribute)
- [`screen_hsize`](/en/tmux/3.7c/reference/c-define-tmux-h-screen_hsize/) (constant)
- [`window_pane.window`](/en/tmux/3.7c/reference/c-struct-window_pane-window/) (attribute)
- [`window_mode_entry`](/en/tmux/3.7c/reference/c-struct-window_mode_entry/) (struct)
- [`window_mode_entry.wp`](/en/tmux/3.7c/reference/c-struct-window_mode_entry-wp/) (attribute)
