{"id":27109744,"url":"https://github.com/callmesalmon/mochavim","last_synced_at":"2025-04-06T23:45:22.263Z","repository":{"id":259889607,"uuid":"860900112","full_name":"callmesalmon/MochaVim","owner":"callmesalmon","description":"MochaVim; A lightweight Neovim config to get you started Quickly!","archived":false,"fork":false,"pushed_at":"2025-01-10T08:44:12.000Z","size":227,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T23:45:17.318Z","etag":null,"topics":["lua","neovim","nvim-config"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/callmesalmon.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-21T13:19:40.000Z","updated_at":"2025-01-10T08:44:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"c7bb9c5a-a9c2-4dd9-8bbd-558c6e476bd3","html_url":"https://github.com/callmesalmon/MochaVim","commit_stats":null,"previous_names":["elisstaaf/mochavim","realpuresalmon/mochavim","bestsalmon/mochavim","callmesalmon/mochavim"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/callmesalmon%2FMochaVim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/callmesalmon%2FMochaVim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/callmesalmon%2FMochaVim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/callmesalmon%2FMochaVim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/callmesalmon","download_url":"https://codeload.github.com/callmesalmon/MochaVim/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247569129,"owners_count":20959758,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["lua","neovim","nvim-config"],"created_at":"2025-04-06T23:45:20.653Z","updated_at":"2025-04-06T23:45:22.253Z","avatar_url":"https://github.com/callmesalmon.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"MochaVim\n========\n.. image:: https://img.shields.io/badge/build%20(fedora)-passing-blue?logo=fedora\n   :alt: Build = Passing\n   :target: https://github.com/ElisStaaf/MochaVim\n.. image:: https://img.shields.io/badge/version-1.0.0-2dd245\n   :alt: Version = 1.0.0\n   :target: https://github.com/ElisStaaf/MochaVim\n.. image:: https://img.shields.io/badge/lang-lua-darkblue?logo=lua\n   :alt: Language = Lua\n   :target: https://github.com/ElisStaaf/MochaVim\n\nMochaVim is a lightweight Neovim config simply focusing on giving beginners a starting point! It uses the \n*lazy.nvim* plugin manager, has autopairs installed, and has some colour-schemes!\n\n.. image:: ./prod/mochaimg.png\n   :alt: MochaVim\n   :target: https://github.com/ElisStaaf/MochaVim\n\nRequirements\n------------\n* `neovim`_\n\nInstall\n-------\n.. code:: bash\n\n   # Backup your current config\n   mv ~/.config/nvim ~/.config/nvim.bak\n   mv ~/.local/share/nvim ~/.local/share/nvim.bak\n   mv ~/.local/state/nvim ~/.local/state/nvim.bak\n   mv ~/.cache/nvim ~/.cache/nvim.bak\n\n   # Clone the repo\n   git clone --depth 1 https://github.com/ElisStaaf/MochaVim ~/.config/nvim\n   rm -rf ~/.config/nvim/.git\n\n   # Run neovim\n   nvim\n\nTable of contents\n-----------------\nThe file structure of the config looks like this: \n\n::\n\n   ~/.config/nvim\n       ├── init.lua\n       ├── lazy-lock.json\n       └── lua\n           ├── options.lua\n           └── plugins\n               ├── alpha.lua\n               ├── autopairs.lua\n               ├── monokai.lua\n               ├── lualine.lua\n               ├── neo-tree.lua\n               ├── oil.lua\n               ├── lsp-config.lua\n               └── telescope.lua\n\nLet's take a look, the ``init.lua`` file is used for strapping everything together, it's pretty fragile, so modify at your own risk.\nThen we enter the ``lua`` directory, this stores most of our ``.lua`` files. Let's move further in, to the directory: ``plugins``. The \nplugin manager that MochaVim uses is lazy.nvim, you might have noticed that fact while we were in the ``init.lua`` file and saw the \n``lazy.lua`` file! Anyways, lets continue. While there are *some* preinstalled plugins, there are not a lot, so i will provide you \nwith a guide on how to add some. \n\nPlugins\n-------\nLet's say we want to install `noice.nvim`_, we would want to create a new file:\n\n.. code:: bash\n\n   cd ~/.config/nvim/lua/plugins\n   touch noice.lua\n\n*Then*, we would want to edit it:\n\n.. code:: lua\n\n   return {\n\n   }\n\nOkay... So what now? *Well*, we need to use lazy.nvim for that. I looked up the github repo\nfor noice.nvim and it's made by *folke*. And what's the repo called? *noice.nvim*. Let's rewrite the file,\nchange it to:\n\n.. code:: lua\n\n   return {\n       { \"folke/noice.nvim\" }\n   }\n\nHere we create a table, that holds a string leading us to the github repo `folke/noice.nvim`. Makes total sense, i hope. \nSo yeah, add your own personal touches and tailor this to your liking, but most importantly, enjoy!\n\n.. _`neovim`: https://github.com/neovim/neovim/blob/master/INSTALL.md\n.. _`noice.nvim`: https://github.com/folke/noice.nvim\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcallmesalmon%2Fmochavim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcallmesalmon%2Fmochavim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcallmesalmon%2Fmochavim/lists"}