Giter Site home page Giter Site logo

kobravim's Introduction

image

KobraVim is heavily inspired by LazyVim and powered by 💤lazy.nvim. You can get started with the starter.

This is configured the same way as LazyVim, except there are a few different values or options, as this comes with sensible defaults for colemak users. The defaults:

local defaults = {
  colorscheme = 'carbonfox',
  ui = {
    background = 'transparent', -- set this to anything but 'transparent' for it to use your colorscheme background
  },
  defaults = {
    autocmds = true,
    keymaps = true,
  },
  paths = {
    home = os.getenv('HOME'),
    data = vim.fn.stdpath('data') .. '/site',
    config = vim.fn.stdpath('config'),
    cache = vim.fn.stdpath('cache'),
  },
  layouts = {
    colemak = false, -- set this to true if a colemak user
  },
  start_screen = {
    dot_files = '~/dot-files', -- the location of your dot files
    folders = { -- folders you want to have show up on the start screen
      { 'Projects', '~/Projects' }, -- each value should be of the format: { title, path }
      { 'Matrix', 'm', '~/Matrix' }, -- or of the format: { title, prefix, path }
    },
    workspaces = { -- workspaces for start screen session display
      { -- each should be of the format: { title, key, path }
        'Project Sessions',
        'p',
        '~/Projects',
      },
      {
        'Dotfile Sessions',
        'd',
        '~/dotfiles',
      },
    },
  },
  icons = {
    diagnostics = {
      Error = '',
      Warn = '',
      Hint = '',
      Info = '',
    },
    git = {
      added = '',
      modified = '',
      removed = '',
    },
    kinds = {
      Array = '',
      Boolean = '',
      Class = '',
      Color = '',
      Constant = '',
      Constructor = '',
      Copilot = '',
      Enum = '',
      EnumMember = '',
      Event = '',
      Field = '',
      File = '',
      Folder = '',
      Function = '',
      Interface = '',
      Key = '',
      Keyword = '',
      Method = '',
      Module = '',
      Namespace = '',
      Null = '',
      Number = '',
      Object = '',
      Operator = '',
      Package = '',
      Property = '',
      Reference = '',
      Snippet = '',
      String = '',
      Struct = '',
      Text = '',
      TypeParameter = '',
      Unit = '',
      Value = '',
      Variable = '',
    },
  },
}

Troubleshooting

If something isn't working correctly, first try running :checkhealth kobra. If the issue persists, open a ticket.

kobravim's People

Contributors

kobrakommander9 avatar

Watchers

 avatar

kobravim's Issues

not a cmd PossessionSave

possession isn't loading

   Error  06:59:11 msg_show.lua_error Error executing vim.schedule lua callback: ...ocal/share/nvim/lazy/KobraVim/lua/kobra/plugins/util.lua:11: Vim:E492: Not an editor command: PossessionSave ui
stack traceback:
	[C]: in function 'nvim_command'
	...ocal/share/nvim/lazy/KobraVim/lua/kobra/plugins/util.lua:11: in function 'on_confirm'
	...cal/share/nvim/lazy/dressing.nvim/lua/dressing/input.lua:108: in function ''
	vim/_editor.lua: in function ''
	vim/_editor.lua: in function <vim/_editor.lua:0>

treesitter deprecated issue

notify will occasionally warn me of vim.treesitter.query.set_query() is deprecated, use vim.treesitter.query.set() instead

Statusline not working on personal machine

   Error  15:50:49 msg_show.lua_error E5108: Error executing lua ...obraVim/lua/kobra/config/ui/lines/components/vi_mode.lua:67: attempt to index local 'search' (a nil value)
stack traceback:
	...obraVim/lua/kobra/config/ui/lines/components/vi_mode.lua:67: in function 'provider'
	...hare/nvim/lazy/heirline.nvim/lua/heirline/statusline.lua:348: in function '_eval'
	...hare/nvim/lazy/heirline.nvim/lua/heirline/statusline.lua:365: in function '_eval'
	...hare/nvim/lazy/heirline.nvim/lua/heirline/statusline.lua:365: in function '_eval'
	...hare/nvim/lazy/heirline.nvim/lua/heirline/statusline.lua:365: in function '_eval'
	...hare/nvim/lazy/heirline.nvim/lua/heirline/statusline.lua:440: in function 'eval'
	...ocal/share/nvim/lazy/heirline.nvim/lua/heirline/init.lua:109: in function <...ocal/share/nvim/lazy/heirline.nvim/lua/heirline/init.lua:104>

nvim notify warns on transparent background

  Warn  10:54:44 notify.warn nvim-notify Highlight group 'NotifyBackground' has no background highlight
Please provide an RGB hex value or highlight group with a background value for 'background_colour' option.
This is the colour that will be used for 100% transparency.
```lua
require("notify").setup({
  background_colour = "#000000",
})
```
Defaulting to #000000

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.