|
|
@ -24,7 +24,7 @@ If you experience any errors while trying to install kickstart, run `:checkhealt
|
|
|
|
--]]
|
|
|
|
--]]
|
|
|
|
|
|
|
|
|
|
|
|
-- The file rakshit/core/options.lua will be storing all the options that we want to save n our file
|
|
|
|
-- The file rakshit/core/options.lua will be storing all the options that we want to save n our file
|
|
|
|
require('rakshit.core')
|
|
|
|
require("rakshit.core")
|
|
|
|
|
|
|
|
|
|
|
|
-- Set to true if you have a Nerd Font installed and selected in the terminal
|
|
|
|
-- Set to true if you have a Nerd Font installed and selected in the terminal
|
|
|
|
vim.g.have_nerd_font = true
|
|
|
|
vim.g.have_nerd_font = true
|
|
|
@ -35,15 +35,26 @@ vim.g.have_nerd_font = true
|
|
|
|
-- Highlight when yanking (copying) text
|
|
|
|
-- Highlight when yanking (copying) text
|
|
|
|
-- Try it with `yap` in normal mode
|
|
|
|
-- Try it with `yap` in normal mode
|
|
|
|
-- See `:help vim.highlight.on_yank()`
|
|
|
|
-- See `:help vim.highlight.on_yank()`
|
|
|
|
vim.api.nvim_create_autocmd('TextYankPost', {
|
|
|
|
vim.api.nvim_create_autocmd("TextYankPost", {
|
|
|
|
desc = 'Highlight when yanking (copying) text',
|
|
|
|
desc = "Highlight when yanking (copying) text",
|
|
|
|
group = vim.api.nvim_create_augroup('kickstart-highlight-yank', { clear = true }),
|
|
|
|
group = vim.api.nvim_create_augroup("kickstart-highlight-yank", { clear = true }),
|
|
|
|
callback = function()
|
|
|
|
callback = function()
|
|
|
|
vim.highlight.on_yank()
|
|
|
|
vim.highlight.on_yank()
|
|
|
|
end,
|
|
|
|
end,
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
require('rakshit.lazy')
|
|
|
|
vim.api.nvim_create_autocmd("RecordingEnter", {
|
|
|
|
|
|
|
|
callback = function()
|
|
|
|
|
|
|
|
vim.opt.cmdheight = 1
|
|
|
|
|
|
|
|
end,
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
vim.api.nvim_create_autocmd("RecordingLeave", {
|
|
|
|
|
|
|
|
callback = function()
|
|
|
|
|
|
|
|
vim.opt.cmdheight = 0
|
|
|
|
|
|
|
|
end,
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
require("rakshit.lazy")
|
|
|
|
|
|
|
|
|
|
|
|
-- The line beneath this is called `modeline`. See `:help modeline`
|
|
|
|
-- The line beneath this is called `modeline`. See `:help modeline`
|
|
|
|
-- vim: ts=2 sts=2 sw=2 et
|
|
|
|
-- vim: ts=2 sts=2 sw=2 et
|
|
|
|