summary refs log tree commit diff stats
path: root/.config/nvim/lua/core
diff options
context:
space:
mode:
authorChristian Krinitsin <christian@krinitsin.xyz>2024-03-18 17:50:57 +0100
committerChristian Krinitsin <christian@krinitsin.xyz>2024-03-18 17:50:57 +0100
commitf4601e1dfc54cc2a2b25b42e185dd8ed9f13be19 (patch)
tree496cb4d1266375396a34db1fb673562b838d919b /.config/nvim/lua/core
parentc6775b8032e2423f5e484505b277a7e0fdc9788a (diff)
downloaddotfiles-f4601e1dfc54cc2a2b25b42e185dd8ed9f13be19.tar.gz
dotfiles-f4601e1dfc54cc2a2b25b42e185dd8ed9f13be19.zip
edited structure and added install script
Diffstat (limited to '.config/nvim/lua/core')
-rw-r--r--.config/nvim/lua/core/keymaps.lua10
-rw-r--r--.config/nvim/lua/core/lazy.lua15
-rw-r--r--.config/nvim/lua/core/options.lua27
3 files changed, 0 insertions, 52 deletions
diff --git a/.config/nvim/lua/core/keymaps.lua b/.config/nvim/lua/core/keymaps.lua
deleted file mode 100644
index 5200427..0000000
--- a/.config/nvim/lua/core/keymaps.lua
+++ /dev/null
@@ -1,10 +0,0 @@
-local map = vim.keymap.set
-
-map("", "<Space>", "<Nop>", {})
-vim.g.mapleader = " "
-vim.g.maplocalleader = " "
-
-map("i", "jk", "<Esc>", {})
-
-vim.keymap.set('n', '<leader>ff', ':Telescope find_files theme=dropdown<CR>', {})
-vim.keymap.set('n', '<leader>lg', ':LazyGit<CR>', {})
diff --git a/.config/nvim/lua/core/lazy.lua b/.config/nvim/lua/core/lazy.lua
deleted file mode 100644
index 169284a..0000000
--- a/.config/nvim/lua/core/lazy.lua
+++ /dev/null
@@ -1,15 +0,0 @@
-local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
-
-if not vim.loop.fs_stat(lazypath) then
-  vim.fn.system({
-    "git",
-    "clone",
-    "--filter=blob:none",
-    "https://github.com/folke/lazy.nvim.git",
-    "--branch=stable", -- latest stable release
-    lazypath,
-  })
-end
-vim.opt.rtp:prepend(lazypath)
-
-require("lazy").setup("plugins")
diff --git a/.config/nvim/lua/core/options.lua b/.config/nvim/lua/core/options.lua
deleted file mode 100644
index 8f5b36e..0000000
--- a/.config/nvim/lua/core/options.lua
+++ /dev/null
@@ -1,27 +0,0 @@
-vim.opt.clipboard = 'unnamedplus'
-vim.opt.mouse = 'a'
-vim.opt.shell='/bin/bash'
-
-vim.opt.backup=false
-vim.opt.writebackup=false
-vim.opt.updatetime=300
-vim.opt.signcolumn="yes"
-
-vim.opt.tabstop = 4                 -- number of visual spaces per TAB
-vim.opt.softtabstop = 4             -- number of spacesin tab when editing
-vim.opt.shiftwidth = 4              -- insert 4 spaces on a tab
-vim.opt.expandtab = true            -- tabs are spaces, mainly because of python
-vim.opt.smartindent=true
-vim.opt.autoindent=true
-vim.opt.smarttab=true
-
-vim.opt.number = true               -- show absolute number
-vim.opt.relativenumber = true       -- add numbers to each line on the left side
-vim.opt.splitbelow = true           -- open new vertical split bottom
-vim.opt.splitright = true           -- open new horizontal splits right
-vim.opt.termguicolors = true        -- enabl 24-bit RGB color in the TUI
-vim.opt.showmode = false            -- we are experienced, wo don't need the "-- INSERT --" mode hint
-
-vim.opt.incsearch = true            -- search as characters are entered
-vim.opt.ignorecase = true           -- ignore case in searches by default
-vim.opt.smartcase = true            -- but make it case sensitive if an uppercase is entered