wiki/_next/data/Ie9t5zutrXP6Of75Cb5xF/editor.neovim.help-system.json
2022-07-29 15:41:17 +00:00

1 line
4.0 KiB
JSON

{"pageProps":{"metadata":{"date":"2022-04-01 16:20:55 +08:00","date_modified":"2022-04-20 19:04:55 +08:00","language":"en","source":""},"title":"Neovim help system","hast":{"type":"root","children":[{"type":"element","tagName":"nav","properties":{"className":"toc"},"children":[{"type":"element","tagName":"ol","properties":{"className":"toc-level toc-level-1"},"children":[]}]},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"the main command is "},{"type":"element","tagName":"code","properties":{"className":["inline-verbatim"]},"children":[{"type":"text","value":":h"}]},{"type":"text","value":" which should open "},{"type":"element","tagName":"code","properties":{"className":["inline-verbatim"]},"children":[{"type":"text","value":"help.txt"}]},{"type":"text","value":" if given no arguments;\n this should be enough if you want to explore much of Neovim itself as the document has an index of tutorials and local additions (most likely from the installed plugins)\n"}]}]},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"the help documents are written in a custom formatting language that is recognized as a separate filetype;\n in addition to navigating the buffer like any other buffer, you can also run "},{"type":"element","tagName":"code","properties":{"className":["inline-verbatim"]},"children":[{"type":"text","value":"gO"}]},{"type":"text","value":" to show the table of contents\n"}]}]},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"if given an argument, Vim will open the section of the document with the closest match\n"}]}]},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"some points of interest\n"}]},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"you can view the complete listing of help tags with "},{"type":"element","tagName":"code","properties":{"className":["inline-verbatim"]},"children":[{"type":"text","value":"help-tags"}]}]}]},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"there is also a index of tags from "},{"type":"element","tagName":"code","properties":{"className":["inline-verbatim"]},"children":[{"type":"text","value":"index.txt"}]}]}]},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"you can easily get the keybind with "},{"type":"element","tagName":"code","properties":{"className":["inline-verbatim"]},"children":[{"type":"text","value":"CTRL-V"}]},{"type":"text","value":" (e.g., "},{"type":"element","tagName":"code","properties":{"className":["inline-verbatim"]},"children":[{"type":"text","value":"CTRL-V"}]},{"type":"text","value":" then "},{"type":"element","tagName":"code","properties":{"className":["inline-verbatim"]},"children":[{"type":"text","value":"META-D"}]},{"type":"text","value":" will quickly print the keymap)\n"}]}]},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"tab completion is present\n"}]}]}]}]}]}]},"backlinks":[{"path":"/2021-04-06-22-25-17","title":"Prefer referencing over remembering"},{"path":"/editor.neovim.folds","title":"Neovim folds"},{"path":"/editor.neovim.lua-modules","title":"Neovim Lua modules"},{"path":"/editor.neovim.lua","title":"Neovim Lua integration"},{"path":"/editor.neovim.plugins.luasnip","title":"Neovim plugin: LuaSnip"},{"path":"/editor.neovim.text-objects","title":"Neovim text objects"}]},"__N_SSG":true}