minor updatre
This commit is contained in:
parent
3129cc7bee
commit
7c1b64881b
9 changed files with 15 additions and 7 deletions
|
|
@ -150,9 +150,6 @@ workspace = 7, monitor:HDMI-A-2, persistent:true
|
||||||
workspace = 8, monitor:HDMI-A-2, persistent:true
|
workspace = 8, monitor:HDMI-A-2, persistent:true
|
||||||
workspace = 9, monitor:HDMI-A-2, persistent:true
|
workspace = 9, monitor:HDMI-A-2, persistent:true
|
||||||
|
|
||||||
workspace = w[t1], layoutopt:orientation:center
|
|
||||||
workspace = w[t2-4], layoutopt:orientation:left
|
|
||||||
|
|
||||||
# ╭──────────────────────────────────────────────────────────╮
|
# ╭──────────────────────────────────────────────────────────╮
|
||||||
# │ Keybindings │
|
# │ Keybindings │
|
||||||
# ╰──────────────────────────────────────────────────────────╯
|
# ╰──────────────────────────────────────────────────────────╯
|
||||||
|
|
|
||||||
|
|
@ -12,3 +12,6 @@ monitorv2 {
|
||||||
exec-once = [workspace 1 silent] uwsm app -a brave_work -- brave --profile-directory="Default" # work profile
|
exec-once = [workspace 1 silent] uwsm app -a brave_work -- brave --profile-directory="Default" # work profile
|
||||||
exec-once = [workspace 6 silent] uwsm app -- brave -a brave_personal --profile-directory="Profile 2" # personal profile
|
exec-once = [workspace 6 silent] uwsm app -- brave -a brave_personal --profile-directory="Profile 2" # personal profile
|
||||||
|
|
||||||
|
workspace = w[t1], layoutopt:orientation:center
|
||||||
|
workspace = w[t2-4], layoutopt:orientation:left
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -45,6 +45,9 @@ yazi = "latest"
|
||||||
zoxide = "latest"
|
zoxide = "latest"
|
||||||
watchexec = "latest"
|
watchexec = "latest"
|
||||||
"npm:@hoppscotch/cli" = "latest"
|
"npm:@hoppscotch/cli" = "latest"
|
||||||
|
kotlin = "latest"
|
||||||
|
gradle = "latest"
|
||||||
|
"npm:@immich/cli" = "latest"
|
||||||
|
|
||||||
[settings]
|
[settings]
|
||||||
lockfile = true
|
lockfile = true
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ opt.ignorecase = true -- Ignore case
|
||||||
opt.inccommand = 'split' -- Preview substitutions live, as you type!
|
opt.inccommand = 'split' -- Preview substitutions live, as you type!
|
||||||
opt.mouse = "a" -- Enable mouse mode
|
opt.mouse = "a" -- Enable mouse mode
|
||||||
opt.nrformats = 'blank,bin,hex'
|
opt.nrformats = 'blank,bin,hex'
|
||||||
opt.number = true -- Print line number
|
opt.number = true -- Print line number
|
||||||
opt.pumblend = 10 -- Popup blend
|
opt.pumblend = 10 -- Popup blend
|
||||||
opt.pumheight = 10 -- Maximum number of entries in a popup
|
opt.pumheight = 10 -- Maximum number of entries in a popup
|
||||||
-- opt.relativenumber = true -- Relative line numbers
|
-- opt.relativenumber = true -- Relative line numbers
|
||||||
|
|
@ -168,6 +168,7 @@ vim.lsp.enable({
|
||||||
"hyprls",
|
"hyprls",
|
||||||
"intelephense",
|
"intelephense",
|
||||||
"jsonls",
|
"jsonls",
|
||||||
|
"kotlin_lsp",
|
||||||
"lua_ls",
|
"lua_ls",
|
||||||
"nushell",
|
"nushell",
|
||||||
"pyright",
|
"pyright",
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ return {
|
||||||
css = { "biome" },
|
css = { "biome" },
|
||||||
go = { "gofumpt", "goimports_reviser", "golines" },
|
go = { "gofumpt", "goimports_reviser", "golines" },
|
||||||
html = { "djlint", "prettierd", stop_after_first = true },
|
html = { "djlint", "prettierd", stop_after_first = true },
|
||||||
|
kotlin = { "ktlint" },
|
||||||
htmldjango = { "djlint", stop_after_first = true },
|
htmldjango = { "djlint", stop_after_first = true },
|
||||||
javascript = { "biome" },
|
javascript = { "biome" },
|
||||||
javascriptreact = { "biome" },
|
javascriptreact = { "biome" },
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ return {
|
||||||
|
|
||||||
lint.linters_by_ft = {
|
lint.linters_by_ft = {
|
||||||
-- astro = { "eslint_d" },
|
-- astro = { "eslint_d" },
|
||||||
|
kotlin = { "ktlint" },
|
||||||
python = { "ruff" },
|
python = { "ruff" },
|
||||||
sh = { "shellcheck" },
|
sh = { "shellcheck" },
|
||||||
NeogitCommitMessage = { "gitlint" },
|
NeogitCommitMessage = { "gitlint" },
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ return {
|
||||||
init = function()
|
init = function()
|
||||||
-- HACK: for filetypes that doesn't start treesitter hightlight on it's own
|
-- HACK: for filetypes that doesn't start treesitter hightlight on it's own
|
||||||
vim.api.nvim_create_autocmd("FileType", {
|
vim.api.nvim_create_autocmd("FileType", {
|
||||||
pattern = { "gleam", "go" },
|
pattern = { "gleam", "go", "kotlin" },
|
||||||
callback = function()
|
callback = function()
|
||||||
vim.treesitter.start()
|
vim.treesitter.start()
|
||||||
end,
|
end,
|
||||||
|
|
|
||||||
|
|
@ -44,6 +44,7 @@ prepend_keymap = [
|
||||||
{ on = ["<C-x>", "k"], run = "shell 'ya pub-to 0 TransferUpload --list \"$@\"'", desc = "Upload with transfer.nvim" },
|
{ on = ["<C-x>", "k"], run = "shell 'ya pub-to 0 TransferUpload --list \"$@\"'", desc = "Upload with transfer.nvim" },
|
||||||
{ on = ["<C-x>", "d"], run = ["shell 'ya pub-to 0 DiffRemote --orphan --list \"$@\"'", "quit"], desc = "Diff with transfer.nvim" },
|
{ on = ["<C-x>", "d"], run = ["shell 'ya pub-to 0 DiffRemote --orphan --list \"$@\"'", "quit"], desc = "Diff with transfer.nvim" },
|
||||||
{ on = ["<C-x>", "<S-D>"], run = ["shell 'ya pub-to 0 TransferDirDiff --list \"$@\"'"], desc = "Diff directory with transfer.nvim" },
|
{ on = ["<C-x>", "<S-D>"], run = ["shell 'ya pub-to 0 TransferDirDiff --list \"$@\"'"], desc = "Diff directory with transfer.nvim" },
|
||||||
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[input]
|
[input]
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
[mgr]
|
[mgr]
|
||||||
ratio = [1, 3, 4]
|
ratio = [1, 3, 4]
|
||||||
sort_by = "alphabetical"
|
sort_by = "natural"
|
||||||
sort_sensitive = false
|
sort_sensitive = false
|
||||||
sort_reverse = false
|
sort_reverse = false
|
||||||
sort_dir_first = true
|
sort_dir_first = true
|
||||||
|
|
@ -32,6 +32,7 @@ open = [{ run = 'xdg-open "$@"', desc = "Open", for = "linux" }, { run = 'open "
|
||||||
reveal = [{ run = 'open -R "$1"', desc = "Reveal", for = "macos" }, { run = 'explorer /select, "%1"', orphan = true, desc = "Reveal", for = "windows" }, { run = '''exiftool "$1"; echo "Press enter to exit"; read''', block = true, desc = "Show EXIF", for = "unix" }]
|
reveal = [{ run = 'open -R "$1"', desc = "Reveal", for = "macos" }, { run = 'explorer /select, "%1"', orphan = true, desc = "Reveal", for = "windows" }, { run = '''exiftool "$1"; echo "Press enter to exit"; read''', block = true, desc = "Show EXIF", for = "unix" }]
|
||||||
extract = [{ run = 'ya pub extract --list "$@"', desc = "Extract here", for = "unix" }, { run = 'ya pub extract --list %*', desc = "Extract here", for = "windows" }]
|
extract = [{ run = 'ya pub extract --list "$@"', desc = "Extract here", for = "unix" }, { run = 'ya pub extract --list %*', desc = "Extract here", for = "windows" }]
|
||||||
play = [{ run = 'mpv "$@"', orphan = true, for = "unix" }, { run = 'mpv "%1"', orphan = true, for = "windows" }, { run = '''mediainfo "$1"; echo "Press enter to exit"; read''', block = true, desc = "Show media info", for = "unix" }]
|
play = [{ run = 'mpv "$@"', orphan = true, for = "unix" }, { run = 'mpv "%1"', orphan = true, for = "windows" }, { run = '''mediainfo "$1"; echo "Press enter to exit"; read''', block = true, desc = "Show media info", for = "unix" }]
|
||||||
|
upload_img = [{ run = 'immich upload --recursive "$@" || read -n 1 -p "press anything to exit"', desc = "Upload image to Immich server", for = "linux", block = true }]
|
||||||
|
|
||||||
[open]
|
[open]
|
||||||
rules = [
|
rules = [
|
||||||
|
|
@ -46,7 +47,7 @@ rules = [
|
||||||
{ mime = "application/x-{tar,bzip*,7z-compressed,xz,rar}", use = ["extract", "reveal"] },
|
{ mime = "application/x-{tar,bzip*,7z-compressed,xz,rar}", use = ["extract", "reveal"] },
|
||||||
|
|
||||||
# Image
|
# Image
|
||||||
{ mime = "image/*", use = ["open", "reveal"] },
|
{ mime = "image/*", use = ["open", "upload_img"] },
|
||||||
|
|
||||||
# Media
|
# Media
|
||||||
{ mime = "{audio,video}/*", use = ["play", "open", "reveal"] },
|
{ mime = "{audio,video}/*", use = ["play", "open", "reveal"] },
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue