Skip to main content
Module

x/denops_std/option/mod.ts>list

📚 Standard module for denops.vim
Go to Latest
variable list
import { list } from "https://deno.land/x/denops_std@v6.4.0/option/mod.ts";

List mode: By default show tabs as CTRL-I is displayed, display $ after end of line. Useful to see the difference between tabs and spaces and for trailing blanks. Further changed by the 'listchars' option.

The cursor is displayed at the start of the space a Tab character occupies, not at the end as usual in Normal mode. To get this cursor position while displaying Tabs with spaces, use:

:set list lcs=tab:\ \

Note that list mode will also affect formatting (set with 'textwidth' or 'wrapmargin') when 'cpoptions' includes 'L'. See 'listchars' for changing the way tabs are displayed.

(default off)