plugins.neo-tree.window.autoExpandWidth

Expand the window when file exceeds the window width. does not work with position = “float”

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.neo-tree.window.height

Applies to top and bottom positions

Type: null or signed integer or floating point number or raw lua code

Default: null

Plugin default: 15

Declared by:

plugins.neo-tree.window.insertAs

Affects how nodes get inserted into the tree during creation/pasting/moving of files if the node under the cursor is a directory:

  • “child”: Insert nodes as children of the directory under cursor.
  • “sibling”: Insert nodes as siblings of the directory under cursor.

Type: null or one of “child”, “sibling” or raw lua code

Default: null

Plugin default: "child"

Declared by:

plugins.neo-tree.window.mappings

Mapping options

Type: null or (attribute set of (string or (attribute set)))

Default: null

Plugin default:

```nix
  {
    "<space>" = {
      command = "toggle_node";
      # disable `nowait` if you have existing combos starting with this char that you want to use
      nowait = false;
    };
    "<2-LeftMouse>" = "open";
    "<cr>" = "open";
    "<esc>" = "revert_preview";
    P = {
      command = "toggle_preview";
      config = { use_float = true; };
    };
    l = "focus_preview";
    S = "open_split";
    # S = "split_with_window_picker";
    s = "open_vsplit";
    # s = "vsplit_with_window_picker";
    t = "open_tabnew";
    # "<cr>" = "open_drop";
    # t = "open_tab_drop";
    w = "open_with_window_picker";
    C = "close_node";
    z = "close_all_nodes";
    # Z = "expand_all_nodes";
    R = "refresh";
    a = {
      command = "add";
      # some commands may take optional config options, see `:h neo-tree-mappings` for details
      config = {
        show_path = "none"; # "none", "relative", "absolute"
      };
    };
    A = "add_directory"; # also accepts the config.show_path and config.insert_as options.
    d = "delete";
    r = "rename";
    y = "copy_to_clipboard";
    x = "cut_to_clipboard";
    p = "paste_from_clipboard";
    c = "copy"; # takes text input for destination, also accepts the config.show_path and config.insert_as options
    m = "move"; # takes text input for destination, also accepts the config.show_path and config.insert_as options
    e = "toggle_auto_expand_width";
    q = "close_window";
    "?" = "show_help";
    "<" = "prev_source";
    ">" = "next_source";
  }

Declared by:

plugins.neo-tree.window.position

position

Type: null or one of “left”, “right”, “top”, “bottom”, “float”, “current” or raw lua code

Default: null

Plugin default: "left"

Declared by:

plugins.neo-tree.window.sameLevel

Create and paste/move files/directories on the same level as the directory under cursor (as opposed to within the directory under cursor).

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.neo-tree.window.width

Applies to left and right positions

Type: null or signed integer or floating point number or raw lua code

Default: null

Plugin default: 40

Declared by: