Compare commits

...

2 commits

Author SHA1 Message Date
a45f1d47ec Remap leader key for , 2025-01-31 22:33:00 +03:00
034fe4f764 Add todo comment for coloscheme settings 2025-01-31 22:25:30 +03:00
5 changed files with 13 additions and 6 deletions

View file

@ -1,3 +1,8 @@
-- Making leader (<Leader>) key to space
vim.g.mapleader = ","
-- Making local leader (<LocalLeader>) key to backslash
vim.g.maplocalleader = "\\"
-- Bootstrap lazy.nvim
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not (vim.uv or vim.loop).fs_stat(lazypath) then
@ -15,10 +20,6 @@ if not (vim.uv or vim.loop).fs_stat(lazypath) then
end
vim.opt.rtp:prepend(lazypath)
-- Making leader (<Leader>) key to space
vim.g.mapleader = " "
-- Making local leader (<LocalLeader>) key to backslash
vim.g.maplocalleader = "\\"
-- Setup lazy.nvim
require("lazy").setup({

View file

@ -1,8 +1,9 @@
-- TODO: Need to refactor ways of downloading colorschemes
-- Now it is just a hack to download all colorschemes as dependecies
return {
"folke/tokyonight.nvim",
dependencies = {
"ellisonleao/gruvbox.nvim",
-- "morphez/gruvbox.nvim",
"sainnhe/everforest",
"sainnhe/gruvbox-material",
"rebelot/kanagawa.nvim",

1
main.py Normal file
View file

@ -0,0 +1 @@

View file

@ -5,3 +5,7 @@ set("n", "<c-j>", "<c-w><c-j>")
set("n", "<c-k>", "<c-w><c-k>")
set("n", "<c-l>", "<c-w><c-l>")
set("n", "<c-h>", "<c-w><c-h>")
-- Bindings for reloading LUA files (used when working with lua files)
set("n", "<leader>x", "<cmd>.lua<CR>", { desc = "Execute the current lne" })
set("n", "<leader><leader>x", "<cmd>source %<CR>", { desc = "Execute the current file" })

View file

@ -1,7 +1,7 @@
local opt = vim.opt
-- Command to show inline what are you trying to perform
opt.inccommand = "split"
inccommand = "split"
-- Search settings to toggle "smart case" search only if 1+ uppercase char
-- persist in search line