mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-10 01:04:34 +02:00
treewide: Reformat with nixfmt
This commit is contained in:
parent
c6281260dc
commit
62f32bfc71
459 changed files with 28139 additions and 26377 deletions
|
@ -21,7 +21,10 @@
|
|||
dim = 0.18;
|
||||
cleaningInterval = 1250;
|
||||
};
|
||||
triggerEvents = ["InsertLeave" "TextChanged"];
|
||||
triggerEvents = [
|
||||
"InsertLeave"
|
||||
"TextChanged"
|
||||
];
|
||||
condition = ''
|
||||
function(buf)
|
||||
local fn = vim.fn
|
||||
|
|
|
@ -11,10 +11,12 @@
|
|||
autoSession = {
|
||||
enabled = true;
|
||||
enableLastSession = false;
|
||||
rootDir = {__raw = "vim.fn.stdpath 'data' .. '/sessions/'";};
|
||||
rootDir = {
|
||||
__raw = "vim.fn.stdpath 'data' .. '/sessions/'";
|
||||
};
|
||||
createEnabled = true;
|
||||
suppressDirs = null;
|
||||
allowedDirs = [];
|
||||
allowedDirs = [ ];
|
||||
useGitBranch = true;
|
||||
};
|
||||
autoSave = {
|
||||
|
@ -28,7 +30,7 @@
|
|||
preCwdChangedHook = null;
|
||||
postCwdChangedHook = null;
|
||||
};
|
||||
bypassSessionSaveFileTypes = [];
|
||||
bypassSessionSaveFileTypes = [ ];
|
||||
sessionLens = {
|
||||
loadOnSetup = true;
|
||||
themeConf = {
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
{
|
||||
empty = {plugins.autoclose.enable = true;};
|
||||
empty = {
|
||||
plugins.autoclose.enable = true;
|
||||
};
|
||||
|
||||
defaults = {
|
||||
plugins.autoclose.enable = true;
|
||||
|
@ -59,7 +61,7 @@
|
|||
};
|
||||
|
||||
options = {
|
||||
disabledFiletypes = ["text"];
|
||||
disabledFiletypes = [ "text" ];
|
||||
disableWhenTouch = false;
|
||||
touchRegex = "[%w(%[{]";
|
||||
pairSpaces = false;
|
||||
|
|
|
@ -7,7 +7,10 @@
|
|||
plugins.better-escape = {
|
||||
enable = true;
|
||||
|
||||
mapping = ["jj" "jk"];
|
||||
mapping = [
|
||||
"jj"
|
||||
"jk"
|
||||
];
|
||||
timeout = 150;
|
||||
clearEmptyLines = false;
|
||||
keys = "<ESC>";
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{pkgs, ...}: {
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
empty = {
|
||||
plugins.clipboard-image = {
|
||||
enable = true;
|
||||
|
@ -20,7 +21,11 @@
|
|||
};
|
||||
filetypes = {
|
||||
markdown = {
|
||||
imgDir = ["src" "assets" "img"];
|
||||
imgDir = [
|
||||
"src"
|
||||
"assets"
|
||||
"img"
|
||||
];
|
||||
imgDirTxt = "/assets/img";
|
||||
imgHandler = ''
|
||||
function(img) -- New feature from PR #22
|
||||
|
|
|
@ -15,33 +15,49 @@
|
|||
compile_command = {
|
||||
c = {
|
||||
exec = "gcc";
|
||||
args = ["-Wall" "$(FNAME)" "-o" "$(FNOEXT)"];
|
||||
args = [
|
||||
"-Wall"
|
||||
"$(FNAME)"
|
||||
"-o"
|
||||
"$(FNOEXT)"
|
||||
];
|
||||
};
|
||||
cpp = {
|
||||
exec = "g++";
|
||||
args = ["-Wall" "$(FNAME)" "-o" "$(FNOEXT)"];
|
||||
args = [
|
||||
"-Wall"
|
||||
"$(FNAME)"
|
||||
"-o"
|
||||
"$(FNOEXT)"
|
||||
];
|
||||
};
|
||||
rust = {
|
||||
exec = "rustc";
|
||||
args = ["$(FNAME)"];
|
||||
args = [ "$(FNAME)" ];
|
||||
};
|
||||
java = {
|
||||
exec = "javac";
|
||||
args = ["$(FNAME)"];
|
||||
args = [ "$(FNAME)" ];
|
||||
};
|
||||
};
|
||||
running_directory = ".";
|
||||
run_command = {
|
||||
c = {exec = "./$(FNOEXT)";};
|
||||
cpp = {exec = "./$(FNOEXT)";};
|
||||
rust = {exec = "./$(FNOEXT)";};
|
||||
c = {
|
||||
exec = "./$(FNOEXT)";
|
||||
};
|
||||
cpp = {
|
||||
exec = "./$(FNOEXT)";
|
||||
};
|
||||
rust = {
|
||||
exec = "./$(FNOEXT)";
|
||||
};
|
||||
python = {
|
||||
exec = "python";
|
||||
args = ["$(FNAME)"];
|
||||
args = [ "$(FNAME)" ];
|
||||
};
|
||||
java = {
|
||||
exec = "java";
|
||||
args = ["$(FNOEXT)"];
|
||||
args = [ "$(FNOEXT)" ];
|
||||
};
|
||||
};
|
||||
multiple_testing = -1;
|
||||
|
|
|
@ -22,18 +22,34 @@
|
|||
autoReloadTimeoutMs = 500;
|
||||
commands = true;
|
||||
highlights = {
|
||||
covered = {fg = "#B7F071";};
|
||||
uncovered = {fg = "#F07178";};
|
||||
partial = {fg = "#AA71F0";};
|
||||
summaryBorder = {link = "FloatBorder";};
|
||||
summaryNormal = {link = "NormalFloat";};
|
||||
summaryCursorLine = {link = "CursorLine";};
|
||||
covered = {
|
||||
fg = "#B7F071";
|
||||
};
|
||||
uncovered = {
|
||||
fg = "#F07178";
|
||||
};
|
||||
partial = {
|
||||
fg = "#AA71F0";
|
||||
};
|
||||
summaryBorder = {
|
||||
link = "FloatBorder";
|
||||
};
|
||||
summaryNormal = {
|
||||
link = "NormalFloat";
|
||||
};
|
||||
summaryCursorLine = {
|
||||
link = "CursorLine";
|
||||
};
|
||||
summaryHeader = {
|
||||
style = "bold,underline";
|
||||
sp = "bg";
|
||||
};
|
||||
summaryPass = {link = "CoverageCovered";};
|
||||
summaryFail = {link = "CoverageUncovered";};
|
||||
summaryPass = {
|
||||
link = "CoverageCovered";
|
||||
};
|
||||
summaryFail = {
|
||||
link = "CoverageUncovered";
|
||||
};
|
||||
};
|
||||
loadCoverageCb = ''
|
||||
function (ftype)
|
||||
|
@ -56,8 +72,8 @@
|
|||
};
|
||||
signGroup = "coverage";
|
||||
summary = {
|
||||
widthPercentage = 0.70;
|
||||
heightPercentage = 0.50;
|
||||
widthPercentage = 0.7;
|
||||
heightPercentage = 0.5;
|
||||
borders = {
|
||||
topleft = "╭";
|
||||
topright = "╮";
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
{
|
||||
empty = {plugins.direnv.enable = true;};
|
||||
empty = {
|
||||
plugins.direnv.enable = true;
|
||||
};
|
||||
|
||||
defaults = {
|
||||
plugins.direnv = {
|
||||
|
|
|
@ -19,8 +19,14 @@
|
|||
relative = "cursor";
|
||||
prefer_width = 40;
|
||||
width = null;
|
||||
max_width = [140 0.9];
|
||||
min_width = [20 0.2];
|
||||
max_width = [
|
||||
140
|
||||
0.9
|
||||
];
|
||||
min_width = [
|
||||
20
|
||||
0.2
|
||||
];
|
||||
win_options = {
|
||||
wrap = false;
|
||||
list = true;
|
||||
|
@ -44,14 +50,20 @@
|
|||
};
|
||||
select = {
|
||||
enabled = true;
|
||||
backend = ["telescope" "fzf_lua" "fzf" "builtin" "nui"];
|
||||
backend = [
|
||||
"telescope"
|
||||
"fzf_lua"
|
||||
"fzf"
|
||||
"builtin"
|
||||
"nui"
|
||||
];
|
||||
trim_prompt = true;
|
||||
telescope = null;
|
||||
fzf.window = {
|
||||
width = 0.5;
|
||||
height = 0.4;
|
||||
};
|
||||
fzf_lua = {};
|
||||
fzf_lua = { };
|
||||
nui = {
|
||||
position = "50%";
|
||||
size = null;
|
||||
|
@ -76,18 +88,27 @@
|
|||
border = "rounded";
|
||||
relative = "editor";
|
||||
|
||||
buf_options = {};
|
||||
buf_options = { };
|
||||
win_options = {
|
||||
cursorline = true;
|
||||
cursorlineopt = "both";
|
||||
};
|
||||
|
||||
width = null;
|
||||
max_width = [140 0.8];
|
||||
min_width = [40 0.2];
|
||||
max_width = [
|
||||
140
|
||||
0.8
|
||||
];
|
||||
min_width = [
|
||||
40
|
||||
0.2
|
||||
];
|
||||
height = null;
|
||||
max_height = 0.9;
|
||||
min_height = [10 0.2];
|
||||
min_height = [
|
||||
10
|
||||
0.2
|
||||
];
|
||||
|
||||
mappings = {
|
||||
"<Esc>" = "Close";
|
||||
|
@ -97,7 +118,7 @@
|
|||
|
||||
override = "function(conf) return conf end";
|
||||
};
|
||||
format_item_override = {};
|
||||
format_item_override = { };
|
||||
get_config = null;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -16,7 +16,9 @@
|
|||
};
|
||||
html = {
|
||||
default_attributes = {
|
||||
option = {value = null;};
|
||||
option = {
|
||||
value = null;
|
||||
};
|
||||
textarea = {
|
||||
id = null;
|
||||
name = null;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{helpers, ...}: {
|
||||
{ helpers, ... }:
|
||||
{
|
||||
empty = {
|
||||
plugins.flash.enable = true;
|
||||
};
|
||||
|
@ -78,7 +79,12 @@
|
|||
config = null;
|
||||
prompt = {
|
||||
enabled = true;
|
||||
prefix = [["⚡" "FlashPromptIcon"]];
|
||||
prefix = [
|
||||
[
|
||||
"⚡"
|
||||
"FlashPromptIcon"
|
||||
]
|
||||
];
|
||||
winConfig = {
|
||||
relative = "editor";
|
||||
width = 1;
|
||||
|
@ -95,7 +101,9 @@
|
|||
modes = {
|
||||
search = {
|
||||
enabled = true;
|
||||
highlight = {backdrop = false;};
|
||||
highlight = {
|
||||
backdrop = false;
|
||||
};
|
||||
jump = {
|
||||
history = true;
|
||||
register = true;
|
||||
|
@ -124,8 +132,17 @@
|
|||
autohide = false;
|
||||
jumpLabels = false;
|
||||
multiLine = true;
|
||||
label = {exclude = "hjkliardc";};
|
||||
keys = helpers.listToUnkeyedAttrs ["f" "F" "t" "T" ";" ","];
|
||||
label = {
|
||||
exclude = "hjkliardc";
|
||||
};
|
||||
keys = helpers.listToUnkeyedAttrs [
|
||||
"f"
|
||||
"F"
|
||||
"t"
|
||||
"T"
|
||||
";"
|
||||
","
|
||||
];
|
||||
charActions = ''
|
||||
function(motion)
|
||||
return {
|
||||
|
@ -140,14 +157,24 @@
|
|||
}
|
||||
end
|
||||
'';
|
||||
search = {wrap = false;};
|
||||
highlight = {backdrop = true;};
|
||||
jump = {register = false;};
|
||||
search = {
|
||||
wrap = false;
|
||||
};
|
||||
highlight = {
|
||||
backdrop = true;
|
||||
};
|
||||
jump = {
|
||||
register = false;
|
||||
};
|
||||
};
|
||||
treesitter = {
|
||||
labels = "abcdefghijklmnopqrstuvwxyz";
|
||||
jump = {pos = "range";};
|
||||
search = {incremental = false;};
|
||||
jump = {
|
||||
pos = "range";
|
||||
};
|
||||
search = {
|
||||
incremental = false;
|
||||
};
|
||||
label = {
|
||||
before = true;
|
||||
after = true;
|
||||
|
@ -159,13 +186,17 @@
|
|||
};
|
||||
};
|
||||
treesitterSearch = {
|
||||
jump = {pos = "range";};
|
||||
jump = {
|
||||
pos = "range";
|
||||
};
|
||||
search = {
|
||||
multiWindow = true;
|
||||
wrap = true;
|
||||
incremental = false;
|
||||
};
|
||||
remoteOp = {restore = true;};
|
||||
remoteOp = {
|
||||
restore = true;
|
||||
};
|
||||
label = {
|
||||
before = true;
|
||||
after = true;
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
settings = {
|
||||
cwd = "~/Github";
|
||||
winopts = {
|
||||
height = 0.10;
|
||||
width = 0.50;
|
||||
height = 0.1;
|
||||
width = 0.5;
|
||||
};
|
||||
};
|
||||
options.silent = true;
|
||||
|
|
|
@ -17,49 +17,130 @@
|
|||
restrictionMode = "block";
|
||||
|
||||
resettingKeys = {
|
||||
"1" = ["n" "x"];
|
||||
"2" = ["n" "x"];
|
||||
"3" = ["n" "x"];
|
||||
"4" = ["n" "x"];
|
||||
"5" = ["n" "x"];
|
||||
"6" = ["n" "x"];
|
||||
"7" = ["n" "x"];
|
||||
"8" = ["n" "x"];
|
||||
"9" = ["n" "x"];
|
||||
"c" = ["n"];
|
||||
"C" = ["n"];
|
||||
"d" = ["n"];
|
||||
"x" = ["n"];
|
||||
"X" = ["n"];
|
||||
"y" = ["n"];
|
||||
"Y" = ["n"];
|
||||
"p" = ["n"];
|
||||
"P" = ["n"];
|
||||
"1" = [
|
||||
"n"
|
||||
"x"
|
||||
];
|
||||
"2" = [
|
||||
"n"
|
||||
"x"
|
||||
];
|
||||
"3" = [
|
||||
"n"
|
||||
"x"
|
||||
];
|
||||
"4" = [
|
||||
"n"
|
||||
"x"
|
||||
];
|
||||
"5" = [
|
||||
"n"
|
||||
"x"
|
||||
];
|
||||
"6" = [
|
||||
"n"
|
||||
"x"
|
||||
];
|
||||
"7" = [
|
||||
"n"
|
||||
"x"
|
||||
];
|
||||
"8" = [
|
||||
"n"
|
||||
"x"
|
||||
];
|
||||
"9" = [
|
||||
"n"
|
||||
"x"
|
||||
];
|
||||
"c" = [ "n" ];
|
||||
"C" = [ "n" ];
|
||||
"d" = [ "n" ];
|
||||
"x" = [ "n" ];
|
||||
"X" = [ "n" ];
|
||||
"y" = [ "n" ];
|
||||
"Y" = [ "n" ];
|
||||
"p" = [ "n" ];
|
||||
"P" = [ "n" ];
|
||||
};
|
||||
|
||||
restrictedKeys = {
|
||||
"h" = ["n" "x"];
|
||||
"j" = ["n" "x"];
|
||||
"k" = ["n" "x"];
|
||||
"l" = ["n" "x"];
|
||||
"-" = ["n" "x"];
|
||||
"+" = ["n" "x"];
|
||||
"gj" = ["n" "x"];
|
||||
"gk" = ["n" "x"];
|
||||
"<CR>" = ["n" "x"];
|
||||
"<C-M>" = ["n" "x"];
|
||||
"<C-N>" = ["n" "x"];
|
||||
"<C-P>" = ["n" "x"];
|
||||
"h" = [
|
||||
"n"
|
||||
"x"
|
||||
];
|
||||
"j" = [
|
||||
"n"
|
||||
"x"
|
||||
];
|
||||
"k" = [
|
||||
"n"
|
||||
"x"
|
||||
];
|
||||
"l" = [
|
||||
"n"
|
||||
"x"
|
||||
];
|
||||
"-" = [
|
||||
"n"
|
||||
"x"
|
||||
];
|
||||
"+" = [
|
||||
"n"
|
||||
"x"
|
||||
];
|
||||
"gj" = [
|
||||
"n"
|
||||
"x"
|
||||
];
|
||||
"gk" = [
|
||||
"n"
|
||||
"x"
|
||||
];
|
||||
"<CR>" = [
|
||||
"n"
|
||||
"x"
|
||||
];
|
||||
"<C-M>" = [
|
||||
"n"
|
||||
"x"
|
||||
];
|
||||
"<C-N>" = [
|
||||
"n"
|
||||
"x"
|
||||
];
|
||||
"<C-P>" = [
|
||||
"n"
|
||||
"x"
|
||||
];
|
||||
};
|
||||
|
||||
disabledKeys = {
|
||||
"<Up>" = ["" "i"];
|
||||
"<Down>" = ["" "i"];
|
||||
"<Left>" = ["" "i"];
|
||||
"<Right>" = ["" "i"];
|
||||
"<Up>" = [
|
||||
""
|
||||
"i"
|
||||
];
|
||||
"<Down>" = [
|
||||
""
|
||||
"i"
|
||||
];
|
||||
"<Left>" = [
|
||||
""
|
||||
"i"
|
||||
];
|
||||
"<Right>" = [
|
||||
""
|
||||
"i"
|
||||
];
|
||||
};
|
||||
|
||||
disabledFiletypes = ["qf" "netrw" "NvimTree" "lazy" "mason"];
|
||||
disabledFiletypes = [
|
||||
"qf"
|
||||
"netrw"
|
||||
"NvimTree"
|
||||
"lazy"
|
||||
"mason"
|
||||
];
|
||||
|
||||
hints = {
|
||||
"[kj]%^" = {
|
||||
|
|
|
@ -48,19 +48,26 @@
|
|||
saveOnChange = true;
|
||||
enterOnSendcmd = false;
|
||||
tmuxAutocloseWindows = false;
|
||||
excludedFiletypes = ["harpoon"];
|
||||
excludedFiletypes = [ "harpoon" ];
|
||||
markBranch = false;
|
||||
projects = {
|
||||
"$HOME/personal/vim-with-me/server" = {
|
||||
termCommands = [
|
||||
"./env && npx ts-node src/index.ts"
|
||||
];
|
||||
termCommands = [ "./env && npx ts-node src/index.ts" ];
|
||||
};
|
||||
};
|
||||
menu = {
|
||||
width = 60;
|
||||
height = 10;
|
||||
borderChars = ["─" "│" "─" "│" "╭" "╮" "╯" "╰"];
|
||||
borderChars = [
|
||||
"─"
|
||||
"│"
|
||||
"─"
|
||||
"│"
|
||||
"╭"
|
||||
"╮"
|
||||
"╯"
|
||||
"╰"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -20,7 +20,10 @@
|
|||
direction = "require'hop.hint'.HintDirection.BEFORE_CURSOR";
|
||||
hint_position = "require'hop.hint'.HintPosition.BEGIN";
|
||||
hint_type = "require'hop.hint'.HintType.OVERLAY";
|
||||
match_mappings = ["zh" "zh_sc"];
|
||||
match_mappings = [
|
||||
"zh"
|
||||
"zh_sc"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -104,8 +107,8 @@
|
|||
yank_register = "";
|
||||
extensions = null;
|
||||
multi_windows = false;
|
||||
excluded_filetypes = [];
|
||||
match_mappings = [];
|
||||
excluded_filetypes = [ ];
|
||||
match_mappings = [ ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -86,7 +86,10 @@
|
|||
end
|
||||
'';
|
||||
};
|
||||
mode = ["n" "x"];
|
||||
mode = [
|
||||
"n"
|
||||
"x"
|
||||
];
|
||||
body = "<leader>g";
|
||||
heads = [
|
||||
[
|
||||
|
@ -104,7 +107,7 @@
|
|||
end
|
||||
'';
|
||||
}
|
||||
{expr = true;}
|
||||
{ expr = true; }
|
||||
]
|
||||
[
|
||||
"K"
|
||||
|
@ -121,14 +124,34 @@
|
|||
end
|
||||
'';
|
||||
}
|
||||
{expr = true;}
|
||||
{ expr = true; }
|
||||
]
|
||||
[
|
||||
"s"
|
||||
":Gitsigns stage_hunk<CR>"
|
||||
{ silent = true; }
|
||||
]
|
||||
[
|
||||
"u"
|
||||
{ __raw = "require('gitsigns').undo_stage_hunk"; }
|
||||
]
|
||||
[
|
||||
"S"
|
||||
{ __raw = "require('gitsigns').stage_buffer"; }
|
||||
]
|
||||
[
|
||||
"p"
|
||||
{ __raw = "require('gitsigns').preview_hunk"; }
|
||||
]
|
||||
[
|
||||
"d"
|
||||
{ __raw = "require('gitsigns').toggle_deleted"; }
|
||||
{ nowait = true; }
|
||||
]
|
||||
[
|
||||
"b"
|
||||
{ __raw = "require('gitsigns').blame_line"; }
|
||||
]
|
||||
["s" ":Gitsigns stage_hunk<CR>" {silent = true;}]
|
||||
["u" {__raw = "require('gitsigns').undo_stage_hunk";}]
|
||||
["S" {__raw = "require('gitsigns').stage_buffer";}]
|
||||
["p" {__raw = "require('gitsigns').preview_hunk";}]
|
||||
["d" {__raw = "require('gitsigns').toggle_deleted";} {nowait = true;}]
|
||||
["b" {__raw = "require('gitsigns').blame_line";}]
|
||||
[
|
||||
"B"
|
||||
{
|
||||
|
@ -139,8 +162,16 @@
|
|||
'';
|
||||
}
|
||||
]
|
||||
["/" {__raw = "require('gitsigns').show";} {exit = true;}]
|
||||
["<Enter>" "<cmd>Neogit<CR>" {exit = true;}]
|
||||
[
|
||||
"/"
|
||||
{ __raw = "require('gitsigns').show"; }
|
||||
{ exit = true; }
|
||||
]
|
||||
[
|
||||
"<Enter>"
|
||||
"<cmd>Neogit<CR>"
|
||||
{ exit = true; }
|
||||
]
|
||||
[
|
||||
"q"
|
||||
null
|
||||
|
|
|
@ -8,18 +8,18 @@
|
|||
enable = true;
|
||||
|
||||
delay = 50;
|
||||
providers = ["lsp"];
|
||||
modesDenylist = ["n"];
|
||||
modesAllowlist = ["v"];
|
||||
providers = [ "lsp" ];
|
||||
modesDenylist = [ "n" ];
|
||||
modesAllowlist = [ "v" ];
|
||||
underCursor = false;
|
||||
largeFileCutoff = 10;
|
||||
minCountToHighlight = 2;
|
||||
filetypesDenylist = ["csharp"];
|
||||
filetypesAllowlist = ["python"];
|
||||
filetypesDenylist = [ "csharp" ];
|
||||
filetypesAllowlist = [ "python" ];
|
||||
filetypeOverrides = {
|
||||
x = {
|
||||
delay = 10;
|
||||
providers = ["treesitter"];
|
||||
providers = [ "treesitter" ];
|
||||
};
|
||||
};
|
||||
largeFileOverrides = {
|
||||
|
|
|
@ -9,12 +9,20 @@
|
|||
|
||||
keymaps = [
|
||||
{
|
||||
mode = ["n" "x" "o"];
|
||||
mode = [
|
||||
"n"
|
||||
"x"
|
||||
"o"
|
||||
];
|
||||
key = "n";
|
||||
action = "stable_next";
|
||||
}
|
||||
{
|
||||
mode = ["n" "x" "o"];
|
||||
mode = [
|
||||
"n"
|
||||
"x"
|
||||
"o"
|
||||
];
|
||||
key = "N";
|
||||
action = "stable_previous";
|
||||
}
|
||||
|
|
|
@ -27,7 +27,10 @@
|
|||
"TelescopeResults"
|
||||
"yaml"
|
||||
];
|
||||
buftypes = ["terminal" "quickfix"];
|
||||
buftypes = [
|
||||
"terminal"
|
||||
"quickfix"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -64,14 +67,17 @@
|
|||
highlight = null;
|
||||
priority = 1024;
|
||||
include = {
|
||||
node_type = {};
|
||||
node_type = { };
|
||||
};
|
||||
exclude = {
|
||||
language = [];
|
||||
language = [ ];
|
||||
node_type = {
|
||||
"*" = ["source_file" "program"];
|
||||
lua = ["chunk"];
|
||||
python = ["module"];
|
||||
"*" = [
|
||||
"source_file"
|
||||
"program"
|
||||
];
|
||||
lua = [ "chunk" ];
|
||||
python = [ "module" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -10,7 +10,11 @@
|
|||
settings = {
|
||||
max_lines = 2048;
|
||||
skip_multiline = false;
|
||||
standard_widths = [2 4 8];
|
||||
standard_widths = [
|
||||
2
|
||||
4
|
||||
8
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -7,8 +7,17 @@
|
|||
plugins.lastplace = {
|
||||
enable = true;
|
||||
|
||||
ignoreBuftype = ["quickfix" "nofix" "help"];
|
||||
ignoreFiletype = ["gitcommit" "gitrebase" "svn" "hgcommit"];
|
||||
ignoreBuftype = [
|
||||
"quickfix"
|
||||
"nofix"
|
||||
"help"
|
||||
];
|
||||
ignoreFiletype = [
|
||||
"gitcommit"
|
||||
"gitrebase"
|
||||
"svn"
|
||||
"hgcommit"
|
||||
];
|
||||
openFolds = true;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -12,10 +12,77 @@
|
|||
highlightUnlabeledPhaseOneTargets = false;
|
||||
maxHighlightedTraversalTargets = 10;
|
||||
caseSensitive = false;
|
||||
equivalenceClasses = [" \t\r\n"];
|
||||
substituteChars = {"\r" = "¬";};
|
||||
safeLabels = ["s" "f" "n" "u" "t" "/" "S" "F" "N" "L" "H" "M" "U" "G" "T" "?" "Z"];
|
||||
labels = ["s" "f" "n" "j" "k" "l" "h" "o" "d" "w" "e" "m" "b" "u" "y" "v" "r" "g" "t" "c" "x" "/" "z" "S" "F" "N" "J" "K" "L" "H" "O" "D" "W" "E" "M" "B" "U" "Y" "V" "R" "G" "T" "C" "X" "?" "Z"];
|
||||
equivalenceClasses = [ " \t\r\n" ];
|
||||
substituteChars = {
|
||||
"\r" = "¬";
|
||||
};
|
||||
safeLabels = [
|
||||
"s"
|
||||
"f"
|
||||
"n"
|
||||
"u"
|
||||
"t"
|
||||
"/"
|
||||
"S"
|
||||
"F"
|
||||
"N"
|
||||
"L"
|
||||
"H"
|
||||
"M"
|
||||
"U"
|
||||
"G"
|
||||
"T"
|
||||
"?"
|
||||
"Z"
|
||||
];
|
||||
labels = [
|
||||
"s"
|
||||
"f"
|
||||
"n"
|
||||
"j"
|
||||
"k"
|
||||
"l"
|
||||
"h"
|
||||
"o"
|
||||
"d"
|
||||
"w"
|
||||
"e"
|
||||
"m"
|
||||
"b"
|
||||
"u"
|
||||
"y"
|
||||
"v"
|
||||
"r"
|
||||
"g"
|
||||
"t"
|
||||
"c"
|
||||
"x"
|
||||
"/"
|
||||
"z"
|
||||
"S"
|
||||
"F"
|
||||
"N"
|
||||
"J"
|
||||
"K"
|
||||
"L"
|
||||
"H"
|
||||
"O"
|
||||
"D"
|
||||
"W"
|
||||
"E"
|
||||
"M"
|
||||
"B"
|
||||
"U"
|
||||
"Y"
|
||||
"V"
|
||||
"R"
|
||||
"G"
|
||||
"T"
|
||||
"C"
|
||||
"X"
|
||||
"?"
|
||||
"Z"
|
||||
];
|
||||
specialKeys = {
|
||||
nextTarget = "<enter>";
|
||||
prevTarget = "<tab>";
|
||||
|
|
|
@ -7,17 +7,17 @@
|
|||
plugins.marks = {
|
||||
enable = true;
|
||||
|
||||
builtinMarks = [];
|
||||
builtinMarks = [ ];
|
||||
defaultMappings = true;
|
||||
signs = true;
|
||||
cyclic = true;
|
||||
forceWriteShada = false;
|
||||
refreshInterval = 150;
|
||||
signPriority = 10;
|
||||
excludedFiletypes = [];
|
||||
excludedBuftypes = [];
|
||||
bookmarks = {};
|
||||
mappings = {};
|
||||
excludedFiletypes = [ ];
|
||||
excludedBuftypes = [ ];
|
||||
bookmarks = { };
|
||||
mappings = { };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
search_method = "cover_or_next";
|
||||
silent = false;
|
||||
};
|
||||
animate = {};
|
||||
animate = { };
|
||||
base16 = {
|
||||
palette = {
|
||||
base00 = "#123456";
|
||||
|
@ -45,35 +45,35 @@
|
|||
base0F = "#123456";
|
||||
};
|
||||
};
|
||||
basics = {};
|
||||
bracketed = {};
|
||||
bufremove = {};
|
||||
colors = {};
|
||||
comment = {};
|
||||
completion = {};
|
||||
cursorword = {};
|
||||
doc = {};
|
||||
fuzzy = {};
|
||||
hipatterns = {};
|
||||
basics = { };
|
||||
bracketed = { };
|
||||
bufremove = { };
|
||||
colors = { };
|
||||
comment = { };
|
||||
completion = { };
|
||||
cursorword = { };
|
||||
doc = { };
|
||||
fuzzy = { };
|
||||
hipatterns = { };
|
||||
hues = {
|
||||
background = "#351721";
|
||||
foreground = "#cdc4c6";
|
||||
};
|
||||
indentscope = {};
|
||||
jump = {};
|
||||
jump2d = {};
|
||||
map = {};
|
||||
misc = {};
|
||||
move = {};
|
||||
pairs = {};
|
||||
sessions = {};
|
||||
splitjoin = {};
|
||||
starter = {};
|
||||
statusline = {};
|
||||
surround = {};
|
||||
tabline = {};
|
||||
test = {};
|
||||
trailspace = {};
|
||||
indentscope = { };
|
||||
jump = { };
|
||||
jump2d = { };
|
||||
map = { };
|
||||
misc = { };
|
||||
move = { };
|
||||
pairs = { };
|
||||
sessions = { };
|
||||
splitjoin = { };
|
||||
starter = { };
|
||||
statusline = { };
|
||||
surround = { };
|
||||
tabline = { };
|
||||
test = { };
|
||||
trailspace = { };
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -55,7 +55,11 @@
|
|||
'';
|
||||
};
|
||||
toDo = {
|
||||
symbols = [" " "-" "X"];
|
||||
symbols = [
|
||||
" "
|
||||
"-"
|
||||
"X"
|
||||
];
|
||||
updateParents = true;
|
||||
notStarted = " ";
|
||||
inProgress = "-";
|
||||
|
@ -74,7 +78,11 @@
|
|||
};
|
||||
mappings = {
|
||||
MkdnEnter = {
|
||||
modes = ["n" "v" "i"];
|
||||
modes = [
|
||||
"n"
|
||||
"v"
|
||||
"i"
|
||||
];
|
||||
key = "<CR>";
|
||||
};
|
||||
MkdnTab = false;
|
||||
|
@ -106,7 +114,10 @@
|
|||
MkdnFollowLink = false;
|
||||
MkdnCreateLink = false;
|
||||
MkdnCreateLinkFromClipboard = {
|
||||
modes = ["n" "v"];
|
||||
modes = [
|
||||
"n"
|
||||
"v"
|
||||
];
|
||||
key = "<leader>p";
|
||||
};
|
||||
MkdnDestroyLink = {
|
||||
|
@ -134,7 +145,10 @@
|
|||
key = "-";
|
||||
};
|
||||
MkdnToggleToDo = {
|
||||
modes = ["n" "v"];
|
||||
modes = [
|
||||
"n"
|
||||
"v"
|
||||
];
|
||||
key = "<C-Space>";
|
||||
};
|
||||
MkdnNewListItem = false;
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
auto_open_html_in_browser = false;
|
||||
auto_open_output = true;
|
||||
cover_empty_lines = false;
|
||||
cover_lines_starting_with = [];
|
||||
cover_lines_starting_with = [ ];
|
||||
copy_output = false;
|
||||
enter_output_behavior = "open_then_enter";
|
||||
image_provider = "none";
|
||||
|
@ -21,7 +21,12 @@
|
|||
output_crop_border = true;
|
||||
output_show_more = false;
|
||||
output_virt_lines = false;
|
||||
output_win_border = ["" "━" "" ""];
|
||||
output_win_border = [
|
||||
""
|
||||
"━"
|
||||
""
|
||||
""
|
||||
];
|
||||
output_win_cover_gutter = true;
|
||||
output_win_hide_on_leave = true;
|
||||
output_win_max_height = 999999;
|
||||
|
@ -52,7 +57,12 @@
|
|||
output_crop_border = true;
|
||||
output_show_more = false;
|
||||
output_virt_lines = false;
|
||||
output_win_border = ["" "━" "" ""];
|
||||
output_win_border = [
|
||||
""
|
||||
"━"
|
||||
""
|
||||
""
|
||||
];
|
||||
output_win_cover_gutter = true;
|
||||
output_win_hide_on_leave = true;
|
||||
output_win_style = false;
|
||||
|
|
|
@ -25,7 +25,9 @@
|
|||
method = "require 'multicursors.normal_mode'.clear_others";
|
||||
|
||||
# you can pass :map-arguments here
|
||||
opts = {desc = "Clear others";};
|
||||
opts = {
|
||||
desc = "Clear others";
|
||||
};
|
||||
};
|
||||
"<C-/>" = {
|
||||
method = ''
|
||||
|
@ -39,7 +41,9 @@
|
|||
)
|
||||
end
|
||||
'';
|
||||
opts = {desc = "comment selections";};
|
||||
opts = {
|
||||
desc = "comment selections";
|
||||
};
|
||||
};
|
||||
};
|
||||
insertKeys = null;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
client_id = "1157438221865717891";
|
||||
log_level = null;
|
||||
debounce_timeout = 10;
|
||||
blacklist = [];
|
||||
blacklist = [ ];
|
||||
file_assets = null;
|
||||
show_time = true;
|
||||
global_timer = false;
|
||||
|
@ -53,7 +53,7 @@
|
|||
log_level = null;
|
||||
debounce_timeout = 10;
|
||||
enable_line_number = false;
|
||||
blacklist = [];
|
||||
blacklist = [ ];
|
||||
file_assets = null;
|
||||
show_time = true;
|
||||
global_timer = false;
|
||||
|
|
|
@ -54,11 +54,13 @@
|
|||
level = 5;
|
||||
};
|
||||
};
|
||||
floatPrecision = 0.01;
|
||||
floatPrecision = 1.0e-2;
|
||||
};
|
||||
|
||||
modules = {
|
||||
"core.defaults" = {__empty = null;};
|
||||
"core.defaults" = {
|
||||
__empty = null;
|
||||
};
|
||||
"core.dirman" = {
|
||||
config = {
|
||||
workspaces = {
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
{pkgs, ...}:
|
||||
{ pkgs, ... }:
|
||||
# Fails on darwin with:
|
||||
# E5113: Error while calling lua chunk: ...ckages/start/netman.nvim/lua/netman/tools/utils/init.lua:52: Unable to open netman utils cache
|
||||
pkgs.lib.optionalAttrs (!pkgs.stdenv.isDarwin)
|
||||
{
|
||||
pkgs.lib.optionalAttrs (!pkgs.stdenv.isDarwin) {
|
||||
empty = {
|
||||
plugins.netman.enable = true;
|
||||
};
|
||||
|
|
|
@ -8,7 +8,10 @@
|
|||
enable = true;
|
||||
|
||||
settings = {
|
||||
disable_filetype = ["TelescopePrompt" "spectre_panel"];
|
||||
disable_filetype = [
|
||||
"TelescopePrompt"
|
||||
"spectre_panel"
|
||||
];
|
||||
disable_in_macro = false;
|
||||
disable_in_visualblock = false;
|
||||
disable_in_replace_mode = true;
|
||||
|
@ -37,7 +40,13 @@
|
|||
map_c_w = false;
|
||||
fast_wrap = {
|
||||
map = "<M-e>";
|
||||
chars = ["{" "[" "(" "\"" "'"];
|
||||
chars = [
|
||||
"{"
|
||||
"["
|
||||
"("
|
||||
"\""
|
||||
"'"
|
||||
];
|
||||
pattern = ''[=[[%'%"%>%]%)%}%,%`]]=]'';
|
||||
end_key = "$";
|
||||
before_key = "h";
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
enable = true;
|
||||
openFoldHlTimeout = 400;
|
||||
providerSelector = null;
|
||||
closeFoldKinds = {};
|
||||
closeFoldKinds = { };
|
||||
foldVirtTextHandler = null;
|
||||
enableGetFoldVirtText = false;
|
||||
preview = {
|
||||
|
@ -65,7 +65,7 @@
|
|||
winhighlight = "Normal:Normal";
|
||||
maxheight = 20;
|
||||
};
|
||||
mappings = {};
|
||||
mappings = { };
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
# subdir = "templates";
|
||||
date_format = "%Y-%m-%d";
|
||||
time_format = "%H:%M";
|
||||
substitutions = {};
|
||||
substitutions = { };
|
||||
};
|
||||
new_notes_location = "current_dir";
|
||||
note_id_func = ''
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
enable = true;
|
||||
|
||||
settings = {
|
||||
columns = ["icon"];
|
||||
columns = [ "icon" ];
|
||||
view_options.show_hidden = false;
|
||||
win_options = {
|
||||
wrap = false;
|
||||
|
@ -42,7 +42,7 @@
|
|||
{
|
||||
__unkeyed = "type";
|
||||
highlight = "Foo";
|
||||
icons = {};
|
||||
icons = { };
|
||||
}
|
||||
|
||||
{
|
||||
|
@ -137,8 +137,14 @@
|
|||
'';
|
||||
natural_order = true;
|
||||
sort = [
|
||||
["type" "asc"]
|
||||
["name" "asc"]
|
||||
[
|
||||
"type"
|
||||
"asc"
|
||||
]
|
||||
[
|
||||
"name"
|
||||
"asc"
|
||||
]
|
||||
];
|
||||
};
|
||||
float = {
|
||||
|
@ -157,10 +163,16 @@
|
|||
};
|
||||
preview = {
|
||||
max_width = 0.9;
|
||||
min_width = [40 0.4];
|
||||
min_width = [
|
||||
40
|
||||
0.4
|
||||
];
|
||||
width = null;
|
||||
max_height = 0.9;
|
||||
min_height = [5 0.1];
|
||||
min_height = [
|
||||
5
|
||||
0.1
|
||||
];
|
||||
height = null;
|
||||
border = "rounded";
|
||||
win_options = {
|
||||
|
@ -170,10 +182,16 @@
|
|||
};
|
||||
progress = {
|
||||
max_width = 0.9;
|
||||
min_width = [40 0.4];
|
||||
min_width = [
|
||||
40
|
||||
0.4
|
||||
];
|
||||
width = null;
|
||||
max_height = 0.9;
|
||||
min_height = [5 0.1];
|
||||
min_height = [
|
||||
5
|
||||
0.1
|
||||
];
|
||||
height = null;
|
||||
border = "rounded";
|
||||
minimized_border = "none";
|
||||
|
|
|
@ -40,9 +40,12 @@
|
|||
serve = {
|
||||
onStart = false;
|
||||
command = "ollama";
|
||||
args = ["serve"];
|
||||
args = [ "serve" ];
|
||||
stopCommand = "pkill";
|
||||
stopArgs = ["-SIGTERM" "ollama"];
|
||||
stopArgs = [
|
||||
"-SIGTERM"
|
||||
"ollama"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -8,7 +8,12 @@
|
|||
enable = true;
|
||||
|
||||
dir.__raw = ''vim.fn.expand(vim.fn.stdpath("state") .. "/sessions/")'';
|
||||
options = ["buffers" "curdir" "tabpages" "winsize"];
|
||||
options = [
|
||||
"buffers"
|
||||
"curdir"
|
||||
"tabpages"
|
||||
"winsize"
|
||||
];
|
||||
preSave = null;
|
||||
saveEmpty = false;
|
||||
};
|
||||
|
|
|
@ -18,11 +18,11 @@
|
|||
debounceTimeout = 10;
|
||||
enableLineNumber = false;
|
||||
|
||||
blacklist = [];
|
||||
blacklist = [ ];
|
||||
fileAssets = null;
|
||||
showTime = true;
|
||||
|
||||
buttons = [];
|
||||
buttons = [ ];
|
||||
|
||||
# Rich presence text options.
|
||||
editingText = "Editing %s";
|
||||
|
|
|
@ -19,10 +19,21 @@
|
|||
enable = true;
|
||||
|
||||
manualMode = false;
|
||||
detectionMethods = ["lsp" "pattern"];
|
||||
patterns = [".git" "_darcs" ".hg" ".bzr" ".svn" "Makefile" "package.json"];
|
||||
ignoreLsp = [];
|
||||
excludeDirs = [];
|
||||
detectionMethods = [
|
||||
"lsp"
|
||||
"pattern"
|
||||
];
|
||||
patterns = [
|
||||
".git"
|
||||
"_darcs"
|
||||
".hg"
|
||||
".bzr"
|
||||
".svn"
|
||||
"Makefile"
|
||||
"package.json"
|
||||
];
|
||||
ignoreLsp = [ ];
|
||||
excludeDirs = [ ];
|
||||
showHidden = false;
|
||||
silentChdir = true;
|
||||
scopeChdir = "global";
|
||||
|
|
|
@ -13,14 +13,10 @@
|
|||
go = true;
|
||||
};
|
||||
printVarStatements = {
|
||||
cpp = [
|
||||
"printf(\"a custom statement %%s %s\", %s)"
|
||||
];
|
||||
cpp = [ "printf(\"a custom statement %%s %s\", %s)" ];
|
||||
};
|
||||
printfStatements = {
|
||||
cpp = [
|
||||
"std::cout << \"%s\" << std::endl;"
|
||||
];
|
||||
cpp = [ "std::cout << \"%s\" << std::endl;" ];
|
||||
};
|
||||
extractVarStatements = {
|
||||
go = "%s := %s // poggers";
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
env_edit_command = "tabedit";
|
||||
encode_url = true;
|
||||
skip_ssl_verification = false;
|
||||
custom_dynamic_variables = {};
|
||||
custom_dynamic_variables = { };
|
||||
logs = {
|
||||
level = "info";
|
||||
save = true;
|
||||
|
|
|
@ -8,14 +8,23 @@
|
|||
enable = true;
|
||||
|
||||
settings = {
|
||||
ignored_filetypes = ["nofile" "quickfix" "prompt"];
|
||||
ignored_buftypes = ["NvimTree"];
|
||||
ignored_filetypes = [
|
||||
"nofile"
|
||||
"quickfix"
|
||||
"prompt"
|
||||
];
|
||||
ignored_buftypes = [ "NvimTree" ];
|
||||
default_amount = 3;
|
||||
move_cursor_same_row = true;
|
||||
cursor_follows_swapped_bufs = true;
|
||||
resize_mode = {
|
||||
quit_key = "<ESC>";
|
||||
resize_keys = ["h" "j" "k" "l"];
|
||||
resize_keys = [
|
||||
"h"
|
||||
"j"
|
||||
"k"
|
||||
"l"
|
||||
];
|
||||
silent = true;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -6,17 +6,23 @@
|
|||
default = {
|
||||
plugins.sniprun = {
|
||||
enable = true;
|
||||
selectedInterpreters = [];
|
||||
replEnable = [];
|
||||
replDisable = [];
|
||||
interpreterOptions = {};
|
||||
display = ["Classic" "VirtualTextOk"];
|
||||
liveDisplay = ["VirtualTextOk"];
|
||||
selectedInterpreters = [ ];
|
||||
replEnable = [ ];
|
||||
replDisable = [ ];
|
||||
interpreterOptions = { };
|
||||
display = [
|
||||
"Classic"
|
||||
"VirtualTextOk"
|
||||
];
|
||||
liveDisplay = [ "VirtualTextOk" ];
|
||||
displayOptions = {
|
||||
terminalWidth = 45;
|
||||
notificationTimeout = 5;
|
||||
};
|
||||
showNoOutput = ["Classic" "TempFloatingWindow"];
|
||||
showNoOutput = [
|
||||
"Classic"
|
||||
"TempFloatingWindow"
|
||||
];
|
||||
snipruncolors = {
|
||||
SniprunVirtualTextOk = {
|
||||
bg = "#66eeff";
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
{pkgs, ...}: let
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
# Fails on darwin with: `module 'plenary.job' not found`
|
||||
enable = !pkgs.stdenv.isDarwin;
|
||||
in {
|
||||
in
|
||||
{
|
||||
empty = {
|
||||
plugins.spectre.enable = enable;
|
||||
};
|
||||
|
@ -70,7 +72,10 @@ in {
|
|||
default = {
|
||||
find = {
|
||||
cmd = "rg";
|
||||
options = ["word" "hidden"];
|
||||
options = [
|
||||
"word"
|
||||
"hidden"
|
||||
];
|
||||
};
|
||||
replace = {
|
||||
cmd = "sed";
|
||||
|
@ -258,7 +263,7 @@ in {
|
|||
};
|
||||
oxi = {
|
||||
cmd = "oxi";
|
||||
args = [];
|
||||
args = [ ];
|
||||
options = {
|
||||
ignore-case = {
|
||||
value = "i";
|
||||
|
@ -269,13 +274,13 @@ in {
|
|||
};
|
||||
sd = {
|
||||
cmd = "sd";
|
||||
options = {};
|
||||
options = { };
|
||||
};
|
||||
};
|
||||
default = {
|
||||
find = {
|
||||
cmd = "rg";
|
||||
options = ["ignore-case"];
|
||||
options = [ "ignore-case" ];
|
||||
};
|
||||
replace = {
|
||||
cmd = "sed";
|
||||
|
@ -285,7 +290,7 @@ in {
|
|||
is_open_target_win = true;
|
||||
is_insert_mode = false;
|
||||
is_block_ui_break = false;
|
||||
open_template = {};
|
||||
open_template = { };
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -12,35 +12,43 @@
|
|||
lists = [
|
||||
{
|
||||
type = "files";
|
||||
header = [" MRU"];
|
||||
header = [ " MRU" ];
|
||||
}
|
||||
{
|
||||
type = "dir";
|
||||
header = [{__raw = "' MRU' .. vim.loop.cwd()";}];
|
||||
header = [ { __raw = "' MRU' .. vim.loop.cwd()"; } ];
|
||||
}
|
||||
{
|
||||
type = "sessions";
|
||||
header = [" Sessions"];
|
||||
header = [ " Sessions" ];
|
||||
}
|
||||
{
|
||||
type = "bookmarks";
|
||||
header = [" Bookmarks"];
|
||||
header = [ " Bookmarks" ];
|
||||
}
|
||||
{
|
||||
type = "commands";
|
||||
header = [" Commands"];
|
||||
header = [ " Commands" ];
|
||||
}
|
||||
];
|
||||
commands = [
|
||||
":help reference"
|
||||
["Vim Reference" "h ref"]
|
||||
{h = "h ref";}
|
||||
{m = ["My magical function" "call Magic()"];}
|
||||
[
|
||||
"Vim Reference"
|
||||
"h ref"
|
||||
]
|
||||
{ h = "h ref"; }
|
||||
{
|
||||
m = [
|
||||
"My magical function"
|
||||
"call Magic()"
|
||||
];
|
||||
}
|
||||
];
|
||||
files_number = 10;
|
||||
update_oldfiles = false;
|
||||
session_autoload = false;
|
||||
session_before_save = ["silent! tabdo NERDTreeClose"];
|
||||
session_before_save = [ "silent! tabdo NERDTreeClose" ];
|
||||
session_persistence = false;
|
||||
session_delete_buffers = true;
|
||||
change_to_dir = true;
|
||||
|
@ -53,21 +61,26 @@
|
|||
];
|
||||
fortune_use_unicode = false;
|
||||
padding_left = 3;
|
||||
skiplist_server = ["GVIM"];
|
||||
skiplist_server = [ "GVIM" ];
|
||||
enable_special = true;
|
||||
enable_unsafe = false;
|
||||
session_remove_lines = ["setlocal" "winheight"];
|
||||
session_remove_lines = [
|
||||
"setlocal"
|
||||
"winheight"
|
||||
];
|
||||
session_savevars = [
|
||||
"g:startify_session_savevars"
|
||||
"g:startify_session_savecmds"
|
||||
"g:random_plugin_use_feature"
|
||||
];
|
||||
session_savecmds = [
|
||||
"silent !pdfreader ~/latexproject/main.pdf &"
|
||||
];
|
||||
session_savecmds = [ "silent !pdfreader ~/latexproject/main.pdf &" ];
|
||||
session_number = 999;
|
||||
session_sort = false;
|
||||
custom_indices = ["f" "g" "h"];
|
||||
custom_indices = [
|
||||
"f"
|
||||
"g"
|
||||
"h"
|
||||
];
|
||||
custom_header = [
|
||||
""
|
||||
" ███╗ ██╗██╗██╗ ██╗██╗ ██╗██╗███╗ ███╗"
|
||||
|
@ -78,8 +91,12 @@
|
|||
" ╚═╝ ╚═══╝╚═╝╚═╝ ╚═╝ ╚═══╝ ╚═╝╚═╝ ╚═╝"
|
||||
];
|
||||
custom_header_quotes = [
|
||||
["quote #1"]
|
||||
["quote #2" "using" "three lines"]
|
||||
[ "quote #1" ]
|
||||
[
|
||||
"quote #2"
|
||||
"using"
|
||||
"three lines"
|
||||
]
|
||||
];
|
||||
custom_footer = null;
|
||||
disable_at_vimenter = false;
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
after = null;
|
||||
emptyLinesBetweenMappings = true;
|
||||
disableStatuslines = true;
|
||||
paddings = [];
|
||||
paddings = [ ];
|
||||
};
|
||||
mappings = {
|
||||
executeCommand = "<CR>";
|
||||
|
@ -71,12 +71,36 @@
|
|||
title = "Basic Commands";
|
||||
margin = 5;
|
||||
content = [
|
||||
[" Find File" "Telescope find_files" "<leader>ff"]
|
||||
[" Find Word" "Telescope live_grep" "<leader>lg"]
|
||||
[" Recent Files" "Telescope oldfiles" "<leader>of"]
|
||||
[" File Browser" "Telescope file_browser" "<leader>fb"]
|
||||
[" Colorschemes" "Telescope colorscheme" "<leader>cs"]
|
||||
[" New File" "lua require'startup'.new_file()" "<leader>nf"]
|
||||
[
|
||||
" Find File"
|
||||
"Telescope find_files"
|
||||
"<leader>ff"
|
||||
]
|
||||
[
|
||||
" Find Word"
|
||||
"Telescope live_grep"
|
||||
"<leader>lg"
|
||||
]
|
||||
[
|
||||
" Recent Files"
|
||||
"Telescope oldfiles"
|
||||
"<leader>of"
|
||||
]
|
||||
[
|
||||
" File Browser"
|
||||
"Telescope file_browser"
|
||||
"<leader>fb"
|
||||
]
|
||||
[
|
||||
" Colorschemes"
|
||||
"Telescope colorscheme"
|
||||
"<leader>cs"
|
||||
]
|
||||
[
|
||||
" New File"
|
||||
"lua require'startup'.new_file()"
|
||||
"<leader>nf"
|
||||
]
|
||||
];
|
||||
highlight = "String";
|
||||
defaultColor = "";
|
||||
|
@ -89,7 +113,7 @@
|
|||
foldSection = true;
|
||||
title = "Oldfiles of Directory";
|
||||
margin = 5;
|
||||
content = [];
|
||||
content = [ ];
|
||||
highlight = "String";
|
||||
defaultColor = "#FFFFFF";
|
||||
oldfilesAmount = 5;
|
||||
|
@ -101,7 +125,7 @@
|
|||
foldSection = true;
|
||||
title = "Oldfiles";
|
||||
margin = 5;
|
||||
content = ["startup.nvim"];
|
||||
content = [ "startup.nvim" ];
|
||||
highlight = "TSString";
|
||||
defaultColor = "#FFFFFF";
|
||||
oldfilesAmount = 5;
|
||||
|
@ -147,7 +171,15 @@
|
|||
cursorColumn = 0.5;
|
||||
emptyLinesBetweenMappings = true;
|
||||
disableStatuslines = true;
|
||||
paddings = [2 2 2 2 2 2 2];
|
||||
paddings = [
|
||||
2
|
||||
2
|
||||
2
|
||||
2
|
||||
2
|
||||
2
|
||||
2
|
||||
];
|
||||
};
|
||||
colors = {
|
||||
background = "#1f2227";
|
||||
|
|
|
@ -14,7 +14,12 @@
|
|||
FIX = {
|
||||
icon = " ";
|
||||
color = "error";
|
||||
alt = ["FIXME" "BUG" "FIXIT" "ISSUE"];
|
||||
alt = [
|
||||
"FIXME"
|
||||
"BUG"
|
||||
"FIXIT"
|
||||
"ISSUE"
|
||||
];
|
||||
signs = false;
|
||||
};
|
||||
TODO = {
|
||||
|
@ -28,21 +33,32 @@
|
|||
WARN = {
|
||||
icon = " ";
|
||||
color = "warning";
|
||||
alt = ["WARNING" "XXX"];
|
||||
alt = [
|
||||
"WARNING"
|
||||
"XXX"
|
||||
];
|
||||
};
|
||||
PERF = {
|
||||
icon = " ";
|
||||
alt = ["OPTIM" "PERFORMANCE" "OPTIMIZE"];
|
||||
alt = [
|
||||
"OPTIM"
|
||||
"PERFORMANCE"
|
||||
"OPTIMIZE"
|
||||
];
|
||||
};
|
||||
NOTE = {
|
||||
icon = " ";
|
||||
color = "hint";
|
||||
alt = ["INFO"];
|
||||
alt = [ "INFO" ];
|
||||
};
|
||||
TEST = {
|
||||
icon = "⏲ ";
|
||||
color = "test";
|
||||
alt = ["TESTING" "PASSED" "FAILED"];
|
||||
alt = [
|
||||
"TESTING"
|
||||
"PASSED"
|
||||
"FAILED"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -63,16 +79,36 @@
|
|||
pattern = ''.*<(KEYWORDS)\s*:'';
|
||||
commentsOnly = true;
|
||||
maxLineLen = 400;
|
||||
exclude = [];
|
||||
exclude = [ ];
|
||||
};
|
||||
|
||||
colors = {
|
||||
error = ["DiagnosticError" "ErrorMsg" "#DC2626"];
|
||||
warning = ["DiagnosticWarn" "WarningMsg" "#FBBF24"];
|
||||
info = ["DiagnosticInfo" "#2563EB"];
|
||||
hint = ["DiagnosticHint" "#10B981"];
|
||||
default = ["Identifier" "#7C3AED"];
|
||||
test = ["Identifier" "#FF00FF"];
|
||||
error = [
|
||||
"DiagnosticError"
|
||||
"ErrorMsg"
|
||||
"#DC2626"
|
||||
];
|
||||
warning = [
|
||||
"DiagnosticWarn"
|
||||
"WarningMsg"
|
||||
"#FBBF24"
|
||||
];
|
||||
info = [
|
||||
"DiagnosticInfo"
|
||||
"#2563EB"
|
||||
];
|
||||
hint = [
|
||||
"DiagnosticHint"
|
||||
"#10B981"
|
||||
];
|
||||
default = [
|
||||
"Identifier"
|
||||
"#7C3AED"
|
||||
];
|
||||
test = [
|
||||
"Identifier"
|
||||
"#FF00FF"
|
||||
];
|
||||
};
|
||||
|
||||
search = {
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
on_stderr = "function() end";
|
||||
on_exit = "function() end";
|
||||
hide_numbers = false;
|
||||
shade_filetypes = [""];
|
||||
shade_filetypes = [ "" ];
|
||||
autochdir = true;
|
||||
highlights = {
|
||||
Normal.guibg = "#000000";
|
||||
|
@ -91,7 +91,7 @@
|
|||
on_stderr = null;
|
||||
on_exit = null;
|
||||
hide_numbers = true;
|
||||
shade_filetypes = [];
|
||||
shade_filetypes = [ ];
|
||||
autochdir = false;
|
||||
highlights = {
|
||||
NormalFloat.link = "Normal";
|
||||
|
|
|
@ -10,7 +10,16 @@
|
|||
# Testing for registrations
|
||||
registrations."f" = {
|
||||
prefix = "<leader>";
|
||||
mode = ["n" "v" "i" "t" "c" "x" "s" "o"];
|
||||
mode = [
|
||||
"n"
|
||||
"v"
|
||||
"i"
|
||||
"t"
|
||||
"c"
|
||||
"x"
|
||||
"s"
|
||||
"o"
|
||||
];
|
||||
name = "Group Test";
|
||||
f = "Label Test";
|
||||
"1" = [
|
||||
|
@ -58,8 +67,10 @@
|
|||
};
|
||||
};
|
||||
|
||||
operators = {gc = "Comments";};
|
||||
keyLabels = {};
|
||||
operators = {
|
||||
gc = "Comments";
|
||||
};
|
||||
keyLabels = { };
|
||||
|
||||
motions = {
|
||||
count = true;
|
||||
|
@ -106,18 +117,41 @@
|
|||
align = "left";
|
||||
};
|
||||
ignoreMissing = false;
|
||||
hidden = ["<silent>" "<cmd>" "<Cmd>" "<CR>" "^:" "^ " "^call " "^lua "];
|
||||
hidden = [
|
||||
"<silent>"
|
||||
"<cmd>"
|
||||
"<Cmd>"
|
||||
"<CR>"
|
||||
"^:"
|
||||
"^ "
|
||||
"^call "
|
||||
"^lua "
|
||||
];
|
||||
showHelp = true;
|
||||
showKeys = true;
|
||||
triggers = "auto";
|
||||
triggersNoWait = ["`" "'" "g`" "g'" ''"'' "<c-r>" "z="];
|
||||
triggersNoWait = [
|
||||
"`"
|
||||
"'"
|
||||
"g`"
|
||||
"g'"
|
||||
''"''
|
||||
"<c-r>"
|
||||
"z="
|
||||
];
|
||||
triggersBlackList = {
|
||||
i = ["j" "k"];
|
||||
v = ["j" "k"];
|
||||
i = [
|
||||
"j"
|
||||
"k"
|
||||
];
|
||||
v = [
|
||||
"j"
|
||||
"k"
|
||||
];
|
||||
};
|
||||
disable = {
|
||||
buftypes = [];
|
||||
filetypes = [];
|
||||
buftypes = [ ];
|
||||
filetypes = [ ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -8,7 +8,10 @@
|
|||
enable = true;
|
||||
|
||||
enableCmdlineEnter = true;
|
||||
modes = ["/" "?"];
|
||||
modes = [
|
||||
"/"
|
||||
"?"
|
||||
];
|
||||
wildcharm = "&wildchar";
|
||||
nextKey = "<Tab>";
|
||||
prevKey = "<S-Tab>";
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
storagePath.__raw = "vim.fn.stdpath('data') .. '/databases/yanky.db'";
|
||||
syncWithNumberedRegisters = true;
|
||||
cancelEvent = "update";
|
||||
ignoreRegisters = ["_"];
|
||||
ignoreRegisters = [ "_" ];
|
||||
updateRegisterOnCycle = false;
|
||||
};
|
||||
picker = {
|
||||
|
|
|
@ -9,13 +9,16 @@
|
|||
picker = "select";
|
||||
lsp = {
|
||||
config = {
|
||||
cmd = ["zk" "lsp"];
|
||||
cmd = [
|
||||
"zk"
|
||||
"lsp"
|
||||
];
|
||||
name = "zk";
|
||||
};
|
||||
|
||||
autoAttach = {
|
||||
enabled = true;
|
||||
filetypes = ["markdown"];
|
||||
filetypes = [ "markdown" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue