Skip to content

Commit

Permalink
Deploying to gh-pages from @ 185da3b 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
siduck committed Oct 2, 2024
1 parent 76ba7e9 commit f27da62
Show file tree
Hide file tree
Showing 82 changed files with 739 additions and 697 deletions.
4 changes: 2 additions & 2 deletions _build/.vite/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@
]
},
"src/routes/docs/config/mappings.mdx?pick=$css": {
"file": "assets/mappings-Dd9yhgeH.js",
"file": "assets/mappings-Bbv554HR.js",
"name": "mappings",
"src": "src/routes/docs/config/mappings.mdx?pick=$css",
"isEntry": true,
Expand Down Expand Up @@ -1081,7 +1081,7 @@
]
},
"virtual:$vinxi/handler/client": {
"file": "assets/client-CmHD5VHB.js",
"file": "assets/client-EZFKcBcU.js",
"name": "client",
"src": "virtual:$vinxi/handler/client",
"isEntry": true,
Expand Down
Binary file modified _build/.vite/manifest.json.br
Binary file not shown.
Binary file modified _build/.vite/manifest.json.gz
Binary file not shown.
Binary file removed _build/assets/client-CmHD5VHB.js.br
Binary file not shown.
Binary file removed _build/assets/client-CmHD5VHB.js.gz
Binary file not shown.
1,298 changes: 656 additions & 642 deletions _build/assets/client-CmHD5VHB.js → _build/assets/client-EZFKcBcU.js

Large diffs are not rendered by default.

Binary file added _build/assets/client-EZFKcBcU.js.br
Binary file not shown.
Binary file added _build/assets/client-EZFKcBcU.js.gz
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import{b as e,q as t,k as a,t as l}from"./web-DqPol8Cv.js";import{M as c}from"./index-yHsRVhWw.js";var i=l("<kbd>Ctrl"),h=l("<kbd>Space"),d=l("<kbd>alt"),m=l("<kbd>shift"),p=l("<br>");const u={title:"NvChad Mappings",desc:"Manage mappings in nvchad"};function r(s){const n={a:"a",code:"code",h2:"h2",li:"li",p:"p",pre:"pre",span:"span",ul:"ul",...c(),...s.components};return[e(n.h2,{children:"Overview"}),`
import{b as e,q as i,k as a,t as l}from"./web-DqPol8Cv.js";import{M as c}from"./index-yHsRVhWw.js";var t=l("<kbd>Ctrl"),h=l("<kbd>Space"),d=l("<kbd>alt"),p=l("<kbd>shift"),m=l("<br>");const u={title:"NvChad Mappings",desc:"Manage mappings in nvchad"};function r(s){const n={a:"a",code:"code",h2:"h2",li:"li",p:"p",pre:"pre",span:"span",ul:"ul",...c(),...s.components};return[e(n.h2,{children:"Overview"}),`
`,e(n.p,{children:"The mapping configuration uses the nvim name shortcuts as:"}),`
`,e(n.ul,{get children(){return[`
`,e(n.li,{get children(){return[e(n.code,{children:"<C>"})," -> ",a(i)]}}),`
`,e(n.li,{get children(){return[e(n.code,{children:"<C>"})," -> ",a(t)]}}),`
`,e(n.li,{get children(){return[e(n.code,{children:"<leader>"})," -> ",a(h)]}}),`
`,e(n.li,{get children(){return[e(n.code,{children:"<A>"})," -> ",a(d)]}}),`
`,e(n.li,{get children(){return[e(n.code,{children:"<S>"})," -> ",a(m)]}}),`
`,e(n.li,{get children(){return[e(n.code,{children:"<S>"})," -> ",a(p)]}}),`
`,e(n.li,{get children(){return["The default mappings are defined ",e(n.a,{href:"https://github.com/NvChad/NvChad/blob/v2.5/lua/nvchad/mappings.lua",children:"here"}),"."]}}),`
`]}}),`
`,e(n.h2,{children:"Mapping format"}),`
Expand All @@ -31,8 +31,22 @@ map(`,e(n.span,{className:"hljs-string",children:'"n"'}),", ",e(n.span,{classNam
nomap(`,e(n.span,{className:"hljs-string",children:'"i"'}),", ",e(n.span,{className:"hljs-string",children:'"<C-k>"'}),`)
nomap(`,e(n.span,{className:"hljs-string",children:'"n"'}),", ",e(n.span,{className:"hljs-string",children:'"<C-k>"'}),`)
`]}})}}),`
`,a(p),`
`,a(m),`
`,e(n.ul,{get children(){return[`
`,e(n.li,{children:"Do know that lsp mappings wont be overrided by the above methods, because they dont load on startup & are lazy loaded."}),`
`,e(n.li,{get children(){return["So put the lsp ones in ",e(n.code,{children:"LspAttach"})," autocmd or right after your on_attach"]}}),`
`]}})]}function N(s={}){const{wrapper:n}={...c(),...s.components};return n?e(n,t(s,{get children(){return e(r,s)}})):r(s)}export{N as default,u as meta};
`,e(n.li,{children:"So put the lsp ones in a custom on_attach function"}),`
`]}}),`
`,e(n.pre,{get children(){return e(n.code,{className:"hljs language-lua",get children(){return[e(n.span,{className:"hljs-keyword",children:"local"})," ooo = ",e(n.span,{className:"hljs-function",get children(){return[e(n.span,{className:"hljs-keyword",children:"function"}),e(n.span,{className:"hljs-params",children:"(client, bufnr)"})]}}),`
nvlsp.on_attach(client, bufnr)
`,e(n.span,{className:"hljs-comment",children:"-- map HERE"}),`
vim.keymap.set(`,e(n.span,{className:"hljs-string",children:'"n"'}),", ",e(n.span,{className:"hljs-string",children:'"gd"'}),", ",e(n.span,{className:"hljs-string",children:'"<cmd> Telescope<cr>"'}),`, { buffer = bufnr })
`,e(n.span,{className:"hljs-keyword",children:"end"}),`
`,e(n.span,{className:"hljs-keyword",children:"for"})," _, lsp ",e(n.span,{className:"hljs-keyword",children:"in"})," ",e(n.span,{className:"hljs-built_in",children:"ipairs"}),"(servers) ",e(n.span,{className:"hljs-keyword",children:"do"}),`
lspconfig[lsp].setup {
on_attach = nvlsp.on_attach,
on_init = ooo,
capabilities = nvlsp.capabilities,
}
`,e(n.span,{className:"hljs-keyword",children:"end"}),`
`]}})}})]}function N(s={}){const{wrapper:n}={...c(),...s.components};return n?e(n,i(s,{get children(){return e(r,s)}})):r(s)}export{N as default,u as meta};
Binary file added _build/assets/mappings-Bbv554HR.js.br
Binary file not shown.
Binary file added _build/assets/mappings-Bbv554HR.js.gz
Binary file not shown.
Binary file removed _build/assets/mappings-Dd9yhgeH.js.br
Binary file not shown.
Binary file removed _build/assets/mappings-Dd9yhgeH.js.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/config/lsp/index.html

Large diffs are not rendered by default.

Binary file modified docs/config/lsp/index.html.br
Binary file not shown.
Binary file modified docs/config/lsp/index.html.gz
Binary file not shown.
20 changes: 17 additions & 3 deletions docs/config/mappings/index.html

Large diffs are not rendered by default.

Binary file modified docs/config/mappings/index.html.br
Binary file not shown.
Binary file modified docs/config/mappings/index.html.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/config/nvchad_ui/index.html

Large diffs are not rendered by default.

Binary file modified docs/config/nvchad_ui/index.html.br
Binary file not shown.
Binary file modified docs/config/nvchad_ui/index.html.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/config/plugins/index.html

Large diffs are not rendered by default.

Binary file modified docs/config/plugins/index.html.br
Binary file not shown.
Binary file modified docs/config/plugins/index.html.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/config/snippets/index.html

Large diffs are not rendered by default.

Binary file modified docs/config/snippets/index.html.br
Binary file not shown.
Binary file modified docs/config/snippets/index.html.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/config/theming/index.html

Large diffs are not rendered by default.

Binary file modified docs/config/theming/index.html.br
Binary file not shown.
Binary file modified docs/config/theming/index.html.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/config/walkthrough/index.html

Large diffs are not rendered by default.

Binary file modified docs/config/walkthrough/index.html.br
Binary file not shown.
Binary file modified docs/config/walkthrough/index.html.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/contribute/index.html

Large diffs are not rendered by default.

Binary file modified docs/contribute/index.html.br
Binary file not shown.
Binary file modified docs/contribute/index.html.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/credits/index.html

Large diffs are not rendered by default.

Binary file modified docs/credits/index.html.br
Binary file not shown.
Binary file modified docs/credits/index.html.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/faq/index.html

Large diffs are not rendered by default.

Binary file modified docs/faq/index.html.br
Binary file not shown.
Binary file modified docs/faq/index.html.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/features/index.html

Large diffs are not rendered by default.

Binary file modified docs/features/index.html.br
Binary file not shown.
Binary file modified docs/features/index.html.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/quickstart/install/index.html

Large diffs are not rendered by default.

Binary file modified docs/quickstart/install/index.html.br
Binary file not shown.
Binary file modified docs/quickstart/install/index.html.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/quickstart/learn-lua/index.html

Large diffs are not rendered by default.

Binary file modified docs/quickstart/learn-lua/index.html.br
Binary file not shown.
Binary file modified docs/quickstart/learn-lua/index.html.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/quickstart/post-install/index.html

Large diffs are not rendered by default.

Binary file modified docs/quickstart/post-install/index.html.br
Binary file not shown.
Binary file modified docs/quickstart/post-install/index.html.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/recipes/index.html

Large diffs are not rendered by default.

Binary file modified docs/recipes/index.html.br
Binary file not shown.
Binary file modified docs/recipes/index.html.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions index.html

Large diffs are not rendered by default.

Binary file modified index.html.br
Binary file not shown.
Binary file modified index.html.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions news/index.html

Large diffs are not rendered by default.

Binary file modified news/index.html.br
Binary file not shown.
Binary file modified news/index.html.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions news/nvui/index.html

Large diffs are not rendered by default.

Binary file modified news/nvui/index.html.br
Binary file not shown.
Binary file modified news/nvui/index.html.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions news/v2.0_migration/index.html

Large diffs are not rendered by default.

Binary file modified news/v2.0_migration/index.html.br
Binary file not shown.
Binary file modified news/v2.0_migration/index.html.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions news/v2.0_release/index.html

Large diffs are not rendered by default.

Binary file modified news/v2.0_release/index.html.br
Binary file not shown.
Binary file modified news/v2.0_release/index.html.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions news/v2.5_release/index.html

Large diffs are not rendered by default.

Binary file modified news/v2.5_release/index.html.br
Binary file not shown.
Binary file modified news/v2.5_release/index.html.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions news/volt/index.html

Large diffs are not rendered by default.

Binary file modified news/volt/index.html.br
Binary file not shown.
Binary file modified news/volt/index.html.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions themes/index.html

Large diffs are not rendered by default.

Binary file modified themes/index.html.br
Binary file not shown.
Binary file modified themes/index.html.gz
Binary file not shown.

0 comments on commit f27da62

Please sign in to comment.