mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
Minor fix
This commit is contained in:
parent
61591c48a6
commit
9aef06aa74
6 changed files with 79 additions and 54 deletions
|
|
@ -54,7 +54,7 @@ monitor=DP-2,3840x2160@59,0x0,1.666667
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/
|
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||||
|
|
||||||
# Set programs that you use
|
# Set programs that you use
|
||||||
$terminal = wezterm-gui
|
$terminal = kitty
|
||||||
$fileManager = dolphin
|
$fileManager = dolphin
|
||||||
$menu = wofi
|
$menu = wofi
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -42,15 +42,15 @@ _k_friendly_name=Krusader
|
||||||
bring_main_window_to_top=Meta+K,Meta+K,Bring Main Window to Top
|
bring_main_window_to_top=Meta+K,Meta+K,Bring Main Window to Top
|
||||||
|
|
||||||
[ksmserver]
|
[ksmserver]
|
||||||
Halt Without Confirmation=none,,Shut Down Without Confirmation
|
Halt Without Confirmation=none,none,Shut Down Without Confirmation
|
||||||
Lock Session=Meta+L\tScreensaver,Meta+L\tScreensaver,Lock Session
|
Lock Session=Meta+L\tScreensaver,Meta+L\tScreensaver,Lock Session
|
||||||
Log Out=Ctrl+Alt+Del,Ctrl+Alt+Del,Show Logout Screen
|
Log Out=Ctrl+Alt+Del,Ctrl+Alt+Del,Show Logout Screen
|
||||||
Log Out Without Confirmation=none,,Log Out Without Confirmation
|
Log Out Without Confirmation=none,none,Log Out Without Confirmation
|
||||||
LogOut=none,,Log Out
|
LogOut=none,none,Log Out
|
||||||
Reboot=none,,Reboot
|
Reboot=none,none,Reboot
|
||||||
Reboot Without Confirmation=none,,Reboot Without Confirmation
|
Reboot Without Confirmation=none,none,Reboot Without Confirmation
|
||||||
Shut Down=none,,Shut Down
|
Shut Down=none,none,Shut Down
|
||||||
_k_friendly_name=Session Management
|
_k_friendly_name=KWin
|
||||||
|
|
||||||
[kwin]
|
[kwin]
|
||||||
Activate Window Demanding Attention=Meta+Ctrl+A,Meta+Ctrl+A,Activate Window Demanding Attention
|
Activate Window Demanding Attention=Meta+Ctrl+A,Meta+Ctrl+A,Activate Window Demanding Attention
|
||||||
|
|
@ -248,11 +248,11 @@ view_zoom_out=Meta+-,Meta+-,Zoom Out
|
||||||
|
|
||||||
[mediacontrol]
|
[mediacontrol]
|
||||||
_k_friendly_name=Media Controller
|
_k_friendly_name=Media Controller
|
||||||
mediavolumedown=none,,Media volume down
|
mediavolumedown=none,none,Media volume down
|
||||||
mediavolumeup=none,,Media volume up
|
mediavolumeup=none,none,Media volume up
|
||||||
nextmedia=Media Next,Media Next,Media playback next
|
nextmedia=Media Next,Media Next,Media playback next
|
||||||
pausemedia=Media Pause,Media Pause,Pause media playback
|
pausemedia=Media Pause,Media Pause,Pause media playback
|
||||||
playmedia=none,,Play media playback
|
playmedia=none,none,Play media playback
|
||||||
playpausemedia=Media Play,Media Play,Play/Pause media playback
|
playpausemedia=Media Play,Media Play,Play/Pause media playback
|
||||||
previousmedia=Media Previous,Media Previous,Media playback previous
|
previousmedia=Media Previous,Media Previous,Media playback previous
|
||||||
stopmedia=Media Stop,Media Stop,Stop media playback
|
stopmedia=Media Stop,Media Stop,Stop media playback
|
||||||
|
|
@ -277,7 +277,7 @@ powerProfile=Battery\tMeta+B,Battery\tMeta+B,Switch Power Profile
|
||||||
_k_friendly_name=plasmashell
|
_k_friendly_name=plasmashell
|
||||||
activate application launcher=Meta\tAlt+F1,Meta\tAlt+F1,Activate Application Launcher
|
activate application launcher=Meta\tAlt+F1,Meta\tAlt+F1,Activate Application Launcher
|
||||||
activate task manager entry 1=none,Meta+1,Activate Task Manager Entry 1
|
activate task manager entry 1=none,Meta+1,Activate Task Manager Entry 1
|
||||||
activate task manager entry 10=none,,Activate Task Manager Entry 10
|
activate task manager entry 10=none,none,Activate Task Manager Entry 10
|
||||||
activate task manager entry 2=none,Meta+2,Activate Task Manager Entry 2
|
activate task manager entry 2=none,Meta+2,Activate Task Manager Entry 2
|
||||||
activate task manager entry 3=none,Meta+3,Activate Task Manager Entry 3
|
activate task manager entry 3=none,Meta+3,Activate Task Manager Entry 3
|
||||||
activate task manager entry 4=none,Meta+4,Activate Task Manager Entry 4
|
activate task manager entry 4=none,Meta+4,Activate Task Manager Entry 4
|
||||||
|
|
@ -287,22 +287,22 @@ activate task manager entry 7=none,Meta+7,Activate Task Manager Entry 7
|
||||||
activate task manager entry 8=none,Meta+8,Activate Task Manager Entry 8
|
activate task manager entry 8=none,Meta+8,Activate Task Manager Entry 8
|
||||||
activate task manager entry 9=none,Meta+9,Activate Task Manager Entry 9
|
activate task manager entry 9=none,Meta+9,Activate Task Manager Entry 9
|
||||||
activate widget 3=none,none,Activate Application Launcher Widget
|
activate widget 3=none,none,Activate Application Launcher Widget
|
||||||
clear-history=none,,Clear Clipboard History
|
clear-history=none,none,Clear Clipboard History
|
||||||
clipboard_action=Meta+Ctrl+X,Meta+Ctrl+X,Automatic Action Popup Menu
|
clipboard_action=Meta+Ctrl+X,Meta+Ctrl+X,Automatic Action Popup Menu
|
||||||
cycle-panels=Meta+Alt+P,Meta+Alt+P,Move keyboard focus between panels
|
cycle-panels=Meta+Alt+P,Meta+Alt+P,Move keyboard focus between panels
|
||||||
cycleNextAction=none,,Next History Item
|
cycleNextAction=none,none,Next History Item
|
||||||
cyclePrevAction=none,,Previous History Item
|
cyclePrevAction=none,none,Previous History Item
|
||||||
manage activities=none,Meta+Q,Show Activity Switcher
|
manage activities=none,Meta+Q,Show Activity Switcher
|
||||||
next activity=Meta+A,none,Walk through activities
|
next activity=Meta+A,none,Walk through activities
|
||||||
previous activity=Meta+Shift+A,none,Walk through activities (Reverse)
|
previous activity=Meta+Shift+A,none,Walk through activities (Reverse)
|
||||||
repeat_action=none,,Manually Invoke Action on Current Clipboard
|
repeat_action=none,none,Manually Invoke Action on Current Clipboard
|
||||||
show dashboard=Ctrl+F12,Ctrl+F12,Show Desktop
|
show dashboard=Ctrl+F12,Ctrl+F12,Show Desktop
|
||||||
show-barcode=none,,Show Barcode…
|
show-barcode=none,none,Show Barcode…
|
||||||
show-on-mouse-pos=Meta+V,Meta+V,Show Clipboard Items at Mouse Position
|
show-on-mouse-pos=Meta+V,Meta+V,Show Clipboard Items at Mouse Position
|
||||||
stop current activity=Meta+S,Meta+S,Stop Current Activity
|
stop current activity=Meta+S,Meta+S,Stop Current Activity
|
||||||
switch to next activity=none,,Switch to Next Activity
|
switch to next activity=none,none,Switch to Next Activity
|
||||||
switch to previous activity=none,,Switch to Previous Activity
|
switch to previous activity=none,none,Switch to Previous Activity
|
||||||
toggle do not disturb=none,,Toggle do not disturb
|
toggle do not disturb=none,none,Toggle do not disturb
|
||||||
|
|
||||||
[services][kitty.desktop]
|
[services][kitty.desktop]
|
||||||
_launch=Meta+R
|
_launch=Meta+R
|
||||||
|
|
|
||||||
|
|
@ -41,39 +41,7 @@ return {
|
||||||
"NoahTheDuke/vim-just",
|
"NoahTheDuke/vim-just",
|
||||||
ft = { "just" },
|
ft = { "just" },
|
||||||
},
|
},
|
||||||
{
|
{ import = "plugins.mod.lang-org" },
|
||||||
"akinsho/org-bullets.nvim",
|
|
||||||
ft = { "org" },
|
|
||||||
config = function()
|
|
||||||
require("org-bullets").setup()
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"nvim-orgmode/orgmode",
|
|
||||||
ft = { "org" },
|
|
||||||
config = function()
|
|
||||||
-- Setup orgmode
|
|
||||||
require("orgmode").setup({
|
|
||||||
org_agenda_files = "~/OrgFiles/tasks/*",
|
|
||||||
org_default_notes_file = "~/OrgFiles/tasks/inbox.org",
|
|
||||||
org_archive_location = "~/OrgFiles/archive/%s_archive::",
|
|
||||||
org_todo_keywords = { "TODO(t)", "NEXT(n)", "WAIT(w)", "|", "DONE(d)", "CANCELLED(c)" },
|
|
||||||
org_hide_leading_stars = true,
|
|
||||||
org_hide_emphasis_markers = true,
|
|
||||||
org_log_into_drawer = "LOGBOOK",
|
|
||||||
org_highlight_latex_and_related = "native",
|
|
||||||
org_startup_indented = true,
|
|
||||||
org_deadline_warning_days = 10,
|
|
||||||
})
|
|
||||||
|
|
||||||
-- NOTE: If you are using nvim-treesitter with ~ensure_installed = "all"~ option
|
|
||||||
-- add ~org~ to ignore_install
|
|
||||||
-- require('nvim-treesitter.configs').setup({
|
|
||||||
-- ensure_installed = 'all',
|
|
||||||
-- ignore_install = { 'org' },
|
|
||||||
-- })
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
{ import = "plugins.mod.trouble-nvim" },
|
{ import = "plugins.mod.trouble-nvim" },
|
||||||
{
|
{
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
|
|
@ -87,10 +55,13 @@ return {
|
||||||
"VeryLazy",
|
"VeryLazy",
|
||||||
},
|
},
|
||||||
opts = {
|
opts = {
|
||||||
ensure_installed = { "markdown", "markdown_inline", "latex", "python" },
|
ensure_installed = { "c", "lua", "vim", "vimdoc", "markdown", "markdown_inline" },
|
||||||
highlight = { enable = true },
|
highlight = { enable = true },
|
||||||
indent = { enable = true },
|
indent = { enable = true },
|
||||||
},
|
},
|
||||||
|
config = function(_, opts)
|
||||||
|
require("nvim-treesitter.configs").setup(opts)
|
||||||
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"folke/lazydev.nvim",
|
"folke/lazydev.nvim",
|
||||||
|
|
|
||||||
|
|
@ -44,12 +44,20 @@ return {
|
||||||
|
|
||||||
sources = {
|
sources = {
|
||||||
default = { "lazydev", "lsp", "path", "snippets", "buffer" },
|
default = { "lazydev", "lsp", "path", "snippets", "buffer" },
|
||||||
|
per_filetype = {
|
||||||
|
org = { "orgmode" },
|
||||||
|
},
|
||||||
providers = {
|
providers = {
|
||||||
lazydev = {
|
lazydev = {
|
||||||
name = "LazyDev",
|
name = "LazyDev",
|
||||||
module = "lazydev.integrations.blink",
|
module = "lazydev.integrations.blink",
|
||||||
score_offset = 100,
|
score_offset = 100,
|
||||||
},
|
},
|
||||||
|
orgmode = {
|
||||||
|
name = "Orgmode",
|
||||||
|
module = "orgmode.org.autocompletion.blink",
|
||||||
|
fallbacks = { "buffer" },
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
45
tools/nvim/lua/plugins/mod/lang-org.lua
Normal file
45
tools/nvim/lua/plugins/mod/lang-org.lua
Normal file
|
|
@ -0,0 +1,45 @@
|
||||||
|
return {
|
||||||
|
"nvim-orgmode/orgmode",
|
||||||
|
dependencies = {
|
||||||
|
"nvim-telescope/telescope.nvim",
|
||||||
|
"nvim-orgmode/telescope-orgmode.nvim",
|
||||||
|
"nvim-orgmode/org-bullets.nvim",
|
||||||
|
"Saghen/blink.cmp",
|
||||||
|
},
|
||||||
|
event = "VeryLazy",
|
||||||
|
config = function()
|
||||||
|
require("orgmode").setup({
|
||||||
|
org_agenda_files = "~/OrgFiles/tasks/*",
|
||||||
|
org_default_notes_file = "~/OrgFiles/tasks/inbox.org",
|
||||||
|
org_archive_location = "~/OrgFiles/archive/%s_archive::",
|
||||||
|
org_todo_keywords = { "TODO(t)", "NEXT(n)", "WAIT(w)", "|", "DONE(d)", "CANCELLED(c)" },
|
||||||
|
org_hide_leading_stars = true,
|
||||||
|
org_hide_emphasis_markers = true,
|
||||||
|
org_log_into_drawer = "LOGBOOK",
|
||||||
|
org_highlight_latex_and_related = "native",
|
||||||
|
org_startup_indented = true,
|
||||||
|
org_deadline_warning_days = 10,
|
||||||
|
})
|
||||||
|
require("org-bullets").setup()
|
||||||
|
require("blink.cmp").setup({
|
||||||
|
sources = {
|
||||||
|
per_filetype = {
|
||||||
|
org = { "orgmode" },
|
||||||
|
},
|
||||||
|
providers = {
|
||||||
|
orgmode = {
|
||||||
|
name = "Orgmode",
|
||||||
|
module = "orgmode.org.autocompletion.blink",
|
||||||
|
fallbacks = { "buffer" },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
require("telescope").setup()
|
||||||
|
require("telescope").load_extension("orgmode")
|
||||||
|
vim.keymap.set("n", "<leader>r", require("telescope").extensions.orgmode.refile_heading)
|
||||||
|
vim.keymap.set("n", "<leader>fh", require("telescope").extensions.orgmode.search_headings)
|
||||||
|
vim.keymap.set("n", "<leader>li", require("telescope").extensions.orgmode.insert_link)
|
||||||
|
end,
|
||||||
|
}
|
||||||
|
|
@ -16,6 +16,7 @@ return {
|
||||||
powershell_es = {}, -- PowerShell
|
powershell_es = {}, -- PowerShell
|
||||||
pyright = {}, -- Python
|
pyright = {}, -- Python
|
||||||
taplo = {}, -- TOML
|
taplo = {}, -- TOML
|
||||||
|
rust_analyzer = {}, -- Rust
|
||||||
ts_ls = {}, -- TypeScript
|
ts_ls = {}, -- TypeScript
|
||||||
vimls = {}, -- vimscript
|
vimls = {}, -- vimscript
|
||||||
yamlls = {}, -- YAML
|
yamlls = {}, -- YAML
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue