Code Monkey home page Code Monkey logo

nvim's Introduction

๐Ÿ“ฑ Dotfiles

Dotfiles to run Neovim on your phone using termux.

๐Ÿ“– Usage

First backup your old config files.

If you don't have a config then you can skip this step.

mv ~/.config/nvim ~/.config/nvim.old

Now remove the share & state directories.

Note

Not doing this may result in plugin conflicts or things not working properly.

rm -rf ~/.local/share/nvim/ ~/.local/state/nvim/

Now, clone the repository into your ~/.config/ directory.

git clone https://github.com/OXY2DEV/nvim.git/ ~/.config/

Now, open Neovim and install all the necessary plugins.

nvim

๐Ÿ“‚ Init file

The init.lua file is used to configure Neovim.

It has 3 parts.

๐Ÿ”ฉ Editor config

This part is used for configuring options, keymaps and other files that modifies the editor.

These files are meant to be loaded before the plugin manager and should create a usable setup even without any of the plugins.

require("config.settings");   -- Options
require("config.keymaps");    -- Keymaps

๐Ÿ“œ Scripts

These are like a smaller version of plugins. They add some simple niceties.

require("scripts.beacon");           -- Beacon to show cursor
require("scripts.cmdline");          -- Custom cmdline
require("scripts.diagnostic");       -- Fancy diagnostic messages
require("scripts.terminal_bg_sync"); -- Background sync for Termux

๐Ÿ’ค Lazy.nvim

I use lazy.nvim to install plugins. For plugin configuration I use the plugins/plugin-name.lua style.

So, I only load the plugin manager here.

require("config/lazy");

nvim's People

Contributors

oxy2dev avatar

Stargazers

Gio avatar John Xu avatar hebe โšธ dite avatar J avatar John Christian Vicente avatar โ—คโ—ขโ—คโ—ขโ—คโ—ขโ—คโ—ข avatar Ygor Luiz avatar Mostafejur Rahman avatar  avatar kahi avatar  avatar Khenzii avatar Hunter Wei avatar  avatar  avatar Vu Nhat Chuong avatar  avatar Julian avatar Kenny King avatar  avatar Martin Kunz avatar Abdul Hakim avatar Smith avatar  avatar Mark avatar Birdee avatar Peter Sheehan avatar Brent Williams avatar Shivam Rajput avatar Luke Xavier Symington avatar Emille Henry avatar

Watchers

 avatar

nvim's Issues

Can the command line alternative UI be made as a plugin?

Hi OXY2DEV! I just came across your reddit post on alternative command line UI script similar to noice.nvim. If it is not cheeky of me to ask and if you are really ok with doing it, can you please publish it as a plugin. It is really helpful for someone like me. I am sure I will be the first one to add it to my config.

how to make statuscolumn work?

i came from this reddit convo

so how to make it work? do i have to download the custom_plugin folder into my config and disable statusline, tabline and then require bars.lua in my init.lua?

how do we install bars-N-lines.nvim?

tried this:

  "https://github.com/OXY2DEV/nvim/blob/main/lua/custom_plugins/bars-N-lines.nvim", -- also tried: "OXY2DEV/bars-N-lines.nvim",
  name = "bars",
  event = "LazyFile",
  lazy = true,
  config = function()
    require("bars").setup({
      default = {
        statuscolumn = {
          enable = true,
          options = {},
        },
        statusline = {
          enable = false,
          options = {},
        },

        tabline = {
          enable = false,
          options = {},
        },
      },
    })
  end,

but this doesnt work

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.