summaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
Diffstat (limited to 'nvim')
-rw-r--r--nvim/.config/nvim/init.lua9
-rw-r--r--nvim/.config/nvim/lua/.gitkeep0
-rw-r--r--nvim/.config/nvim/lua/config/lazy.lua35
-rw-r--r--nvim/.config/nvim/lua/config/options.lua39
-rw-r--r--nvim/.config/nvim/lua/plugins/comment.lua6
-rw-r--r--nvim/.config/nvim/lua/plugins/lualine.lua34
-rw-r--r--nvim/.config/nvim/lua/plugins/telescope.lua25
-rw-r--r--nvim/.config/nvim/lua/plugins/theme.lua9
-rw-r--r--nvim/.config/nvim/lua/plugins/whichkey.lua6
9 files changed, 0 insertions, 163 deletions
diff --git a/nvim/.config/nvim/init.lua b/nvim/.config/nvim/init.lua
deleted file mode 100644
index ae56b98..0000000
--- a/nvim/.config/nvim/init.lua
+++ /dev/null
@@ -1,9 +0,0 @@
--- <leader> --
-vim.g.mapleader = " "
-vim.g.maplocalleader = "\\"
--- </leader> --
-
--- <init.config> --
-require("config.lazy")
-require("config.options")
--- </init.config> --
diff --git a/nvim/.config/nvim/lua/.gitkeep b/nvim/.config/nvim/lua/.gitkeep
deleted file mode 100644
index e69de29..0000000
--- a/nvim/.config/nvim/lua/.gitkeep
+++ /dev/null
diff --git a/nvim/.config/nvim/lua/config/lazy.lua b/nvim/.config/nvim/lua/config/lazy.lua
deleted file mode 100644
index f5ee74c..0000000
--- a/nvim/.config/nvim/lua/config/lazy.lua
+++ /dev/null
@@ -1,35 +0,0 @@
--- Bootstrap lazy.nvim
-local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
-if not (vim.uv or vim.loop).fs_stat(lazypath) then
- local lazyrepo = "https://github.com/folke/lazy.nvim.git"
- local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
- if vim.v.shell_error ~= 0 then
- vim.api.nvim_echo({
- { "Failed to clone lazy.nvim:\n", "ErrorMsg" },
- { out, "WarningMsg" },
- { "\nPress any key to exit..." },
- }, true, {})
- vim.fn.getchar()
- os.exit(1)
- end
-end
-vim.opt.rtp:prepend(lazypath)
-
--- Make sure to setup `mapleader` and `maplocalleader` before
--- loading lazy.nvim so that mappings are correct.
--- This is also a good place to setup other settings (vim.opt)
-vim.g.mapleader = " "
-vim.g.maplocalleader = "\\"
-
--- Setup lazy.nvim
-require("lazy").setup({
- spec = {
- -- import your plugins
- { import = "plugins" },
- },
- -- Configure any other settings here. See the documentation for more details.
- -- colorscheme that will be used when installing plugins.
- install = { colorscheme = { "habamax" } },
- -- automatically check for plugin updates
- checker = { enabled = true },
-})
diff --git a/nvim/.config/nvim/lua/config/options.lua b/nvim/.config/nvim/lua/config/options.lua
deleted file mode 100644
index 01489f0..0000000
--- a/nvim/.config/nvim/lua/config/options.lua
+++ /dev/null
@@ -1,39 +0,0 @@
-local options = {
- cmdheight = 0,
-
- number = true,
- relativenumber = true,
-
- clipboard = "unnamedplus",
-
- breakindent = true,
- tabstop = 4,
- softtabstop = 4,
- shiftwidth = 4,
- expandtab = true,
-
- undofile = true,
-
- hlsearch = false,
- ignorecase = true,
- smartcase = true,
-
- completeopt = "menuone,noselect",
-
- timeout = true,
- timeoutlen = 500,
-
- foldcolumn = "0",
- foldlevel = 99,
- foldlevelstart = 99,
- foldenable = true,
-
- spelllang = { "nb", "en" },
- spellcapcheck = "",
-}
-
-vim.g.spellfile_URL = "https://ftp.nluug.nl/pub/vim/runtime/spell/"
-
-for k, v in pairs(options) do
- vim.opt[k] = v
-end
diff --git a/nvim/.config/nvim/lua/plugins/comment.lua b/nvim/.config/nvim/lua/plugins/comment.lua
deleted file mode 100644
index fe9adbe..0000000
--- a/nvim/.config/nvim/lua/plugins/comment.lua
+++ /dev/null
@@ -1,6 +0,0 @@
-return {
- "numToStr/Comment.nvim",
- opts = {},
- lazy = false,
-}
-
diff --git a/nvim/.config/nvim/lua/plugins/lualine.lua b/nvim/.config/nvim/lua/plugins/lualine.lua
deleted file mode 100644
index a5c341d..0000000
--- a/nvim/.config/nvim/lua/plugins/lualine.lua
+++ /dev/null
@@ -1,34 +0,0 @@
-return {
- {
- 'nvim-lualine/lualine.nvim',
- event = 'VeryLazy',
- opts = function()
- return {
- options = {
- icons_enabled = true,
- theme = 'gruvbox',
- component_separators = { left = '', right = ''},
- section_separators = { left = '', right = ''},
- },
- sections = {
- lualine_c = {
- { 'filename', path = 1 },
- },
- lualine_y = {
- {
- require('tmux-status').tmux_windows,
- cond = require('tmux-status').show,
- padding = { left = 1, right = 1 },
- },
- }
- },
- }
- end,
- },
- {
- "christopher-francisco/tmux-status.nvim",
--- lazy = true,
- opts = {},
- },
-}
-
diff --git a/nvim/.config/nvim/lua/plugins/telescope.lua b/nvim/.config/nvim/lua/plugins/telescope.lua
deleted file mode 100644
index 47b0b36..0000000
--- a/nvim/.config/nvim/lua/plugins/telescope.lua
+++ /dev/null
@@ -1,25 +0,0 @@
-return {
- "nvim-telescope/telescope.nvim",
- branch = "0.1.x",
- dependencies = {
- "nvim-lua/plenary.nvim",
- {
- "nvim-telescope/telescope-fzf-native.nvim",
- build = "make",
- cond = function()
- return vim.fn.executable "make" == 1
- end,
- },
- },
- config = function ()
- pcall(require("telescope").load_extension, "fzf")
- end,
- opt = {
- pickers = {
- colorscheme = {
- enable_preview = true
- }
- }
- },
-}
-
diff --git a/nvim/.config/nvim/lua/plugins/theme.lua b/nvim/.config/nvim/lua/plugins/theme.lua
deleted file mode 100644
index 7f53fa8..0000000
--- a/nvim/.config/nvim/lua/plugins/theme.lua
+++ /dev/null
@@ -1,9 +0,0 @@
-return {
- "ellisonleao/gruvbox.nvim",
- opts = {
- transparent_mode = true,
- },
- init = function()
- vim.cmd("colorscheme gruvbox")
- end
-}
diff --git a/nvim/.config/nvim/lua/plugins/whichkey.lua b/nvim/.config/nvim/lua/plugins/whichkey.lua
deleted file mode 100644
index 1173e06..0000000
--- a/nvim/.config/nvim/lua/plugins/whichkey.lua
+++ /dev/null
@@ -1,6 +0,0 @@
-return {
- "folke/which-key.nvim",
- event = "VeryLazy",
- opts = {},
-}
-