wip: customize nvf, sway config modifications
This commit is contained in:
@@ -18,17 +18,23 @@
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
|
||||
# useSystemClipboard = true;
|
||||
|
||||
# setting some nvim settings that are not in nvf
|
||||
luaConfigPost = ''
|
||||
vim.opt.tabstop = 2
|
||||
vim.opt.shiftwidth = 2
|
||||
vim.opt.tabstop = 4
|
||||
vim.opt.shiftwidth = 4
|
||||
vim.opt.expandtab = true
|
||||
vim.opt.autoindent = true
|
||||
vim.opt.smartindent = true
|
||||
vim.opt.smarttab = true
|
||||
vim.opt.scrolloff = 20;
|
||||
vim.opt.scrolloff = 12
|
||||
vim.opt.sidescrolloff = 8
|
||||
vim.opt.wrap = false
|
||||
vim.opt.linebreak = false
|
||||
vim.opt.number = true
|
||||
vim.opt.relativgnumber = true
|
||||
vim.opt.cursorline = true
|
||||
vim.opt.signcolumn = "yes"
|
||||
vim.opt.tabline = 2
|
||||
'';
|
||||
|
||||
# clipboard configuration
|
||||
@@ -132,7 +138,7 @@
|
||||
enable = true;
|
||||
lsp = {
|
||||
enable = true;
|
||||
server = "csharp_ls";
|
||||
server = "omnisharp";
|
||||
};
|
||||
treesitter.enable = true;
|
||||
};
|
||||
@@ -191,16 +197,21 @@
|
||||
|
||||
# tabline configuration
|
||||
tabline = {
|
||||
nvimBufferline.enable = true;
|
||||
nvimBufferline.mappings = {
|
||||
closeCurrent = "<leader>x";
|
||||
cycleNext = "<tab>";
|
||||
cyclePrevious = "<S-tab>";
|
||||
moveNext = null;
|
||||
movePrevious = null;
|
||||
sortByDirectory = null;
|
||||
sortByExtension = null;
|
||||
sortById = null;
|
||||
nvimBufferline = {
|
||||
enable = true;
|
||||
options = {
|
||||
numbers = "none";
|
||||
};
|
||||
mappings = {
|
||||
closeCurrent = "<leader>x";
|
||||
cycleNext = "<tab>";
|
||||
cyclePrevious = "<S-tab>";
|
||||
moveNext = null;
|
||||
movePrevious = null;
|
||||
sortByDirectory = null;
|
||||
sortByExtension = null;
|
||||
sortById = null;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user