Compare commits

..

No commits in common. "bb13571b57ac5de55341601534ac76a9dcd50d4a" and "d987981adb154c3fb460a2e0f622267ea32ab83e" have entirely different histories.

8 changed files with 58 additions and 65 deletions

View file

@ -36,7 +36,7 @@ set.spell = true
-- Enable mouse support
set.mouse = 'n'
-- Enable programming dictionary
set.spelllang = { "en", "programming", "en-academic" }
set.spelllang = { "en", "programming" }
-- Disable unused plugins
g.loaded_perl_provider = 0

View file

@ -38,8 +38,8 @@ map('n', '<leader>O', ":<c-u>call append(line('.')-1, repeat([''], v:count1))<cr
map('n', '<leader>u', "<c-r>", { remap = false })
-- Browser like keymaps
map('n', '<leader>k', "gt", { remap = false })
map('n', '<leader>j', "gT", { remap = false })
map('n', '<leader>k', ":tabnext<cr>", { remap = false })
map('n', '<leader>j', ":tabprevious<cr>", { remap = false })
map('n', '<leader>w', ":bdelete<cr>", { remap = false })
map('n', '<leader>W', ":bdelete!<cr>", { remap = false })
map('n', '<leader>t', ":tabnew<cr>", { remap = false })

View file

@ -1,23 +1,20 @@
-- Automatically 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
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)
-- Load plugin via paq-nvim
require("lazy").setup({
spec = {
require("lazy").setup(
{
-- Use lualine for statusbar
"nvim-lualine/lualine.nvim",
"nvim-tree/nvim-web-devicons",
@ -52,8 +49,6 @@ require("lazy").setup({
"SirVer/ultisnips", -- For snippets
-- Support programming terms
{ "psliwka/vim-dirtytalk", build = ":DirtytalkUpdate" },
-- Support academic terms
{ "ficcdaf/academic.nvim", build = ":AcademicBuild" },
-- vim-moonfly theme
{ "bluz71/vim-moonfly-colors", as = "moonfly" },
-- Rust tools
@ -82,12 +77,14 @@ require("lazy").setup({
},
{
"felpafel/inlay-hint.nvim",
version = "1",
event = "LspAttach",
config = true,
},
"dvrlabs/takeout.nvim",
},
lockfile = vim.fn.stdpath("config") .. "/config/lazy-lock.json",
install = { missing = true, colorscheme = { "habamax" } },
checker = { enabled = true },
})
{
lockfile = vim.fn.stdpath("config") .. "/config/lazy-lock.json",
install = { missing = true },
}
)

View file

@ -87,8 +87,8 @@ map('n', '<leader>O', ":<c-u>call append(line('.')-1, repeat([''], v:count1))<cr
map('n', '<leader>u', "<c-r>", { remap = false })
-- Browser like keymaps
map('n', '<leader>k', "gt", { remap = false })
map('n', '<leader>j', "gT", { remap = false })
map('n', '<leader>k', ":tabnext<cr>", { remap = false })
map('n', '<leader>j', ":tabprevious<cr>", { remap = false })
map('n', '<leader>w', ":bdelete<cr>", { remap = false })
map('n', '<leader>W', ":bdelete!<cr>", { remap = false })
map('n', '<leader>t', ":tabnew<cr>", { remap = false })

View file

@ -35,8 +35,8 @@ map('n', '<leader>u', "<c-r>", { remap = false })
map('n', '<leader>f', ":Files<cr>", { remap = false })
-- Browser like keymaps
map('n', '<leader>k', "gt", { remap = false })
map('n', '<leader>j', "gT", { remap = false })
map('n', '<leader>k', ":tabnext<cr>", { remap = false })
map('n', '<leader>j', ":tabprevious<cr>", { remap = false })
map('n', '<leader>w', ":bdelete<cr>", { remap = false })
map('n', '<leader>W', ":bdelete!<cr>", { remap = false })
map('n', '<leader>t', ":tabnew<cr>", { remap = false })

View file

@ -1,23 +1,20 @@
-- Automatically 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
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)
-- Load plugins via lazy.nvim
require("lazy").setup({
spec = {
require("lazy").setup(
{
-- Use lualine for statusbar
"nvim-lualine/lualine.nvim",
"nvim-tree/nvim-web-devicons",
@ -55,8 +52,9 @@ require("lazy").setup({
"ibhagwan/fzf-lua",
"karb94/neoscroll.nvim",
},
lockfile = vim.fn.stdpath("config") .. "/config/lazy-lock.json",
install = { missing = true, colorscheme = { "habamax" } },
checker = { enabled = true },
})
{
lockfile = vim.fn.stdpath("config") .. "/config/lazy-lock.json",
install = { missing = true },
}
)

View file

@ -35,8 +35,8 @@ map('n', '<leader>u', "<c-r>", { remap = false })
map('n', '<leader>f', ":Files<cr>", { remap = false })
-- Browser like keymaps
map('n', '<leader>k', "gt", { remap = false })
map('n', '<leader>j', "gT", { remap = false })
map('n', '<leader>k', ":tabnext<cr>", { remap = false })
map('n', '<leader>j', ":tabprevious<cr>", { remap = false })
map('n', '<leader>w', ":bdelete<cr>", { remap = false })
map('n', '<leader>W', ":bdelete!<cr>", { remap = false })
map('n', '<leader>t', ":tabnew<cr>", { remap = false })

View file

@ -1,23 +1,20 @@
-- Automatically 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
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)
-- Load plugins via lazy.nvim
require("lazy").setup({
spec = {
require("lazy").setup(
{
-- Use lualine for statusbar
"nvim-lualine/lualine.nvim",
"nvim-tree/nvim-web-devicons",
@ -55,8 +52,9 @@ require("lazy").setup({
"ibhagwan/fzf-lua",
"karb94/neoscroll.nvim",
},
lockfile = vim.fn.stdpath("config") .. "/config/lazy-lock.json",
install = { missing = true, colorscheme = { "habamax" } },
checker = { enabled = true },
})
{
lockfile = vim.fn.stdpath("config") .. "/config/lazy-lock.json",
install = { missing = true },
}
)