-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b3fd4bc
commit 3a73373
Showing
68 changed files
with
3,404 additions
and
5,972 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
---@type LazySpec | ||
return { | ||
{ 'tpope/vim-repeat', event = 'VeryLazy' }, | ||
{ | ||
'tpope/vim-abolish', | ||
keys = { 'cr' }, | ||
cmd = { 'Abolish', 'Subvert', 'S' }, | ||
}, | ||
{ | ||
'tpope/vim-dispatch', | ||
cmd = { 'Dispatch', 'Make', 'Focus', 'Start', 'FocusDispatch', 'Spawn', 'Copen', 'AbortDispatch' }, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
---@type LazySpec | ||
return { | ||
{ 'tpope/vim-repeat', event = 'VeryLazy' }, | ||
{ | ||
'tpope/vim-abolish', | ||
keys = { 'cr' }, | ||
cmd = { 'Abolish', 'Subvert', 'S' }, | ||
}, | ||
{ | ||
'tpope/vim-dispatch', | ||
cmd = { 'Dispatch', 'Make', 'Focus', 'Start', 'FocusDispatch', 'Spawn', 'Copen', 'AbortDispatch' }, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
local ok, operators = pcall(require, "mini.operators") | ||
if not ok then | ||
return | ||
end | ||
|
||
require("mini.align").setup({}) | ||
require("mini.move").setup({ | ||
-- Move current line in Visual mode | ||
mappings = { | ||
left = "<", | ||
right = ">", | ||
down = "J", | ||
up = "K", | ||
|
||
-- Move current line in Normal mode | ||
line_left = "<M-h>", | ||
line_right = "<M-l>", | ||
line_down = "<M-j>", | ||
line_up = "<M-k>", | ||
}, | ||
}) | ||
|
||
operators.setup({ | ||
exchange = { prefix = "ge" }, | ||
replace = { prefix = "x" }, | ||
}) | ||
vim.keymap.set("n", "X", "x$", { desc = "Replace to end of line", remap = true }) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
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({ | ||
{ import = 'plugins' }, | ||
{ import = 'plugins.mini' }, | ||
{ import = 'plugins.lsp' }, | ||
}, { | ||
change_detection = { | ||
enabled = true, | ||
notify = false, | ||
}, | ||
lockfile = vim.fn.stdpath 'state' .. '/lazy-lock.json', -- lockfile generated after running update. | ||
performance = { | ||
rtp = { | ||
---@type string[] list any plugins you want to disable here | ||
disabled_plugins = { | ||
'gzip', | ||
'matchit', | ||
'netrwPlugin', | ||
'tarPlugin', | ||
'tohtml', | ||
'tutor', | ||
'zipPlugin', | ||
}, | ||
}, | ||
}, | ||
}) |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.