diff --git a/README.md b/README.md index a32d2afd..62fe8c05 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,7 @@ They are ordered by category, and you can make your own. lazy.nvim for more info on how to install plugins. +

@@ -172,19 +173,22 @@ require('user').opts - **NOTE: This is still a very early WIP.** -### Check +

+check +

+ _**This is the most important utility for this config.**_ Of critical importance.
It provides a table with two sub-tables. Both used for many conditional checks, aswell as module handling. +
+ These are the following: -### Maps -This module provides keymapping utilities, for each case available. -
+
+
+ +

+maps +

+ +This module provides keymapping utilities in a more +complete, extensible and (hopefully) smarter way for the end user. + There are 3 fields which are tables that have the same function names, but each one follows a specific behaviour: @@ -271,25 +283,11 @@ maps.kmap.desc(msg, silent, bufnr, noremap, nowait, expr) ``` -
  • -maps.map.desc
    -```lua ---- Returns a `vim.api.keyset.keymap` table ----@param msg: string Defaults do `'Unnamed Key'` ----@param silent? boolean Defaults to `true` ----@param noremap? boolean Defaults to `true` ----@param nowait? boolean Defaults to `true` ----@param expr? boolean Defaults to `false` ----@return vim.api.keyset.keymap -maps.map.desc(msg, silent, noremap, nowait, expr) -``` - -
  • -maps.buf_map.desc +maps.map.desc / maps.buf_map.desc
    @@ -301,15 +299,13 @@ maps.map.desc(msg, silent, noremap, nowait, expr) ---@param nowait? boolean Defaults to `true` ---@param expr? boolean Defaults to `false` ---@return vim.api.keyset.keymap -maps.buf_map.desc(msg, silent, noremap, nowait, expr) +maps.map.desc(msg, silent, noremap, nowait, expr) ```

  • -
    -

    maps.wk