OXY2DEV / intro.nvim

MIT License
24 stars 2 forks source link

Update log(Check this before opening new issues) #2

Closed OXY2DEV closed 3 months ago

OXY2DEV commented 4 months ago

I will be posting all the changes and stuff I am working on here for easy access(as this repo has no proper README and changes are made pretty often).

So, check this first if something breaks.

Showcase of the plugin https://github.com/OXY2DEV/intro.nvim/assets/122956967/f943453a-0570-40c2-a4c8-17a06fb69d51

OXY2DEV commented 4 months ago

Screenshot_2024-04-18-19-00-15-827_com gaurav avnc

I am currently working on a new preset. This one will support recent files and recent files on current directory.

It won't be animated. Instead the users will be able to choose various colors for various parts of the screen using the new opts option in preset during setup.

OXY2DEV commented 4 months ago

Screenshot_2024-04-18-20-42-54-319_com gaurav avnc Finished working on a new preset. This one is called startify as it is inspired by vim-startify.

It has a quite a few customisation options such as

  1. Neovim text color • Solid colors

    1. blue
    2. green
    3. red
    4. pink
    5. flamingo

    • Gradient colors

    1. gradient_blue_green
    2. gradient_endless_river
    3. gradient_friday
  2. Component options

    1. recents Show's the last 5 opened files
    2. recents_in_current_dir Show's the last 5 opened files in the current directory
  3. List style option • list_shade Adds a bit of shade to all the file lists

OXY2DEV commented 4 months ago

New Screenshot

Just finished working on the preset.

I will now work on a new type of component that deals with keymaps in the start screen.

OXY2DEV commented 4 months ago

Screenshot_2024-04-18-20-42-54-319_com gaurav avnc Finished working on a new preset. This one is called startify as it is inspired by vim-startify.

It has a quite a few customisation options such as

  1. Neovim text color • Solid colors

    1. blue
    2. green
    3. red
    4. pink
    5. flamingo

    • Gradient colors

    1. gradient_blue_green
    2. gradient_endless_river
    3. gradient_friday
  2. Component options

    1. recents Show's the last 5 opened files
    2. recents_in_current_dir Show's the last 5 opened files in the current directory
  3. List style option • list_shade Adds a bit of shade to all the file lists

This preset is now ready to be used.

Usage

require("intro").setup({
  preset = {
    name = "startify",
    opts = { "green", "recents", "list_shade" }
  }
});

The coloring of the text art should be before the other opts values as they can change other highlight groups if used in the wrong order.

OXY2DEV commented 4 months ago

Screenshot_2024-04-19-15-34-55-676_com gaurav avnc

Added new component type keymaps.

This allows you to set some buffer local keymaps.

Usage: The component is added to the components table.

Example:

require("intro").setup({
  components = {
    {
      type = "keymaps",
      keys = {
        {
          keyCombination = "<leader>H",
          keyAction = ":lua print('Hello World')<CR>",
          keyOptions = { silent = true },
          text = "[H]ello",
          color = "Special"
        }
      }
    }
  }
});
OXY2DEV commented 4 months ago

New preset available!

Preset name: cats.

Preset Options:

  1. Based on how many cats to show • c1x2 • c1x3 • c1x4 • c2x2 • c3x3 • c3x1 [The names are c + number of cats in a column + x + number of cats in a row]

  2. Colors • rosewater • mauve • yellow • green • blue • all_the_colors [All of them have a high contrast version. Use _alt(e.g. rosewater_alt) to use the high contrast version]

Screenshot_2024-04-20-17-32-56-505_com gaurav avnc Screenshot_2024-04-20-17-34-50-903_com gaurav avnc Screenshot_2024-04-20-17-36-18-060_com gaurav avnc

OXY2DEV commented 4 months ago

New preset available!

Preset name: cats.

Preset Options:

  1. Based on how many cats to show • c1x2 • c1x3 • c1x4 • c2x2 • c3x3 • c3x1 [The names are c + number of cats in a column + x + number of cats in a row]
  2. Colors • rosewater • mauve • yellow • green • blue • all_the_colors [All of them have a high contrast version. Use _alt(e.g. rosewater_alt) to use the high contrast version]

Screenshot_2024-04-20-17-32-56-505_com gaurav avnc Screenshot_2024-04-20-17-34-50-903_com gaurav avnc Screenshot_2024-04-20-17-36-18-060_com gaurav avnc

Usage:

require("intro").setup({
  preset = {
    name = "cats",
    opts = { "c2x2", "all_the_colors" }
  }
});
OXY2DEV commented 4 months ago

Screenshot_2024-04-25-00-02-17-635_com termux-edit

Help files have been updated! Now, only the README is left.

OXY2DEV commented 4 months ago

https://github.com/OXY2DEV/intro.nvim/assets/122956967/fe6c12ec-db6d-45f4-9208-fa8712d00c4a

A small showcase of the plugin.

OXY2DEV commented 3 months ago

Working on a new component. A clock to be exact.

1000081410 1000081379

They are fully customisable(both in terms of how the numbers are shown and what colors are used).

They also support gradient, as always.

Currently there's only 2 variant of the clock. But I plan to add more.

This is currently on the development branch. So, you can't use them unless you use the development branch of the plugin.

OXY2DEV commented 3 months ago

A plugin showcase GIF. Screenrecorder-2024-05-07-11-30-18-7591online-video-cutter com1-ezgif com-video-to-gif-converter

OXY2DEV commented 3 months ago

https://github.com/OXY2DEV/intro.nvim/assets/122956967/85737e5b-0f01-4ffd-b22c-cc1adda17e60

OXY2DEV commented 3 months ago

1000083306 1000083307 1000083309 1000083310 1000083311 1000083312

OXY2DEV commented 3 months ago

https://github.com/OXY2DEV/intro.nvim/assets/122956967/b2ffb4ca-d543-46f6-8d7c-c4dbd42caa56

https://github.com/OXY2DEV/intro.nvim/assets/122956967/2d4b230a-328a-4b80-90c4-55f9b6d26dab

https://github.com/OXY2DEV/intro.nvim/assets/122956967/b415931b-aa95-48e6-9133-847af7d222e2

https://github.com/OXY2DEV/intro.nvim/assets/122956967/9e9ed7b7-86b1-4412-8328-82b9071e8c65

OXY2DEV commented 3 months ago

Even more screenshots(for examples)

Screenshot_2024-05-13-12-40-52-817_com gaurav avnc Screenshot_2024-05-13-12-43-28-938_com gaurav avnc

OXY2DEV commented 3 months ago

https://github.com/OXY2DEV/intro.nvim/assets/122956967/a507fc9a-cecb-4ea6-993d-6c593775d704

OXY2DEV commented 3 months ago

Finally managed to make a working text animation.

https://github.com/OXY2DEV/intro.nvim/assets/122956967/6fd77bfc-5a68-4981-ab47-4d26646dde1d

OXY2DEV commented 3 months ago

Development on this plugin has stopped.