mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-08-28 22:08:55 +02:00
feat: add custom commands for commenting and uncommenting lines in C files
This commit is contained in:
parent
10ccea08ec
commit
7214203534
3 changed files with 41 additions and 37 deletions
38
init.lua
38
init.lua
|
@ -1,38 +1,4 @@
|
|||
--[[
|
||||
|
||||
What is Kickstart?
|
||||
|
||||
Kickstart.nvim is *not* a distribution.
|
||||
|
||||
Kickstart.nvim is a starting point for your own configuration.
|
||||
The goal is that you can read every line of code, top-to-bottom, understand
|
||||
what your configuration is doing, and modify it to suit your needs.
|
||||
|
||||
Once you've done that, you can start exploring, configuring and tinkering to
|
||||
make Neovim your own! That might mean leaving Kickstart just the way it is for a while
|
||||
or immediately breaking it into modular pieces. It's up to you!
|
||||
|
||||
If you don't know anything about Lua, I recommend taking some time to read through
|
||||
a guide. One possible example which will only take 10-15 minutes:
|
||||
- https://learnxinyminutes.com/docs/lua/
|
||||
|
||||
After understanding a bit more about Lua, you can use `:help lua-guide` as a
|
||||
reference for how Neovim integrates Lua.
|
||||
- :help lua-guide
|
||||
- (or HTML version): https://neovim.io/doc/user/lua-guide.html
|
||||
|
||||
Kickstart Guide:
|
||||
|
||||
If you experience any errors while trying to install kickstart, run `:checkhealth` for more info.
|
||||
|
||||
I hope you enjoy your Neovim journey,
|
||||
- TJ
|
||||
|
||||
P.S. You can delete this when you're done too. It's your config now! :)
|
||||
--]]
|
||||
|
||||
-- Set <space> as the leader key
|
||||
-- See `:help mapleader`
|
||||
-- NOTE: Must happen before plugins are loaded (otherwise wrong leader will be used)
|
||||
vim.g.mapleader = ' '
|
||||
vim.g.maplocalleader = ' '
|
||||
|
@ -793,7 +759,7 @@ require('lazy').setup({
|
|||
filter = 'pro', -- classic | octagon | pro | machine | ristretto | spectrum
|
||||
-- Enable this will disable filter option
|
||||
day_night = {
|
||||
enable = false, -- turn off by default
|
||||
enable = true, -- turn off by default
|
||||
day_filter = 'pro', -- classic | octagon | pro | machine | ristretto | spectrum
|
||||
night_filter = 'spectrum', -- classic | octagon | pro | machine | ristretto | spectrum
|
||||
},
|
||||
|
@ -806,7 +772,7 @@ require('lazy').setup({
|
|||
'renamer',
|
||||
'notify',
|
||||
'nvim-tree',
|
||||
'neo-tree',
|
||||
-- 'neo-tree',
|
||||
'bufferline', -- better used if background of `neo-tree` or `nvim-tree` is cleared
|
||||
}, -- "float_win", "toggleterm", "telescope", "which-key", "renamer", "neo-tree", "nvim-tree", "bufferline"
|
||||
plugins = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue