Mercurial > vim
view src/proto/cindent.pro @ 18508:3cd689e9eb7f v8.1.2248
patch 8.1.2248: CTRL-W dot does not work when modifyOtherKeys is enabled
Commit: https://github.com/vim/vim/commit/1e814bc017907209a66af82f8fb76c6d1fc324aa
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Nov 3 21:19:41 2019 +0100
patch 8.1.2248: CTRL-W dot does not work when modifyOtherKeys is enabled
Problem: CTRL-W dot does not work in a terminal when modifyOtherKeys is
enabled.
Solution: Use the modifier when needed. Pass the modifier along with the
key to avoid mistakes.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 03 Nov 2019 21:30:04 +0100 |
parents | fe5afdc03bd2 |
children | 0d798c7e1865 |
line wrap: on
line source
/* cindent.c */ int cin_is_cinword(char_u *line); pos_T *find_start_comment(int ind_maxcomment); int cindent_on(void); void parse_cino(buf_T *buf); int get_c_indent(void); int in_cinkeys(int keytyped, int when, int line_is_empty); void do_c_expr_indent(void); void f_cindent(typval_T *argvars, typval_T *rettv); /* vim: set ft=c : */