comparison runtime/doc/insert.txt @ 17809:59f8948b7590 v8.1.1901

patch 8.1.1901: the +insert_expand feature is not always available Commit: https://github.com/vim/vim/commit/e2c453d38f6512ac4cff7cd26aa7780b4e2534d7 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 21 14:37:09 2019 +0200 patch 8.1.1901: the +insert_expand feature is not always available Problem: The +insert_expand feature is not always available. Solution: Graduate the +insert_expand feature.
author Bram Moolenaar <Bram@vim.org>
date Wed, 21 Aug 2019 14:45:04 +0200
parents 4bd21046902b
children 9ec2526c04c5
comparison
equal deleted inserted replaced
17808:42561b61bfd8 17809:59f8948b7590
298 character is written at the end of each line. Thus if you want to insert a 298 character is written at the end of each line. Thus if you want to insert a
299 <NL> character in a file you will have to make a line break. 299 <NL> character in a file you will have to make a line break.
300 300
301 *i_CTRL-X* *insert_expand* 301 *i_CTRL-X* *insert_expand*
302 CTRL-X enters a sub-mode where several commands can be used. Most of these 302 CTRL-X enters a sub-mode where several commands can be used. Most of these
303 commands do keyword completion; see |ins-completion|. These are not available 303 commands do keyword completion; see |ins-completion|.
304 when Vim was compiled without the |+insert_expand| feature.
305 304
306 Two commands can be used to scroll the window up or down, without exiting 305 Two commands can be used to scroll the window up or down, without exiting
307 insert mode: 306 insert mode:
308 307
309 *i_CTRL-X_CTRL-E* 308 *i_CTRL-X_CTRL-E*
606 7. Insert mode completion *ins-completion* 605 7. Insert mode completion *ins-completion*
607 606
608 In Insert and Replace mode, there are several commands to complete part of a 607 In Insert and Replace mode, there are several commands to complete part of a
609 keyword or line that has been typed. This is useful if you are using 608 keyword or line that has been typed. This is useful if you are using
610 complicated keywords (e.g., function names with capitals and underscores). 609 complicated keywords (e.g., function names with capitals and underscores).
611
612 These commands are not available when the |+insert_expand| feature was
613 disabled at compile time.
614 610
615 Completion can be done for: 611 Completion can be done for:
616 612
617 1. Whole lines |i_CTRL-X_CTRL-L| 613 1. Whole lines |i_CTRL-X_CTRL-L|
618 2. keywords in the current file |i_CTRL-X_CTRL-N| 614 2. keywords in the current file |i_CTRL-X_CTRL-N|