1
0

5 Commits

Author SHA1 Message Date
Luminiferous 1b7facd068 Updated Padding for mmc.exe 2025-05-30 01:56:55 +02:00
Luminiferous c4c2885267 Added applications.json 2025-05-30 01:31:47 +02:00
Luminiferous 5bdd7499ce Updated app_specific_configuration_path 2025-05-30 01:24:31 +02:00
Luminiferous 7833cc3a00 Added KeePass.exe to ignore list 2025-05-27 14:24:35 +02:00
Luminiferous 997244e054 Added komorebi dotfiles 2025-05-24 16:13:47 +02:00
10 changed files with 3354 additions and 123 deletions
-7
View File
@@ -1,7 +0,0 @@
[submodule "pack/plugins/start/nvim-treesitter"]
path = pack/plugins/start/nvim-treesitter
url = https://github.com/nvim-treesitter/nvim-treesitter
[submodule "pack/plugins/start/mini.nvim"]
path = pack/plugins/start/mini.nvim
url = https://github.com/echasnovski/mini.nvim.git
branch = stable
+3234
View File
File diff suppressed because it is too large Load Diff
-106
View File
@@ -1,106 +0,0 @@
-- Set Language {{{
vim.api.nvim_exec2('language POSIX', {})
-- }}}
-- Source plugins if they exist {{{
pcall(require, 'mini-pick')
pcall(require, 'treesitter')
-- }}}
-- General Editor Settings {{{
vim.opt.termguicolors = true
vim.opt.number = true
vim.opt.relativenumber = true
vim.opt.cursorline = true
vim.opt.tabstop = 4
vim.opt.shiftwidth = 4
vim.opt.expandtab = false
vim.opt.list = true
vim.opt.listchars:append 'space:·'
vim.opt.wildmenu = true
vim.opt.wrap = false
vim.opt.ignorecase = true
vim.opt.smartcase = true
vim.opt.inccommand = 'split'
vim.opt.foldmethod = 'marker'
-- }}}
-- Setup Clipboard for OSC 52
vim.g.clipboard = 'osc52'
-- Setup (Disable) Netrw {{{
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
--[[
vim.g.netrw_banner = 0
vim.g.netrw_sort_sequence = '[\\/]$'
vim.g.netrw_sort_options = 'i'
vim.g.netrw_silent = 1
]]
-- }}}
-- WriteSudo and ReadSudo hacks {{{
vim.api.nvim_create_user_command('WriteSudo', 'w !sudo tee %', {})
vim.api.nvim_create_user_command('ReadSudo', function(opts)
vim.cmd('r !sudo cat ' .. opts['args'])
end, { nargs = 1 })
-- }}}
-- Statusbar {{{
vim.opt.statusline = ' #%n %f %h%w%m%r %= %{&fileformat} %y %l:%c %p%% '
-- }}}
-- Toggle Terminal Script {{{
local term_buf = nil
local term_winid = nil
local function openTerminal()
if vim.fn.bufexists(term_buf) ~= 1 then
vim.api.nvim_command('autocmd TermOpen * setlocal nonumber norelativenumber signcolumn=no')
vim.api.nvim_command('split | wincmd J | resize 10 | term')
term_winid = vim.fn.win_getid()
term_buf = vim.fn.bufnr('%')
elseif vim.fn.win_gotoid(term_winid) ~= 1 then
vim.api.nvim_command('sbuffer ' .. term_buf .. '| wincmd J | resize 10')
term_winid = vim.fn.win_getid()
end
vim.api.nvim_command('startinsert')
end
local function hideTerminal()
if vim.fn.win_gotoid(term_winid) == 1 then
vim.api.nvim_command('hide')
end
end
function ToggleTerminal()
if vim.fn.win_gotoid(term_winid) == 1 then
hideTerminal()
else
openTerminal()
end
end
-- }}}
-- Automatic insertmode in Terminal Mode {{{
vim.api.nvim_create_autocmd({ 'TermOpen' }, {
pattern = { 'term://*' },
command = 'startinsert',
})
-- }}}
-- Keymaps {{{
vim.keymap.set('n', '<F6>', ':b#<CR>', { noremap = true, silent = true })
vim.keymap.set('n', '<F7>', ':bprevious<CR>', { noremap = true, silent = true })
vim.keymap.set('n', '<F8>', ':bnext<CR>', { noremap = true, silent = true })
vim.keymap.set('n', '<leader>f', ':Pick files<CR>', { noremap = true })
vim.keymap.set('n', '<leader>g', ':Pick grep_live<CR>', { noremap = true })
vim.keymap.set('n', '<leader>b', ':Pick buffers<CR>', { noremap = true })
vim.keymap.set('n', '<leader>t', ToggleTerminal)
vim.keymap.set('t', '<Esc><Esc>', '<C-\\><C-n>')
vim.keymap.set('n', 'x', '"_x')
vim.keymap.set('n', '<leader>y', '"+y')
vim.keymap.set('n', '<leader>Y', '"+y$')
vim.keymap.set('n', '<leader>p', '"+p')
vim.keymap.set('n', '<leader>P', '"+P')
-- }}}
+73
View File
@@ -0,0 +1,73 @@
{
"$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.37/schema.bar.json",
"monitor": 0,
"font_family": "JetBrains Mono",
"theme": {
"palette": "Base16",
"name": "Ashes",
"accent": "Base0D"
},
"left_widgets": [
{
"Komorebi": {
"workspaces": {
"enable": true,
"hide_empty_workspaces": false
},
"layout": {
"enable": true
},
"focused_window": {
"enable": true,
"show_icon": true
}
}
}
],
"right_widgets": [
{
"Update": {
"enable": true
}
},
{
"Media": {
"enable": true
}
},
{
"Storage": {
"enable": true
}
},
{
"Memory": {
"enable": true
}
},
{
"Network": {
"enable": true,
"show_total_data_transmitted": true,
"show_network_activity": true
}
},
{
"Date": {
"enable": true,
"format": "DayDateMonthYear"
}
},
{
"Time": {
"enable": true,
"format": "TwentyFourHour"
}
},
{
"Battery": {
"enable": true
}
}
]
}
+47
View File
@@ -0,0 +1,47 @@
{
"$schema": "https://raw.githubusercontent.com/LGUG2Z/komorebi/v0.1.37/schema.json",
"app_specific_configuration_path": "$Env:KOMOREBI_CONFIG_HOME/applications.json",
"window_hiding_behaviour": "Cloak",
"cross_monitor_move_behaviour": "Insert",
"default_workspace_padding": 5,
"default_container_padding": -1,
"border": true,
"border_width": 6,
"border_offset": -1,
"theme": {
"palette": "Base16",
"name": "Ashes",
"unfocused_border": "Base03",
"bar_accent": "Base0D"
},
"stackbar": {
"height": 40,
"mode": "OnStack",
"tabs": {
"width": 300,
"focused_text": "#00a542",
"unfocused_text": "#b3b3b3",
"background": "#141414"
},
},
"mouse_follows_focus": false,
"ignore_rules": [
{
"kind": "Exe",
"id": "vmconnect.exe",
"matching_strategy": "Equals"
},
{
"kind": "Exe",
"id": "KeePass.exe",
"matching_strategy": "Equals"
}
],
"object_name_change_applications": [
{
"kind": "Exe",
"id": "dopus.exe",
"matching_strategy": "Equals"
}
]
}
-1
View File
@@ -1 +0,0 @@
require('mini.pick').setup()
-6
View File
@@ -1,6 +0,0 @@
require('nvim-treesitter.install').prefer_git = true
require('nvim-treesitter.configs').setup {
auto_install = true,
highlight = { enable = true },
indent = { enable = true }
}
-1
View File
@@ -1 +0,0 @@
git submodule update --init --remote --recursive