Coder Social home page Coder Social logo

nvim-config's Introduction

nvim-config

My Neovim configuration.

Overview

This config aims to be simple to use and extensible. lazy.nvim is used to manage plugins, and configuration is done through the user.plugins module.

Installation

Clone this repo to the nvim config directory (see :h standard-path for more information). The nvim config path can be viewed with the following command:

nvim --clean --headless -n -c 'echo stdpath("config")' +q

Windows (PowerShell):

git clone git@github.com:bwpge/nvim-config.git $env:LOCALAPPDATA/nvim

Linux/macOS:

git clone [email protected]:bwpge/nvim-config.git ~/.config/nvim

Be sure to remove any previous data directory, e.g. stdpath("data"), to start with a clean install.

Customize

A customize.json can be created in the config root to change minor settings without leaving the repository in a dirty state.

Important

Comments are not allowed in this file.

Example:

{
  // change default theme
  "theme": "catppuccin",
  // disable plugins without changing specs
  "disabled": ["foo/bar"],

  // some plugins can merge options from this file (all themes are supported)
  "catppuccin": {
    "flavour": "mocha",
  },
  "kanagawa": {
    "theme": "wave"
  },
  "telescope": {
    "pickers": {
      "find_files": {
        "hidden": true,
        "find_command": ["rg", "--files", "--color=never"]
      }
    }
  }
}

The following keys will customize plugin options in customize.lua:

  • All themes (catppuccin, dracula, etc.)
  • lualine
  • neo-tree
  • telescope
  • todo-comments
  • toggleterm
  • treesitter

nvim-config's People

Contributors

bwpge avatar

Watchers

 avatar

nvim-config's Issues

Fix macOS keymaps

The CTRL key doesn't play nice on macOS, since many system functions use it as a modifier and take priority over the terminal.

We can detect which OS is running with :lua print(vim.loop.os_uname().sysname), possible values are:

  • Windows_NT
  • Darwin
  • Linux

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.