Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1b7facd068 | |||
| c4c2885267 | |||
| 5bdd7499ce | |||
| 7833cc3a00 | |||
| 997244e054 |
+3234
File diff suppressed because it is too large
Load Diff
@@ -1,67 +0,0 @@
|
|||||||
-- Editor Settings
|
|
||||||
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.path:append '**'
|
|
||||||
vim.opt.path:append '.'
|
|
||||||
vim.opt.wildmenu = true
|
|
||||||
vim.opt.wrap = false
|
|
||||||
vim.opt.foldenable = false
|
|
||||||
vim.opt.clipboard = 'unnamedplus'
|
|
||||||
vim.opt.undofile = true
|
|
||||||
vim.opt.ignorecase = true
|
|
||||||
vim.opt.smartcase = true
|
|
||||||
vim.opt.updatetime = 250
|
|
||||||
vim.opt.timeoutlen = 300
|
|
||||||
vim.opt.inccommand = 'split'
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
-- Setup Netrw
|
|
||||||
vim.g.netrw_banner = 0
|
|
||||||
vim.g.netrw_sort_sequence = '[\\/]$'
|
|
||||||
vim.g.netrw_sort_options = 'i'
|
|
||||||
vim.g.netrw_silent = 1
|
|
||||||
--[[
|
|
||||||
vim.g.netrw_browse_split = 4
|
|
||||||
vim.g.netrw_altv = 1
|
|
||||||
vim.g.netrw_preview = 1
|
|
||||||
vim.g.netrw_winsize = 20
|
|
||||||
local mygroup = vim.api.nvim_create_augroup('loading_netrwPlugin', {clear = true})
|
|
||||||
vim.api.nvim_create_autocmd({'VimEnter'}, {
|
|
||||||
pattern = {'*'},
|
|
||||||
command = ':silent! Vexplore',
|
|
||||||
group = NetrwInit
|
|
||||||
})
|
|
||||||
]]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
-- Added autocmd for automatic insertmode in Terminal Mode
|
|
||||||
vim.api.nvim_create_autocmd({ 'TermOpen' }, {
|
|
||||||
pattern = { 'term://*' },
|
|
||||||
command = 'startinsert',
|
|
||||||
})
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
-- 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 %= %y %l:%c %p%% '
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
-- Keymaps
|
|
||||||
vim.api.nvim_set_keymap('n', '<leader>f', ':find ', { noremap = true, silent = true })
|
|
||||||
@@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -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"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user