Compare commits
No commits in common. "a45f1d47ecb93a311a144f9101c091272bcbf804" and "77b3d15322f4d9bb48d8eae976cd5ac214a4d161" have entirely different histories.
a45f1d47ec
...
77b3d15322
5 changed files with 6 additions and 13 deletions
9
init.lua
9
init.lua
|
@ -1,8 +1,3 @@
|
||||||
-- Making leader (<Leader>) key to space
|
|
||||||
vim.g.mapleader = ","
|
|
||||||
-- Making local leader (<LocalLeader>) key to backslash
|
|
||||||
vim.g.maplocalleader = "\\"
|
|
||||||
|
|
||||||
-- Bootstrap lazy.nvim
|
-- Bootstrap lazy.nvim
|
||||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||||
if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
||||||
|
@ -20,6 +15,10 @@ if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
||||||
end
|
end
|
||||||
vim.opt.rtp:prepend(lazypath)
|
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
|
-- Setup lazy.nvim
|
||||||
require("lazy").setup({
|
require("lazy").setup({
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
-- TODO: Need to refactor ways of downloading colorschemes
|
|
||||||
-- Now it is just a hack to download all colorschemes as dependecies
|
|
||||||
return {
|
return {
|
||||||
"folke/tokyonight.nvim",
|
"folke/tokyonight.nvim",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"ellisonleao/gruvbox.nvim",
|
"ellisonleao/gruvbox.nvim",
|
||||||
|
-- "morphez/gruvbox.nvim",
|
||||||
"sainnhe/everforest",
|
"sainnhe/everforest",
|
||||||
"sainnhe/gruvbox-material",
|
"sainnhe/gruvbox-material",
|
||||||
"rebelot/kanagawa.nvim",
|
"rebelot/kanagawa.nvim",
|
||||||
|
|
1
main.py
1
main.py
|
@ -1 +0,0 @@
|
||||||
|
|
|
@ -5,7 +5,3 @@ set("n", "<c-j>", "<c-w><c-j>")
|
||||||
set("n", "<c-k>", "<c-w><c-k>")
|
set("n", "<c-k>", "<c-w><c-k>")
|
||||||
set("n", "<c-l>", "<c-w><c-l>")
|
set("n", "<c-l>", "<c-w><c-l>")
|
||||||
set("n", "<c-h>", "<c-w><c-h>")
|
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" })
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
local opt = vim.opt
|
local opt = vim.opt
|
||||||
|
|
||||||
-- Command to show inline what are you trying to perform
|
-- Command to show inline what are you trying to perform
|
||||||
inccommand = "split"
|
opt.inccommand = "split"
|
||||||
|
|
||||||
-- Search settings to toggle "smart case" search only if 1+ uppercase char
|
-- Search settings to toggle "smart case" search only if 1+ uppercase char
|
||||||
-- persist in search line
|
-- persist in search line
|
||||||
|
|
Loading…
Reference in a new issue