Compare commits

..

No commits in common. "bac67d89d73a25bf9d7a5785fc5464d9247503f2" and "94cf5856a27fd1658194b7a2e26a9577d203e3c7" have entirely different histories.

4 changed files with 25 additions and 40 deletions

View File

@ -1,6 +1,6 @@
return {
"laytan/cloak.nvim",
config = function()
config = function()
require("cloak").setup({
enabled = true,
cloak_character = "*",

View File

@ -1,4 +0,0 @@
return {
"numToStr/Comment.nvim",
opts = function() require("Comment").setup({ }) end
}

View File

@ -8,8 +8,8 @@ return {
},
config = function()
-- Disable on Windows
if (package.config:sub(1,1) == "\\") then return end
-- Disable on Windows
if (package.config:sub(1,1) == "\\") then return end
require('telescope').setup({})
local builtin = require('telescope.builtin')

View File

@ -1,45 +1,34 @@
vim.g.mapleader = " "
vim.g.mapleader = "<Space>"
local set = vim.opt
local HOME = "C:\\Users\\Nathan"
vim.opt.guicursor = ""
set.guicursor = ""
vim.opt.nu = true
vim.opt.relativenumber = true
-- set.number = "relativenumber"
set.relativenumber = true
vim.opt.tabstop = 2
vim.opt.softtabstop = 2
vim.opt.shiftwidth = 2
vim.opt.expandtab = true
set.tabstop = 2
set.softtabstop = 2
set.shiftwidth = 2
set.expandtab = true
vim.opt.smartindent = true
set.smartindent = true
vim.opt.wrap = false
set.wrap = false
vim.opt.swapfile = false
vim.opt.backup = false
vim.opt.undodir = os.getenv("HOME") .. "/.vim/undodir"
vim.opt.undofile = true
set.swapfile = false
set.backup = false
set.undodir = HOME .. "/.vim/undodir"
set.undofile = true
vim.opt.hlsearch = false
vim.opt.incsearch = true
set.hlsearch = false
set.incsearch = true
vim.opt.termguicolors = true
set.termguicolors = true
vim.opt.scrolloff = 8
vim.opt.signcolumn = "yes"
vim.opt.isfname:append("@-@")
set.scrolloff = 8
set.signcolumn = "yes"
set.isfname:append("@-@")
vim.opt.updatetime = 50
set.updatetime = 50
vim.opt.colorcolumn = "80"
set.colorcolumn = "80"
-- https://neovim.reddit.com/comments/xykklt/_/j4gxyqx
vim.keymap.set("n", "<C-_>", function()
require('Comment.api').toggle.linewise.current() end,
{ noremap = true, silent = true }
)
vim.keymap.set("n", "<leader>tt", function() vim.cmd [[Neotree left toggle]] end)
vim.keymap.set("n", "<leader>tf", function() vim.cmd [[Neotree float]] end)