Compare commits
11 commits
1e91c000f1
...
b4b8b4ce51
Author | SHA1 | Date | |
---|---|---|---|
b4b8b4ce51 | |||
cf486ba424 | |||
1574553ca8 | |||
939a8d0781 | |||
b53a44e193 | |||
5e23c6c190 | |||
2c165e7dbf | |||
c520ab173c | |||
79e48f2941 | |||
674249c2c0 | |||
41afc65826 |
16 changed files with 235 additions and 275 deletions
|
@ -13,6 +13,7 @@ hc emit_hook reload
|
||||||
|
|
||||||
### disable touchpad, cuz trackpoint rulezzzz
|
### disable touchpad, cuz trackpoint rulezzzz
|
||||||
xinput --disable 'SynPS/2 Synaptics TouchPad'
|
xinput --disable 'SynPS/2 Synaptics TouchPad'
|
||||||
|
xinput --disable 'SYNA88022:00 06CB:CE67 Touchpad'
|
||||||
|
|
||||||
xsetroot -solid "${colors[dark0_hard]}"
|
xsetroot -solid "${colors[dark0_hard]}"
|
||||||
|
|
||||||
|
@ -137,6 +138,9 @@ hc keybind XF86AudioNext spawn systemd-run --scope --user "$HOME/bin/mprisctl" n
|
||||||
hc keybind XF86AudioPrev spawn systemd-run --scope --user "$HOME/bin/mprisctl" prev
|
hc keybind XF86AudioPrev spawn systemd-run --scope --user "$HOME/bin/mprisctl" prev
|
||||||
hc keybind XF86AudioPlay spawn systemd-run --scope --user "$HOME/bin/mprisctl" toggle
|
hc keybind XF86AudioPlay spawn systemd-run --scope --user "$HOME/bin/mprisctl" toggle
|
||||||
|
|
||||||
|
hc keybind XF86MonBrightnessDown spawn brightnessctl set 10%-
|
||||||
|
hc keybind XF86MonBrightnessUp spawn brightnessctl set 10%+
|
||||||
|
|
||||||
# shellcheck disable=2016 # needed to pass whole script to keybind...
|
# shellcheck disable=2016 # needed to pass whole script to keybind...
|
||||||
hc keybind XF86TouchpadToggle spawn systemd-run --scope --user sh -c 'xinput --set-prop "SynPS/2 Synaptics TouchPad" "Device Enabled" $(xinput --list-props "SynPS/2 Synaptics TouchPad" | awk -F ":\t+" "/Device Enabled/ { print (1+\$2)%2}")'
|
hc keybind XF86TouchpadToggle spawn systemd-run --scope --user sh -c 'xinput --set-prop "SynPS/2 Synaptics TouchPad" "Device Enabled" $(xinput --list-props "SynPS/2 Synaptics TouchPad" | awk -F ":\t+" "/Device Enabled/ { print (1+\$2)%2}")'
|
||||||
|
|
||||||
|
|
|
@ -183,7 +183,8 @@ hc --idle | {
|
||||||
play_sym="%{T2}%{T-}"
|
play_sym="%{T2}%{T-}"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
playing="$play_sym$play_line"
|
#playing="$play_sym$play_line"
|
||||||
|
playing="$play_sym"
|
||||||
[[ -n "$playing" ]] && playing+=" $separator"
|
[[ -n "$playing" ]] && playing+=" $separator"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -191,25 +192,6 @@ hc --idle | {
|
||||||
# notify "Player: ${cmd[1]}" "${cmd[2]}"
|
# notify "Player: ${cmd[1]}" "${cmd[2]}"
|
||||||
# player_status[${cmd[1]}]="${cmd[2]}"
|
# player_status[${cmd[1]}]="${cmd[2]}"
|
||||||
;;
|
;;
|
||||||
ac)
|
|
||||||
case ${cmd[1]} in
|
|
||||||
charging)
|
|
||||||
batt_sym="%{F#00aa00}$batt_sym%{F-}"
|
|
||||||
ac="+"
|
|
||||||
notify "Power" "Battery charging"
|
|
||||||
;;
|
|
||||||
discharging)
|
|
||||||
ac="-"
|
|
||||||
batt_sym="%{F#ffdb00}$batt_sym%{F-}"
|
|
||||||
notify "Power" "Battery discharging"
|
|
||||||
;;
|
|
||||||
idle)
|
|
||||||
ac="="
|
|
||||||
notify "Power" "Fully charged"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
;;
|
|
||||||
|
|
||||||
battery)
|
battery)
|
||||||
#echo "battery" >&2
|
#echo "battery" >&2
|
||||||
batt_perc="${cmd[1]}"
|
batt_perc="${cmd[1]}"
|
||||||
|
@ -218,15 +200,21 @@ hc --idle | {
|
||||||
{ [ "$batt_perc" -ge 50 ] && batt_sym= ; } ||
|
{ [ "$batt_perc" -ge 50 ] && batt_sym= ; } ||
|
||||||
{ [ "$batt_perc" -ge 25 ] && batt_sym= ; } || batt_sym=
|
{ [ "$batt_perc" -ge 25 ] && batt_sym= ; } || batt_sym=
|
||||||
|
|
||||||
case "$ac" in
|
old_ac="$ac"
|
||||||
+)
|
case ${cmd[2]} in
|
||||||
|
charging)
|
||||||
batt_sym="%{F#00aa00}$batt_sym%{F-}"
|
batt_sym="%{F#00aa00}$batt_sym%{F-}"
|
||||||
ac="+"
|
ac="+"
|
||||||
|
[[ "$old_ac" != "$ac" ]] && notify "Power" "Battery charging"
|
||||||
;;
|
;;
|
||||||
-)
|
discharging)
|
||||||
|
ac="-"
|
||||||
batt_sym="%{F#ffdb00}$batt_sym%{F-}"
|
batt_sym="%{F#ffdb00}$batt_sym%{F-}"
|
||||||
|
[[ "$old_ac" != "$ac" ]] && notify "Power" "Battery discharging"
|
||||||
;;
|
;;
|
||||||
*)
|
idle)
|
||||||
|
ac="="
|
||||||
|
[[ "$old_ac" != "$ac" ]] && notify "Power" "Fully charged"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
|
@ -144,10 +144,13 @@ bind=SUPER,S,workspaceopt,allfloat
|
||||||
bind=SUPER,M,focusmonitor,0
|
bind=SUPER,M,focusmonitor,0
|
||||||
bind=SUPER,N,focusmonitor,1
|
bind=SUPER,N,focusmonitor,1
|
||||||
|
|
||||||
# XF86AudioMute XF86AudioLowerVolume XF86AudioRaiseVolume
|
# Laptop multimedia keys for volume and LCD brightness
|
||||||
bind=,121,exec,pactl set-sink-mute $(pactl get-default-sink) toggle
|
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||||
bind=,122,exec,pactl set-sink-volume $(pactl get-default-sink) -10%
|
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||||
bind=,123,exec,pactl set-sink-volume $(pactl get-default-sink) +10%
|
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||||
|
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
||||||
|
bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+
|
||||||
|
bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-
|
||||||
|
|
||||||
# XF86ScreenSaver
|
# XF86ScreenSaver
|
||||||
bind=,160,exec,swaylock
|
bind=,160,exec,swaylock
|
||||||
|
@ -170,28 +173,18 @@ bind=SUPER_SHIFT,l,movewindow,r
|
||||||
bind=SUPER_SHIFT,k,movewindow,u
|
bind=SUPER_SHIFT,k,movewindow,u
|
||||||
bind=SUPER_SHIFT,j,movewindow,d
|
bind=SUPER_SHIFT,j,movewindow,d
|
||||||
|
|
||||||
bind=SUPER,1,moveworkspacetomonitor,1 current
|
bind=SUPER,1,focusworkspaceoncurrentmonitor,1
|
||||||
bind=SUPER,1,workspace,1
|
bind=SUPER,2,focusworkspaceoncurrentmonitor,2
|
||||||
bind=SUPER,2,moveworkspacetomonitor,2 current
|
bind=SUPER,3,focusworkspaceoncurrentmonitor,3
|
||||||
bind=SUPER,2,workspace,2
|
bind=SUPER,4,focusworkspaceoncurrentmonitor,4
|
||||||
bind=SUPER,3,moveworkspacetomonitor,3 current
|
bind=SUPER,5,focusworkspaceoncurrentmonitor,5
|
||||||
bind=SUPER,3,workspace,3
|
bind=SUPER,6,focusworkspaceoncurrentmonitor,6
|
||||||
bind=SUPER,4,moveworkspacetomonitor,4 current
|
bind=SUPER,7,focusworkspaceoncurrentmonitor,7
|
||||||
bind=SUPER,4,workspace,4
|
bind=SUPER,8,focusworkspaceoncurrentmonitor,8
|
||||||
bind=SUPER,5,moveworkspacetomonitor,5 current
|
bind=SUPER,9,focusworkspaceoncurrentmonitor,9
|
||||||
bind=SUPER,5,workspace,5
|
bind=SUPER,0,focusworkspaceoncurrentmonitor,10
|
||||||
bind=SUPER,6,moveworkspacetomonitor,6 current
|
bind=SUPER,60,focusworkspaceoncurrentmonitor,+1
|
||||||
bind=SUPER,6,workspace,6
|
bind=SUPER,59,focusworkspaceoncurrentmonitor,-1
|
||||||
bind=SUPER,7,moveworkspacetomonitor,7 current
|
|
||||||
bind=SUPER,7,workspace,7
|
|
||||||
bind=SUPER,8,moveworkspacetomonitor,8 current
|
|
||||||
bind=SUPER,8,workspace,8
|
|
||||||
bind=SUPER,9,moveworkspacetomonitor,9 current
|
|
||||||
bind=SUPER,9,workspace,9
|
|
||||||
bind=SUPER,0,workspace,movetomonitor10 current
|
|
||||||
bind=SUPER,0,workspace,10
|
|
||||||
bind=SUPER,60,workspace,+1
|
|
||||||
bind=SUPER,59,workspace,-1
|
|
||||||
|
|
||||||
bind=SUPER_SHIFT,1,movetoworkspacesilent,1
|
bind=SUPER_SHIFT,1,movetoworkspacesilent,1
|
||||||
bind=SUPER_SHIFT,2,movetoworkspacesilent,2
|
bind=SUPER_SHIFT,2,movetoworkspacesilent,2
|
||||||
|
@ -207,5 +200,12 @@ bind=SUPER_SHIFT,0,movetoworkspacesilent,10
|
||||||
bind=SUPER,mouse_down,workspace,e+1
|
bind=SUPER,mouse_down,workspace,e+1
|
||||||
bind=SUPER,mouse_up,workspace,e-1
|
bind=SUPER,mouse_up,workspace,e-1
|
||||||
|
|
||||||
|
bind=SUPER,space,layoutmsg,togglesplit
|
||||||
|
bind=SUPER_CONTROL,space,layoutmsg,movetoroot
|
||||||
|
|
||||||
|
bind=,Print,exec,slurp | grim - - | wl-copy
|
||||||
|
|
||||||
exec-once=systemctl --user import-environment WAYLAND_DISPLAY HYPRLAND_CMD HYPRLAND_INSTANCE_SIGNATURE
|
exec-once=systemctl --user import-environment WAYLAND_DISPLAY HYPRLAND_CMD HYPRLAND_INSTANCE_SIGNATURE
|
||||||
exec=systemctl --user restart waybar-hyprland
|
|
||||||
|
exec-once=waybar
|
||||||
|
# exec=systemctl --user restart waybar-hyprland
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
substituters = https://cache.nixos.org https://nix-shell.cachix.org https://php-src-nix.cachix.org
|
substituters = https://cache.nixos.org https://nix-shell.cachix.org https://php-src-nix.cachix.org
|
||||||
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-shell.cachix.org-1:kat3KoRVbilxA6TkXEtTN9IfD4JhsQp1TPUHg652Mwc= php-src-nix.cachix.org-1:3IMVbxfljrbI1NZjuML/2eHLsmHEXfzKGY0kEA20qWY=
|
|
||||||
|
|
|
@ -12,6 +12,7 @@ end
|
||||||
vim.opt.runtimepath:prepend(lazypath)
|
vim.opt.runtimepath:prepend(lazypath)
|
||||||
|
|
||||||
require('configs.options').setup()
|
require('configs.options').setup()
|
||||||
|
|
||||||
require('lazy').setup(
|
require('lazy').setup(
|
||||||
'configs.packages',
|
'configs.packages',
|
||||||
{
|
{
|
||||||
|
|
|
@ -29,11 +29,9 @@ function M.setup()
|
||||||
vim.keymap.set('n', '<S-Down>', '<C-E>')
|
vim.keymap.set('n', '<S-Down>', '<C-E>')
|
||||||
vim.keymap.set('n', '<S-Up>', '<C-Y>')
|
vim.keymap.set('n', '<S-Up>', '<C-Y>')
|
||||||
|
|
||||||
vim.keymap.set('n', '[d', vim.diagnostic.goto_prev, { desc = 'Go to next diagnostic' })
|
vim.keymap.set('n', '[e', function() vim.diagnostic.jump({count=-1, float = true, severity = vim.diagnostic.severity.ERROR }) end,
|
||||||
vim.keymap.set('n', ']d', vim.diagnostic.goto_next, { desc = 'Go to prev diagnostic' })
|
|
||||||
vim.keymap.set('n', '[e', function() vim.diagnostic.goto_prev({ severity = vim.diagnostic.severity.ERROR }) end,
|
|
||||||
{ desc = 'Go to next error' })
|
{ desc = 'Go to next error' })
|
||||||
vim.keymap.set('n', ']e', function() vim.diagnostic.goto_next({ severity = vim.diagnostic.severity.ERROR }) end,
|
vim.keymap.set('n', ']e', function() vim.diagnostic.jump({count = 1, float = true, severity = vim.diagnostic.severity.ERROR }) end,
|
||||||
{ desc = 'Go to prev error' })
|
{ desc = 'Go to prev error' })
|
||||||
vim.keymap.set('n', '<space>q', vim.diagnostic.setloclist, { desc = 'Diagnostic to loclist' })
|
vim.keymap.set('n', '<space>q', vim.diagnostic.setloclist, { desc = 'Diagnostic to loclist' })
|
||||||
|
|
||||||
|
|
39
dot_config/nvim/lua/configs/packages/blink.lua
Normal file
39
dot_config/nvim/lua/configs/packages/blink.lua
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
return {
|
||||||
|
'saghen/blink.cmp',
|
||||||
|
-- optional: provides snippets for the snippet source
|
||||||
|
dependencies = 'rafamadriz/friendly-snippets',
|
||||||
|
|
||||||
|
-- use a release tag to download pre-built binaries
|
||||||
|
version = '*',
|
||||||
|
-- AND/OR build from source, requires nightly: https://rust-lang.github.io/rustup/concepts/channels.html#working-with-nightly-rust
|
||||||
|
-- build = 'cargo build --release',
|
||||||
|
-- If you use nix, you can build from source using latest nightly rust with:
|
||||||
|
-- build = 'nix run .#build-plugin',
|
||||||
|
|
||||||
|
---@module 'blink.cmp'
|
||||||
|
---@type blink.cmp.Config
|
||||||
|
opts = {
|
||||||
|
-- 'default' for mappings similar to built-in completion
|
||||||
|
-- 'super-tab' for mappings similar to vscode (tab to accept, arrow keys to navigate)
|
||||||
|
-- 'enter' for mappings similar to 'super-tab' but with 'enter' to accept
|
||||||
|
-- See the full "keymap" documentation for information on defining your own keymap.
|
||||||
|
keymap = { preset = 'default' },
|
||||||
|
|
||||||
|
appearance = {
|
||||||
|
-- Sets the fallback highlight groups to nvim-cmp's highlight groups
|
||||||
|
-- Useful for when your theme doesn't support blink.cmp
|
||||||
|
-- Will be removed in a future release
|
||||||
|
use_nvim_cmp_as_default = true,
|
||||||
|
-- Set to 'mono' for 'Nerd Font Mono' or 'normal' for 'Nerd Font'
|
||||||
|
-- Adjusts spacing to ensure icons are aligned
|
||||||
|
nerd_font_variant = 'mono'
|
||||||
|
},
|
||||||
|
|
||||||
|
-- Default list of enabled providers defined so that you can extend it
|
||||||
|
-- elsewhere in your config, without redefining it, due to `opts_extend`
|
||||||
|
sources = {
|
||||||
|
default = { 'lsp', 'path', 'snippets', 'buffer' },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
opts_extend = { "sources.default" }
|
||||||
|
}
|
|
@ -106,6 +106,7 @@ local server_configs = function()
|
||||||
}, -- }}}
|
}, -- }}}
|
||||||
jsonnet_ls = {},
|
jsonnet_ls = {},
|
||||||
regal = {},
|
regal = {},
|
||||||
|
jedi_language_server = {}
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -308,9 +309,9 @@ local function on_attach(args) -- {{{
|
||||||
end -- }}}
|
end -- }}}
|
||||||
|
|
||||||
local function make_client_capabilities()
|
local function make_client_capabilities()
|
||||||
local caps = require('cmp_nvim_lsp').default_capabilities()
|
-- local caps = require('cmp_nvim_lsp').default_capabilities()
|
||||||
local def = vim.lsp.protocol.make_client_capabilities()
|
local def = vim.lsp.protocol.make_client_capabilities()
|
||||||
caps = vim.tbl_deep_extend('keep', caps, def)
|
local caps = require('blink.cmp').get_lsp_capabilities(def)
|
||||||
-- caps.workspace.didChangeWatchedFiles.dynamicRegistration = false
|
-- caps.workspace.didChangeWatchedFiles.dynamicRegistration = false
|
||||||
return caps
|
return caps
|
||||||
end
|
end
|
||||||
|
|
|
@ -45,4 +45,5 @@ function M.config()
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
return M
|
--return M
|
||||||
|
return {}
|
||||||
|
|
|
@ -20,27 +20,6 @@ return {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
|
||||||
's1n7ax/nvim-window-picker',
|
|
||||||
config = true,
|
|
||||||
opts = {
|
|
||||||
use_winbar = 'always',
|
|
||||||
fg_color = require('configs.colors').pallete.light0[1],
|
|
||||||
current_win_hl_color = require('configs.colors').pallete.red[1],
|
|
||||||
other_win_hl_color = require('configs.colors').pallete.green[1],
|
|
||||||
},
|
|
||||||
keys = {
|
|
||||||
{
|
|
||||||
'<leader>w',
|
|
||||||
function()
|
|
||||||
local picked_window_id = require('window-picker').pick_window() or vim.api.nvim_get_current_win()
|
|
||||||
vim.api.nvim_set_current_win(picked_window_id)
|
|
||||||
end,
|
|
||||||
desc = 'Pick a window',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
|
|
||||||
{ 'AndrewRadev/linediff.vim', cmd = 'Linediff' },
|
{ 'AndrewRadev/linediff.vim', cmd = 'Linediff' },
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -65,69 +44,6 @@ return {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
|
||||||
'chrisgrieser/nvim-various-textobjs',
|
|
||||||
keys = {
|
|
||||||
{
|
|
||||||
'ii',
|
|
||||||
function() require('various-textobjs').indentation('inner', 'inner', 'withBlanks') end,
|
|
||||||
mode = { 'o', 'x' },
|
|
||||||
desc =
|
|
||||||
'Inside indent',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
'ai',
|
|
||||||
function() require('various-textobjs').indentation('outer', 'outer', 'withBlanks') end,
|
|
||||||
mode = { 'o', 'x' },
|
|
||||||
desc =
|
|
||||||
'Around indent',
|
|
||||||
},
|
|
||||||
-- { 'iI', function() require('various-textobjs').indentation(true, true) end, mode = { 'o', 'x' }, desc = '' },
|
|
||||||
-- { 'aI', function() require('various-textobjs').indentation(false, false) end, mode = { 'o', 'x' }, desc = '' },
|
|
||||||
{ 'iS', function() require('various-textobjs').subword('inner') end, mode = { 'o', 'x' }, desc = '' },
|
|
||||||
{ 'aS', function() require('various-textobjs').subword('outer') end, mode = { 'o', 'x' }, desc = '' },
|
|
||||||
{ '|', function() require('various-textobjs').column() end, mode = { 'o', 'x' }, desc = '' },
|
|
||||||
{ 'L', function() require('various-textobjs').url() end, mode = { 'o', 'x' }, desc = '' },
|
|
||||||
-- {"YOUR_MAPPING",function() require("various-textobjs").toNextClosingBracket() end, mode = { "o", "x" }, desc = "" },
|
|
||||||
-- {"YOUR_MAPPING",function() require("various-textobjs").restOfParagraph() end, mode = { "o", "x" }, desc = "" },
|
|
||||||
-- {"YOUR_MAPPING",function() require("various-textobjs").entireBuffer() end, mode = { "o", "x" }, desc = "" },
|
|
||||||
-- {"YOUR_MAPPING",function() require("various-textobjs").nearEoL() end, mode = { "o", "x" }, desc = "" },
|
|
||||||
-- {"YOUR_MAPPING",function() require("various-textobjs").lineCharacterwise() end, mode = { "o", "x" }, desc = "" },
|
|
||||||
-- {"YOUR_MAPPING",function() require("various-textobjs").value(true) end, mode = { "o", "x" }, desc = "" },
|
|
||||||
-- {"YOUR_MAPPING",function() require("various-textobjs").value(false) end, mode = { "o", "x" }, desc = "" },
|
|
||||||
-- {"YOUR_MAPPING",function() require("various-textobjs").key(true) end, mode = { "o", "x" }, desc = "" },
|
|
||||||
-- {"YOUR_MAPPING",function() require("various-textobjs").key(false) end, mode = { "o", "x" }, desc = "" },
|
|
||||||
-- {"YOUR_MAPPING",function() require("various-textobjs").diagnostic() end, mode = { "o", "x" }, desc = "" },
|
|
||||||
--------------------------------------------------------------------------------------
|
|
||||||
-- put these into the ftplugins or autocms for the filetypes you want to use them with
|
|
||||||
-- {"YOUR_MAPPING",function() require("various-textobjs").mdlink(true) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
|
|
||||||
-- {"YOUR_MAPPING",function() require("various-textobjs").mdlink(false) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
|
|
||||||
--
|
|
||||||
-- {"YOUR_MAPPING",function() require("various-textobjs").mdFencedCodeBlock(true) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
|
|
||||||
-- {"YOUR_MAPPING",function() require("various-textobjs").mdFencedCodeBlock(false) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
|
|
||||||
--
|
|
||||||
-- {"YOUR_MAPPING",function() require("various-textobjs").cssSelector(true) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
|
|
||||||
-- {"YOUR_MAPPING",function() require("various-textobjs").cssSelector(false) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
|
|
||||||
--
|
|
||||||
-- {"YOUR_MAPPING",function() require("various-textobjs").htmlAttribute(true) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
|
|
||||||
-- {"YOUR_MAPPING",function() require("various-textobjs").htmlAttribute(false) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
|
|
||||||
--
|
|
||||||
-- {"YOUR_MAPPING",function() require("various-textobjs").doubleSquareBrackets(true) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
|
|
||||||
-- {"YOUR_MAPPING",function() require("various-textobjs").doubleSquareBrackets(false) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
|
|
||||||
--
|
|
||||||
-- {"YOUR_MAPPING",function() require("various-textobjs").shellPipe(true) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
|
|
||||||
-- {"YOUR_MAPPING",function() require("various-textobjs").shellPipe(false) end, { buffer = true }, mode = { "o", "x" }, desc = "" },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
'chrisgrieser/nvim-spider',
|
|
||||||
keys = {
|
|
||||||
{ '<M-w>', function() require('spider').motion('w') end, mode = { 'n', 'o', 'x' }, desc = 'Spider-w' },
|
|
||||||
{ '<M-e>', function() require('spider').motion('e') end, mode = { 'n', 'o', 'x' }, desc = 'Spider-e' },
|
|
||||||
{ '<M-b>', function() require('spider').motion('b') end, mode = { 'n', 'o', 'x' }, desc = 'Spider-b' },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
{
|
||||||
'echasnovski/mini.trailspace',
|
'echasnovski/mini.trailspace',
|
||||||
version = '*',
|
version = '*',
|
||||||
|
@ -155,33 +71,6 @@ return {
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
|
||||||
'stevearc/overseer.nvim',
|
|
||||||
config = true,
|
|
||||||
cmd = {
|
|
||||||
'OverseerBuild',
|
|
||||||
'OverseerClearCache',
|
|
||||||
'OverseerClose',
|
|
||||||
'OverseerDeleteBundle',
|
|
||||||
'OverseerInfo',
|
|
||||||
'OverseerLoadBundle',
|
|
||||||
'OverseerOpen',
|
|
||||||
'OverseerQuickAction',
|
|
||||||
'OverseerRun',
|
|
||||||
'OverseerRunCmd',
|
|
||||||
'OverseerSaveBundle',
|
|
||||||
'OverseerTaskAction',
|
|
||||||
'OverseerToggle',
|
|
||||||
},
|
|
||||||
keys = {
|
|
||||||
{ '<leader>xx', '<Cmd>OverseerToggle<CR>', desc = 'Overseer toggle' },
|
|
||||||
{ '<leader>xi', '<Cmd>OverseerInfo<CR>', desc = 'Overseer info' },
|
|
||||||
{ '<leader>xa', '<Cmd>OverseerTaskAction<CR>', desc = 'Overseer action' },
|
|
||||||
{ '<leader>xr', '<Cmd>OverseerRun<CR>', desc = 'Overseer run' },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
'numToStr/Comment.nvim',
|
'numToStr/Comment.nvim',
|
||||||
config = true,
|
config = true,
|
||||||
|
@ -214,29 +103,6 @@ return {
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
|
||||||
'echasnovski/mini.surround',
|
|
||||||
version = '*',
|
|
||||||
event = 'BufEnter',
|
|
||||||
config = true,
|
|
||||||
main = 'mini.surround',
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
'nvim-neorg/neorg',
|
|
||||||
enabled = false,
|
|
||||||
ft = 'norg',
|
|
||||||
dependencies = { 'nvim-lua/plenary.nvim' },
|
|
||||||
cmd = { 'Neorg' },
|
|
||||||
opts = {
|
|
||||||
load = {
|
|
||||||
['core.defaults'] = {},
|
|
||||||
['core.concealer'] = {},
|
|
||||||
['core.completion'] = { config = { engine = 'nvim-cmp' } },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
|
|
||||||
{ 'fpob/nette.vim', ft = 'nette' },
|
{ 'fpob/nette.vim', ft = 'nette' },
|
||||||
{ 'ziglang/zig.vim', ft = 'zig' },
|
{ 'ziglang/zig.vim', ft = 'zig' },
|
||||||
{ 'chrisbra/csv.vim', ft = 'csv' },
|
{ 'chrisbra/csv.vim', ft = 'csv' },
|
||||||
|
@ -244,7 +110,6 @@ return {
|
||||||
{ 'towolf/vim-helm' },
|
{ 'towolf/vim-helm' },
|
||||||
{ 'grafana/vim-alloy' },
|
{ 'grafana/vim-alloy' },
|
||||||
|
|
||||||
|
|
||||||
{ 'williamboman/mason.nvim', cmd = 'Mason', config = true },
|
{ 'williamboman/mason.nvim', cmd = 'Mason', config = true },
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
|
@ -83,4 +83,5 @@ function M.config()
|
||||||
-- })
|
-- })
|
||||||
end
|
end
|
||||||
|
|
||||||
return M
|
--return M
|
||||||
|
return {}
|
||||||
|
|
|
@ -217,13 +217,13 @@ Shell=.tar.bz
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.bzip
|
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.bzip
|
||||||
|
|
||||||
[tar.bzip2]
|
[tar.bzip2]
|
||||||
Regex=\.t(ar\.bz2|bz2?|b2)$
|
Regex=\\.t(ar\\.bz2|bz2?|b2)$
|
||||||
Open=%cd %p/utar://
|
Open=%cd %p/utar://
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.bzip2
|
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.bzip2
|
||||||
|
|
||||||
# .tar.lzma, .tlz
|
# .tar.lzma, .tlz
|
||||||
[tar.lzma]
|
[tar.lzma]
|
||||||
Regex=\.t(ar\.lzma|lz)$
|
Regex=\\.t(ar\\.lzma|lz)$
|
||||||
Open=%cd %p/utar://
|
Open=%cd %p/utar://
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.lzma
|
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.lzma
|
||||||
|
|
||||||
|
@ -234,19 +234,25 @@ View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.lz
|
||||||
|
|
||||||
# .tar.lz4, .tlz4
|
# .tar.lz4, .tlz4
|
||||||
[tar.lz4]
|
[tar.lz4]
|
||||||
Regex=\.t(ar\.lz4|lz4)$
|
Regex=\\.t(ar\\.lz4|lz4)$
|
||||||
Open=%cd %p/utar://
|
Open=%cd %p/utar://
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.lz4
|
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.lz4
|
||||||
|
|
||||||
|
# .tar.lzo, .tzo
|
||||||
|
[tar.lzo]
|
||||||
|
Regex=\\.t(ar\\.lzo|zo)$
|
||||||
|
Open=%cd %p/utar://
|
||||||
|
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.lzo
|
||||||
|
|
||||||
# .tar.xz, .txz
|
# .tar.xz, .txz
|
||||||
[tar.xz]
|
[tar.xz]
|
||||||
Regex=\.t(ar\.xz|xz)$
|
Regex=\\.t(ar\\.xz|xz)$
|
||||||
Open=%cd %p/utar://
|
Open=%cd %p/utar://
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.xz
|
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.xz
|
||||||
|
|
||||||
# .tar.zst, .tzst
|
# .tar.zst, .tzst
|
||||||
[tar.zst]
|
[tar.zst]
|
||||||
Regex=\.t(ar\.zst|zst)$
|
Regex=\\.t(ar\\.zst|zst)$
|
||||||
Open=%cd %p/utar://
|
Open=%cd %p/utar://
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.zst
|
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.zst
|
||||||
|
|
||||||
|
@ -258,7 +264,7 @@ View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.F
|
||||||
|
|
||||||
# .qpr/.qpk - QNX Neutrino package installer files
|
# .qpr/.qpk - QNX Neutrino package installer files
|
||||||
[tar.qpr]
|
[tar.qpr]
|
||||||
Regex=\.qp[rk]$
|
Regex=\\.qp[rk]$
|
||||||
Open=%cd %p/utar://
|
Open=%cd %p/utar://
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.qpr
|
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.qpr
|
||||||
|
|
||||||
|
@ -269,7 +275,7 @@ Open=%cd %p/utar://
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar
|
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar
|
||||||
|
|
||||||
[arj]
|
[arj]
|
||||||
Regex=\.a(rj|[0-9][0-9])$
|
Regex=\\.a(rj|[0-9][0-9])$
|
||||||
RegexIgnoreCase=true
|
RegexIgnoreCase=true
|
||||||
Open=%cd %p/uarj://
|
Open=%cd %p/uarj://
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view arj
|
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view arj
|
||||||
|
@ -287,7 +293,7 @@ Open=%cd %p/uha://
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view ha
|
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view ha
|
||||||
|
|
||||||
[rar]
|
[rar]
|
||||||
Regex=\.r(ar|[0-9][0-9])$
|
Regex=\\.r(ar|[0-9][0-9])$
|
||||||
RegexIgnoreCase=true
|
RegexIgnoreCase=true
|
||||||
Open=%cd %p/urar://
|
Open=%cd %p/urar://
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view rar
|
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view rar
|
||||||
|
@ -314,6 +320,11 @@ Shell=.cpio.lz4
|
||||||
Open=%cd %p/ucpio://
|
Open=%cd %p/ucpio://
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view cpio.lz4
|
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view cpio.lz4
|
||||||
|
|
||||||
|
[cpio.lzo]
|
||||||
|
Shell=.cpio.lzo
|
||||||
|
Open=%cd %p/ucpio://
|
||||||
|
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view cpio.lzo
|
||||||
|
|
||||||
[cpio.xz]
|
[cpio.xz]
|
||||||
Shell=.cpio.xz
|
Shell=.cpio.xz
|
||||||
Open=%cd %p/ucpio://
|
Open=%cd %p/ucpio://
|
||||||
|
@ -335,7 +346,7 @@ ShellIgnoreCase=true
|
||||||
Include=cpio
|
Include=cpio
|
||||||
|
|
||||||
[initrd]
|
[initrd]
|
||||||
Regex=^(initramfs.*\.img|initrd(-.+)?\.img(-.+)?)$
|
Regex=^(initramfs.*\\.img|initrd(-.+)?\\.img(-.+)?)$
|
||||||
Include=cpio
|
Include=cpio
|
||||||
|
|
||||||
[7zip]
|
[7zip]
|
||||||
|
@ -345,32 +356,32 @@ Open=%cd %p/u7z://
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view 7z
|
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view 7z
|
||||||
|
|
||||||
[patch]
|
[patch]
|
||||||
Regex=\.(diff|patch)$
|
Regex=\\.(diff|patch)$
|
||||||
Open=%cd %p/patchfs://
|
Open=%cd %p/patchfs://
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view cat
|
View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view cat
|
||||||
|
|
||||||
[patch.gz]
|
[patch.gz]
|
||||||
Regex=\.(diff|patch)\.(gz|Z)$
|
Regex=\\.(diff|patch)\\.(gz|Z)$
|
||||||
Open=%cd %p/patchfs://
|
Open=%cd %p/patchfs://
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view gz
|
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view gz
|
||||||
|
|
||||||
[patch.bz2]
|
[patch.bz2]
|
||||||
Regex=\.(diff|patch)\.bz2$
|
Regex=\\.(diff|patch)\\.bz2$
|
||||||
Open=%cd %p/patchfs://
|
Open=%cd %p/patchfs://
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view bz2
|
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view bz2
|
||||||
|
|
||||||
[patch.xz]
|
[patch.xz]
|
||||||
Regex=\.(diff|patch)\.xz$
|
Regex=\\.(diff|patch)\\.xz$
|
||||||
Open=%cd %p/patchfs://
|
Open=%cd %p/patchfs://
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view xz
|
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view xz
|
||||||
|
|
||||||
[patch.zst]
|
[patch.zst]
|
||||||
Regex=\.(diff|patch)\.zst$
|
Regex=\\.(diff|patch)\\.zst$
|
||||||
Open=%cd %p/patchfs://
|
Open=%cd %p/patchfs://
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view zst
|
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view zst
|
||||||
|
|
||||||
[ls-lR]
|
[ls-lR]
|
||||||
Regex=(^|\.)ls-?lR(\.gz|Z|bz2)$
|
Regex=(^|\\.)ls-?lR(\\.gz|Z|bz2)$
|
||||||
Open=%cd %p/lslR://
|
Open=%cd %p/lslR://
|
||||||
|
|
||||||
[trpm]
|
[trpm]
|
||||||
|
@ -380,7 +391,7 @@ View=%view{ascii} /usr/lib/mc/ext.d/package.sh view trpm
|
||||||
|
|
||||||
# RPM packages (SuSE uses *.spm for source packages)
|
# RPM packages (SuSE uses *.spm for source packages)
|
||||||
[src.rpm]
|
[src.rpm]
|
||||||
Regex=\.(src\.rpm|spm)$
|
Regex=\\.(src\\.rpm|spm)$
|
||||||
Open=%cd %p/rpm://
|
Open=%cd %p/rpm://
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/package.sh view src.rpm
|
View=%view{ascii} /usr/lib/mc/ext.d/package.sh view src.rpm
|
||||||
|
|
||||||
|
@ -390,7 +401,7 @@ Open=%cd %p/rpm://
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/package.sh view rpm
|
View=%view{ascii} /usr/lib/mc/ext.d/package.sh view rpm
|
||||||
|
|
||||||
[deb]
|
[deb]
|
||||||
Regex=\.u?deb$
|
Regex=\\.u?deb$
|
||||||
Open=%cd %p/deb://
|
Open=%cd %p/deb://
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/package.sh view deb
|
View=%view{ascii} /usr/lib/mc/ext.d/package.sh view deb
|
||||||
|
|
||||||
|
@ -411,7 +422,7 @@ Open=%cd %p/iso9660://
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view iso9660
|
View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view iso9660
|
||||||
|
|
||||||
[ar]
|
[ar]
|
||||||
Regex=\.s?a$
|
Regex=\\.s?a$
|
||||||
Open=%cd %p/uar://
|
Open=%cd %p/uar://
|
||||||
#Open=%view{ascii} ar tv %f
|
#Open=%view{ascii} ar tv %f
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view ar
|
View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view ar
|
||||||
|
@ -425,12 +436,12 @@ View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view lib
|
||||||
### Sources ###
|
### Sources ###
|
||||||
|
|
||||||
[C/C++]
|
[C/C++]
|
||||||
Regex=\.(c|cc|cpp|cxx|c\+\+)$
|
Regex=\\.(c|cc|cpp|cxx|c\\+\\+)$
|
||||||
RegexIgnoreCase=true
|
RegexIgnoreCase=true
|
||||||
Include=editor
|
Include=editor
|
||||||
|
|
||||||
[C/C++ header]
|
[C/C++ header]
|
||||||
Regex=\.(h|hh|hpp|hxx|h\+\+)$
|
Regex=\\.(h|hh|hpp|hxx|h\\+\\+)$
|
||||||
RegexIgnoreCase=true
|
RegexIgnoreCase=true
|
||||||
Include=editor
|
Include=editor
|
||||||
|
|
||||||
|
@ -440,7 +451,7 @@ ShellIgnoreCase=true
|
||||||
Include=editor
|
Include=editor
|
||||||
|
|
||||||
[Assembler]
|
[Assembler]
|
||||||
Regex=\.(s|asm)$
|
Regex=\\.(s|asm)$
|
||||||
RegexIgnoreCase=true
|
RegexIgnoreCase=true
|
||||||
Include=editor
|
Include=editor
|
||||||
|
|
||||||
|
@ -452,14 +463,19 @@ Include=editor
|
||||||
|
|
||||||
# .so libraries
|
# .so libraries
|
||||||
[so]
|
[so]
|
||||||
Regex=\.(so|so\.[0-9\.]*)$
|
Regex=\\.(so|so\\.[0-9\\.]*)$
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view so
|
View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view so
|
||||||
|
|
||||||
|
# .dylib libraries
|
||||||
|
[dylib]
|
||||||
|
Regex=\\.(dylib|dylib\\.[0-9\\.]*)$
|
||||||
|
View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view dylib
|
||||||
|
|
||||||
|
|
||||||
### Documentation ###
|
### Documentation ###
|
||||||
|
|
||||||
#[Texinfo]
|
#[Texinfo]
|
||||||
#Regex=\.(te?xi|texinfo)$
|
#Regex=\\.(te?xi|texinfo)$
|
||||||
|
|
||||||
[info-by-shell]
|
[info-by-shell]
|
||||||
Shell=.info
|
Shell=.info
|
||||||
|
@ -492,27 +508,32 @@ View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view nroff.ms %var{PAGER:more}
|
||||||
# Manual page
|
# Manual page
|
||||||
|
|
||||||
[man.lz]
|
[man.lz]
|
||||||
Regex=([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.lz$
|
Regex=([^0-9]|^[^\\.]*)\\.([1-9][A-Za-z]*|[ln])\\.lz$
|
||||||
Open=/usr/lib/mc/ext.d/text.sh open man.lz %var{PAGER:more}
|
Open=/usr/lib/mc/ext.d/text.sh open man.lz %var{PAGER:more}
|
||||||
View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view man.lz %var{PAGER:more}
|
View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view man.lz %var{PAGER:more}
|
||||||
|
|
||||||
[man.lz4]
|
[man.lz4]
|
||||||
Regex=([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.lz4$
|
Regex=([^0-9]|^[^\\.]*)\\.([1-9][A-Za-z]*|[ln])\\.lz4$
|
||||||
Open=/usr/lib/mc/ext.d/text.sh open man.lz4 %var{PAGER:more}
|
Open=/usr/lib/mc/ext.d/text.sh open man.lz4 %var{PAGER:more}
|
||||||
View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view man.lz4 %var{PAGER:more}
|
View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view man.lz4 %var{PAGER:more}
|
||||||
|
|
||||||
[man.lzma]
|
[man.lzma]
|
||||||
Regex=([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.lzma$
|
Regex=([^0-9]|^[^\\.]*)\\.([1-9][A-Za-z]*|[ln])\\.lzma$
|
||||||
Open=/usr/lib/mc/ext.d/text.sh open man.lzma %var{PAGER:more}
|
Open=/usr/lib/mc/ext.d/text.sh open man.lzma %var{PAGER:more}
|
||||||
View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view man.lzma %var{PAGER:more}
|
View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view man.lzma %var{PAGER:more}
|
||||||
|
|
||||||
|
[man.lzo]
|
||||||
|
Regex=([^0-9]|^[^\\.]*)\\.([1-9][A-Za-z]*|[ln])\\.lzo$
|
||||||
|
Open=/usr/lib/mc/ext.d/text.sh open man.lzo %var{PAGER:more}
|
||||||
|
View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view man.lzo %var{PAGER:more}
|
||||||
|
|
||||||
[man.xz]
|
[man.xz]
|
||||||
Regex=([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.xz$
|
Regex=([^0-9]|^[^\\.]*)\\.([1-9][A-Za-z]*|[ln])\\.xz$
|
||||||
Open=/usr/lib/mc/ext.d/text.sh open man.xz %var{PAGER:more}
|
Open=/usr/lib/mc/ext.d/text.sh open man.xz %var{PAGER:more}
|
||||||
View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view man.xz %var{PAGER:more}
|
View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view man.xz %var{PAGER:more}
|
||||||
|
|
||||||
[man.zst]
|
[man.zst]
|
||||||
Regex=([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.zst$
|
Regex=([^0-9]|^[^\\.]*)\\.([1-9][A-Za-z]*|[ln])\\.zst$
|
||||||
Open=/usr/lib/mc/ext.d/text.sh open man.zst %var{PAGER:more}
|
Open=/usr/lib/mc/ext.d/text.sh open man.zst %var{PAGER:more}
|
||||||
View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view man.zst %var{PAGER:more}
|
View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view man.zst %var{PAGER:more}
|
||||||
|
|
||||||
|
@ -551,29 +572,66 @@ ShellIgnoreCase=true
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/image.sh view svg
|
View=%view{ascii} /usr/lib/mc/ext.d/image.sh view svg
|
||||||
Open=/usr/lib/mc/ext.d/image.sh open svg
|
Open=/usr/lib/mc/ext.d/image.sh open svg
|
||||||
|
|
||||||
|
[webp]
|
||||||
|
Shell=.webp
|
||||||
|
View=%view{ascii} /usr/lib/mc/ext.d/image.sh view webp
|
||||||
|
Open=/usr/lib/mc/ext.d/image.sh open webp
|
||||||
|
|
||||||
|
[avif]
|
||||||
|
Shell=.avif
|
||||||
|
View=%view{ascii} /usr/lib/mc/ext.d/image.sh view avif
|
||||||
|
Open=/usr/lib/mc/ext.d/image.sh open avif
|
||||||
|
|
||||||
### Sound files ###
|
### Sound files ###
|
||||||
|
|
||||||
[sound]
|
[sound]
|
||||||
Regex=\.(wav|snd|voc|au|smp|aiff|aif|snd|m4a|ape|aac|wv|spx|flac|mp3|ogg|wma|opus)$
|
Regex=\\.(wav|snd|voc|au|smp|aiff|snd|m4a|ape|aac|wv|spx|flac)$
|
||||||
RegexIgnoreCase=true
|
RegexIgnoreCase=true
|
||||||
Open=/usr/bin/cmus-remote -q %f
|
Open=/usr/lib/mc/ext.d/sound.sh open common
|
||||||
View=herbstclient spawn /usr/bin/ffplay %f
|
View=%view{ascii} /usr/lib/mc/ext.d/sound.sh view common
|
||||||
Edit=herbstclient spawn /usr/bin/kid3-qt %f
|
|
||||||
|
|
||||||
[mod]
|
[mod]
|
||||||
Regex=\.(mod|s3m|xm|it|mtm|669|stm|ult|far)$
|
Regex=\\.(mod|s3m|xm|it|mtm|669|stm|ult|far)$
|
||||||
RegexIgnoreCase=true
|
RegexIgnoreCase=true
|
||||||
Open=/usr/lib/mc/ext.d/sound.sh open mod
|
Open=/usr/lib/mc/ext.d/sound.sh open mod
|
||||||
|
|
||||||
|
[wav22]
|
||||||
|
Shell=.waw22
|
||||||
|
ShellIgnoreCase=true
|
||||||
|
Open=/usr/lib/mc/ext.d/sound.sh open wav22
|
||||||
|
|
||||||
|
[mp3]
|
||||||
|
Shell=.mp3
|
||||||
|
ShellIgnoreCase=true
|
||||||
|
Open=/usr/lib/mc/ext.d/sound.sh open mp3
|
||||||
|
View=%view{ascii} /usr/lib/mc/ext.d/sound.sh view mp3
|
||||||
|
|
||||||
|
[ogg]
|
||||||
|
Regex=\\.og[gax]$
|
||||||
|
RegexIgnoreCase=true
|
||||||
|
Open=/usr/lib/mc/ext.d/sound.sh open ogg
|
||||||
|
View=%view{ascii} /usr/lib/mc/ext.d/sound.sh view ogg
|
||||||
|
|
||||||
|
[opus]
|
||||||
|
Shell=.opus
|
||||||
|
ShellIgnoreCase=true
|
||||||
|
Open=/usr/lib/mc/ext.d/sound.sh open opus
|
||||||
|
View=%view{ascii} /usr/lib/mc/ext.d/sound.sh view opus
|
||||||
|
|
||||||
[midi]
|
[midi]
|
||||||
Regex=\.(midi?|rmid?)$
|
Regex=\\.(midi?|rmid?)$
|
||||||
RegexIgnoreCase=true
|
RegexIgnoreCase=true
|
||||||
Open=/usr/lib/mc/ext.d/sound.sh open midi
|
Open=/usr/lib/mc/ext.d/sound.sh open midi
|
||||||
|
|
||||||
|
[wma]
|
||||||
|
Shell=.wma
|
||||||
|
ShellIgnoreCase=true
|
||||||
|
Open=/usr/lib/mc/ext.d/sound.sh open wma
|
||||||
|
View=%view{ascii} /usr/lib/mc/ext.d/sound.sh view wma
|
||||||
|
|
||||||
# Play list
|
# Play list
|
||||||
[playlist]
|
[playlist]
|
||||||
Regex=\.(m3u|pls)$
|
Regex=\\.(m3u|pls)$
|
||||||
RegexIgnoreCase=true
|
RegexIgnoreCase=true
|
||||||
Open=/usr/lib/mc/ext.d/sound.sh open playlist
|
Open=/usr/lib/mc/ext.d/sound.sh open playlist
|
||||||
|
|
||||||
|
@ -586,7 +644,7 @@ ShellIgnoreCase=true
|
||||||
Include=video
|
Include=video
|
||||||
|
|
||||||
[asf]
|
[asf]
|
||||||
Regex=\.as[fx]$
|
Regex=\\.as[fx]$
|
||||||
RegexIgnoreCase=true
|
RegexIgnoreCase=true
|
||||||
Include=video
|
Include=video
|
||||||
|
|
||||||
|
@ -601,12 +659,12 @@ ShellIgnoreCase=true
|
||||||
Include=video
|
Include=video
|
||||||
|
|
||||||
[mov]
|
[mov]
|
||||||
Regex=\.(mov|qt)$
|
Regex=\\.(mov|qt)$
|
||||||
RegexIgnoreCase=true
|
RegexIgnoreCase=true
|
||||||
Include=video
|
Include=video
|
||||||
|
|
||||||
[mp4]
|
[mp4]
|
||||||
Regex=\.(mp4|m4v|mpe?g)$
|
Regex=\\.(mp4|m4v|mpe?g)$
|
||||||
RegexIgnoreCase=true
|
RegexIgnoreCase=true
|
||||||
Include=video
|
Include=video
|
||||||
|
|
||||||
|
@ -632,7 +690,7 @@ ShellIgnoreCase=true
|
||||||
Include=video
|
Include=video
|
||||||
|
|
||||||
[fli]
|
[fli]
|
||||||
Regex=\.fl[icv]$
|
Regex=\\.fl[icv]$
|
||||||
RegexIgnoreCase=true
|
RegexIgnoreCase=true
|
||||||
Include=video
|
Include=video
|
||||||
|
|
||||||
|
@ -642,7 +700,7 @@ ShellIgnoreCase=true
|
||||||
Include=video
|
Include=video
|
||||||
|
|
||||||
[realaudio]
|
[realaudio]
|
||||||
Regex=\.ra?m$
|
Regex=\\.ra?m$
|
||||||
RegexIgnoreCase=true
|
RegexIgnoreCase=true
|
||||||
Open=/usr/lib/mc/ext.d/video.sh open ram
|
Open=/usr/lib/mc/ext.d/video.sh open ram
|
||||||
|
|
||||||
|
@ -655,7 +713,7 @@ Include=video
|
||||||
### Documents ###
|
### Documents ###
|
||||||
|
|
||||||
[html]
|
[html]
|
||||||
Regex=\.html?$
|
Regex=\\.html?$
|
||||||
RegexIgnoreCase=true
|
RegexIgnoreCase=true
|
||||||
Open=/usr/lib/mc/ext.d/web.sh open html
|
Open=/usr/lib/mc/ext.d/web.sh open html
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/web.sh view html
|
View=%view{ascii} /usr/lib/mc/ext.d/web.sh view html
|
||||||
|
@ -667,7 +725,7 @@ Open=/usr/lib/mc/ext.d/doc.sh open ooffice
|
||||||
|
|
||||||
# StarOffice 6 and OpenOffice.org formats
|
# StarOffice 6 and OpenOffice.org formats
|
||||||
[OpenOffice.org]
|
[OpenOffice.org]
|
||||||
Regex=\.(odt|fodt|ott|sxw|stw|ods|fods|ots|sxc|stc|odp|fodp|otp|sxi|sti|odg|fodg|otg|sxd|std|odb|odf|sxm|odm|sxg)$
|
Regex=\\.(odt|fodt|ott|sxw|stw|ods|fods|ots|sxc|stc|odp|fodp|otp|sxi|sti|odg|fodg|otg|sxd|std|odb|odf|sxm|odm|sxg)$
|
||||||
RegexIgnoreCase=true
|
RegexIgnoreCase=true
|
||||||
Open=/usr/lib/mc/ext.d/doc.sh open ooffice
|
Open=/usr/lib/mc/ext.d/doc.sh open ooffice
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view odt
|
View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view odt
|
||||||
|
@ -689,21 +747,21 @@ Open=/usr/lib/mc/ext.d/doc.sh open msdoc
|
||||||
|
|
||||||
# Microsoft Word Document
|
# Microsoft Word Document
|
||||||
[msdoc-by-shell]
|
[msdoc-by-shell]
|
||||||
Regex=\.(do[ct]|wri|docx)$
|
Regex=\\.(do[ct]|wri|docx)$
|
||||||
RegexIgnoreCase=true
|
RegexIgnoreCase=true
|
||||||
Open=/usr/lib/mc/ext.d/doc.sh open msdoc
|
Open=/usr/lib/mc/ext.d/doc.sh open msdoc
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view msdoc
|
View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view msdoc
|
||||||
|
|
||||||
# Microsoft Excel Worksheet
|
# Microsoft Excel Worksheet
|
||||||
[msxls-by-shell]
|
[msxls-by-shell]
|
||||||
Regex=\.(xl[sw]|xlsx)$
|
Regex=\\.(xl[sw]|xlsx)$
|
||||||
RegexIgnoreCase=true
|
RegexIgnoreCase=true
|
||||||
Open=/usr/lib/mc/ext.d/doc.sh open msxls
|
Open=/usr/lib/mc/ext.d/doc.sh open msxls
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view msxls
|
View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view msxls
|
||||||
|
|
||||||
# Microsoft PowerPoint Presentation
|
# Microsoft PowerPoint Presentation
|
||||||
[msppt]
|
[msppt]
|
||||||
Regex=\.(pp[ts]|pptx)$
|
Regex=\\.(pp[ts]|pptx)$
|
||||||
RegexIgnoreCase=true
|
RegexIgnoreCase=true
|
||||||
Open=/usr/lib/mc/ext.d/doc.sh open msppt
|
Open=/usr/lib/mc/ext.d/doc.sh open msppt
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view msppt
|
View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view msppt
|
||||||
|
@ -720,25 +778,25 @@ ShellIgnoreCase=true
|
||||||
Include=editor
|
Include=editor
|
||||||
|
|
||||||
[markdown]
|
[markdown]
|
||||||
Regex=\.(md|mkd)$
|
Regex=\\.mk?d$
|
||||||
ShellIgnoreCase=true
|
RegexIgnoreCase=true
|
||||||
Include=editor
|
Include=editor
|
||||||
|
|
||||||
[djvu]
|
[djvu]
|
||||||
Regex=\.djvu?$
|
Regex=\\.djvu?$
|
||||||
RegexIgnoreCase=true
|
RegexIgnoreCase=true
|
||||||
Open=/usr/lib/mc/ext.d/doc.sh open djvu
|
Open=/usr/lib/mc/ext.d/doc.sh open djvu
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view djvu
|
View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view djvu
|
||||||
|
|
||||||
# Comic Books
|
# Comic Books
|
||||||
[cbr]
|
[cbr]
|
||||||
Regex=\.cb[zr]$
|
Regex=\\.cb[zr]$
|
||||||
RegexIgnoreCase=true
|
RegexIgnoreCase=true
|
||||||
Open=/usr/lib/mc/ext.d/doc.sh open comic
|
Open=/usr/lib/mc/ext.d/doc.sh open comic
|
||||||
|
|
||||||
# Epup, mobi, fb2
|
# Epup, mobi, fb2
|
||||||
[ebook]
|
[ebook]
|
||||||
Regex=\.(epub|mobi|fb2)$
|
Regex=\\.(epub|mobi|fb2)$
|
||||||
RegexIgnoreCase=true
|
RegexIgnoreCase=true
|
||||||
Open=/usr/lib/mc/ext.d/doc.sh open ebook
|
Open=/usr/lib/mc/ext.d/doc.sh open ebook
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view ebook
|
View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view ebook
|
||||||
|
@ -757,11 +815,11 @@ Open=xmkmf -a
|
||||||
|
|
||||||
# Makefile.PL (MakeMaker)
|
# Makefile.PL (MakeMaker)
|
||||||
[Makefile.pl]
|
[Makefile.pl]
|
||||||
Regex=^Makefile\.(PL|pl)$
|
Regex=^Makefile\\.(PL|pl)$
|
||||||
Open=%var{PERL:perl} %f
|
Open=%var{PERL:perl} %f
|
||||||
|
|
||||||
[Makefile]
|
[Makefile]
|
||||||
Regex=^[Mm]akefile
|
Regex=^[Mm]akefile$
|
||||||
Open=make -f %f %{Enter parameters}
|
Open=make -f %f %{Enter parameters}
|
||||||
|
|
||||||
[dbf]
|
[dbf]
|
||||||
|
@ -772,7 +830,7 @@ View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view dbf
|
||||||
|
|
||||||
# REXX script
|
# REXX script
|
||||||
[rexx]
|
[rexx]
|
||||||
Regex=\.(rexx?|cmd)$
|
Regex=\\.(rexx?|cmd)$
|
||||||
Open=rexx %f %{Enter parameters};echo "Press ENTER";read y
|
Open=rexx %f %{Enter parameters};echo "Press ENTER";read y
|
||||||
|
|
||||||
# Disk images for Commodore computers (VIC20, C64, C128)
|
# Disk images for Commodore computers (VIC20, C64, C128)
|
||||||
|
@ -790,7 +848,7 @@ Open=/usr/lib/mc/ext.d/misc.sh open glade
|
||||||
|
|
||||||
# Gettext Catalogs
|
# Gettext Catalogs
|
||||||
[mo]
|
[mo]
|
||||||
Regex=.g?mo$
|
Regex=\\.g?mo$
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view mo
|
View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view mo
|
||||||
|
|
||||||
[po]
|
[po]
|
||||||
|
@ -907,7 +965,7 @@ Type=^JPEG
|
||||||
Include=image
|
Include=image
|
||||||
|
|
||||||
[bitmap]
|
[bitmap]
|
||||||
Type=^PC\ bitmap
|
Type=^PC bitmap
|
||||||
Include=image
|
Include=image
|
||||||
|
|
||||||
[png]
|
[png]
|
||||||
|
@ -959,28 +1017,28 @@ View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view ps
|
||||||
|
|
||||||
[pdf]
|
[pdf]
|
||||||
Type=^PDF
|
Type=^PDF
|
||||||
Open=/usr/bin/zathura %f
|
Open=/usr/lib/mc/ext.d/doc.sh open pdf
|
||||||
View=/usr/bin/zathura %f
|
View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view pdf
|
||||||
|
|
||||||
# Microsoft Word Document
|
# Microsoft Word Document
|
||||||
[msdoc-by-type]
|
[msdoc-by-type]
|
||||||
Type=^Microsoft\ Word
|
Type=^Microsoft Word
|
||||||
Open=/usr/lib/mc/ext.d/doc.sh open msdoc
|
Open=/usr/lib/mc/ext.d/doc.sh open msdoc
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view msdoc
|
View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view msdoc
|
||||||
|
|
||||||
# Microsoft Excel Worksheet
|
# Microsoft Excel Worksheet
|
||||||
[msxls-by-type]
|
[msxls-by-type]
|
||||||
Type=^Microsoft\ Excel
|
Type=^Microsoft Excel
|
||||||
Open=/usr/lib/mc/ext.d/doc.sh open msxls
|
Open=/usr/lib/mc/ext.d/doc.sh open msxls
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view msxls
|
View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view msxls
|
||||||
|
|
||||||
# Use OpenOffice.org/LibreOffice to open any MS Office documents
|
# Use OpenOffice.org/LibreOffice to open any MS Office documents
|
||||||
[mso-doc-1]
|
[mso-doc-1]
|
||||||
Type=^Microsoft\ Office\ Document
|
Type=^Microsoft Office Document
|
||||||
Open=/usr/lib/mc/ext.d/doc.sh open ooffice
|
Open=/usr/lib/mc/ext.d/doc.sh open ooffice
|
||||||
|
|
||||||
[mso-doc-2]
|
[mso-doc-2]
|
||||||
Type=^Microsoft\ OOXML
|
Type=^Microsoft OOXML
|
||||||
Open=/usr/lib/mc/ext.d/doc.sh open ooffice
|
Open=/usr/lib/mc/ext.d/doc.sh open ooffice
|
||||||
|
|
||||||
[framemaker]
|
[framemaker]
|
||||||
|
@ -999,69 +1057,69 @@ View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view sqlite
|
||||||
### Plain compressed files ###
|
### Plain compressed files ###
|
||||||
|
|
||||||
[gzip]
|
[gzip]
|
||||||
Type=\(gzip compressed
|
Type=\\(gzip compressed
|
||||||
Open=/usr/lib/mc/ext.d/archive.sh view gz %var{PAGER:more}
|
Open=/usr/lib/mc/ext.d/archive.sh view gz %var{PAGER:more}
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view gz
|
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view gz
|
||||||
|
|
||||||
[bzip]
|
[bzip]
|
||||||
Type=\(bzip compressed
|
Type=\\(bzip compressed
|
||||||
Open=/usr/lib/mc/ext.d/archive.sh view bzip %var{PAGER:more}
|
Open=/usr/lib/mc/ext.d/archive.sh view bzip %var{PAGER:more}
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view bzip
|
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view bzip
|
||||||
|
|
||||||
[bzip2]
|
[bzip2]
|
||||||
Type=\(bzip2 compressed
|
Type=\\(bzip2 compressed
|
||||||
Open=/usr/lib/mc/ext.d/archive.sh view bzip2 %var{PAGER:more}
|
Open=/usr/lib/mc/ext.d/archive.sh view bzip2 %var{PAGER:more}
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view bz2
|
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view bz2
|
||||||
|
|
||||||
[compress]
|
[compress]
|
||||||
Type=\(compress'd
|
Type=\\(compress'd
|
||||||
Open=/usr/lib/mc/ext.d/archive.sh view gz %var{PAGER:more}
|
Open=/usr/lib/mc/ext.d/archive.sh view gz %var{PAGER:more}
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view gz
|
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view gz
|
||||||
|
|
||||||
[lz]
|
[lz]
|
||||||
Type=\(lzip compressed
|
Type=\\(lzip compressed
|
||||||
Open=/usr/lib/mc/ext.d/archive.sh view lz %var{PAGER:more}
|
Open=/usr/lib/mc/ext.d/archive.sh view lz %var{PAGER:more}
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view lz
|
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view lz
|
||||||
|
|
||||||
[lzma]
|
[lzma]
|
||||||
Type=\(LZMA compressed
|
Type=\\(LZMA compressed
|
||||||
Open=/usr/lib/mc/ext.d/archive.sh view lzma %var{PAGER:more}
|
Open=/usr/lib/mc/ext.d/archive.sh view lzma %var{PAGER:more}
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view lzma
|
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view lzma
|
||||||
|
|
||||||
[xz]
|
[xz]
|
||||||
Type=\(XZ compressed
|
Type=\\(XZ compressed
|
||||||
Open=/usr/lib/mc/ext.d/archive.sh view xz %var{PAGER:more}
|
Open=/usr/lib/mc/ext.d/archive.sh view xz %var{PAGER:more}
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view xz
|
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view xz
|
||||||
|
|
||||||
[zstd]
|
[zstd]
|
||||||
Type=\(Zstandard compressed
|
Type=\\(Zstandard compressed
|
||||||
Open=/usr/lib/mc/ext.d/archive.sh view zst %var{PAGER:more}
|
Open=/usr/lib/mc/ext.d/archive.sh view zst %var{PAGER:more}
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view zst
|
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view zst
|
||||||
|
|
||||||
[zip-by-type]
|
[zip-by-type]
|
||||||
Type=\(Zip archive
|
Type=\\(Zip archive
|
||||||
Open=%cd %p/uzip://
|
Open=%cd %p/uzip://
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view zip
|
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view zip
|
||||||
|
|
||||||
[jar]
|
[jar]
|
||||||
Type=\(Java\ (Jar\ file|archive)\ data\ \((zip|JAR)\)
|
Type=\\(Java (Jar file|archive) data \\((zip|JAR)\\)\\)
|
||||||
TypeIgnoreCase=true
|
TypeIgnoreCase=true
|
||||||
Open=%cd %p/uzip://
|
Open=%cd %p/uzip://
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view zip
|
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view zip
|
||||||
|
|
||||||
[lha]
|
[lha]
|
||||||
Type=^LHa\ .*archive
|
Type=^LHa .*archive
|
||||||
Open=%cd %p/ulha://
|
Open=%cd %p/ulha://
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view lha
|
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view lha
|
||||||
|
|
||||||
[pak]
|
[pak]
|
||||||
Type=^PAK\ .*archive
|
Type=^PAK .*archive
|
||||||
Open=%cd %p/unar://
|
Open=%cd %p/unar://
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view pak
|
View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view pak
|
||||||
|
|
||||||
# Parity Archive
|
# Parity Archive
|
||||||
[par2]
|
[par2]
|
||||||
Type=^Parity\ Archive\ Volume\ Set
|
Type=^Parity Archive Volume Set
|
||||||
Open=/usr/lib/mc/ext.d/archive.sh open par2
|
Open=/usr/lib/mc/ext.d/archive.sh open par2
|
||||||
|
|
||||||
|
|
||||||
|
@ -1084,8 +1142,8 @@ Open=/usr/lib/mc/ext.d/image.sh open ALL_FORMATS
|
||||||
View=%view{ascii} /usr/lib/mc/ext.d/image.sh view ALL_FORMATS
|
View=%view{ascii} /usr/lib/mc/ext.d/image.sh view ALL_FORMATS
|
||||||
|
|
||||||
[Include/video]
|
[Include/video]
|
||||||
Open=/usr/bin/vlc %f &>/dev/null &
|
Open=handlr open %f
|
||||||
View=/usr/bin/ffplay %f
|
View=%view{ascii} ffprobe -hide_banner %f
|
||||||
|
|
||||||
|
|
||||||
######### Default #########
|
######### Default #########
|
||||||
|
|
|
@ -36,3 +36,4 @@ x-scheme-handler/snews=userapp-Thunderbird-LIA6B2.desktop;
|
||||||
x-scheme-handler/terminal=kitty.desktop;
|
x-scheme-handler/terminal=kitty.desktop;
|
||||||
x-scheme-handler/webcal=userapp-Thunderbird-FW84B2.desktop;
|
x-scheme-handler/webcal=userapp-Thunderbird-FW84B2.desktop;
|
||||||
x-scheme-handler/webcals=userapp-Thunderbird-FW84B2.desktop;
|
x-scheme-handler/webcals=userapp-Thunderbird-FW84B2.desktop;
|
||||||
|
x-scheme-handler/msteams=teams.desktop
|
||||||
|
|
|
@ -2010,6 +2010,8 @@ config.bind('d', 'tab-close --prev')
|
||||||
config.bind('D', 'tab-close --next')
|
config.bind('D', 'tab-close --next')
|
||||||
config.bind('cl', 'tab-only --pinned keep --prev')
|
config.bind('cl', 'tab-only --pinned keep --prev')
|
||||||
config.bind('ch', 'tab-only --pinned keep --next')
|
config.bind('ch', 'tab-only --pinned keep --next')
|
||||||
|
config.bind(' pp', 'spawn --userscript gopass-fill')
|
||||||
|
config.bind(' po', 'spawn --userscript gopass-fill otp')
|
||||||
# config.bind("'", 'mode-enter jump_mark')
|
# config.bind("'", 'mode-enter jump_mark')
|
||||||
# config.bind('+', 'zoom-in')
|
# config.bind('+', 'zoom-in')
|
||||||
# config.bind('-', 'zoom-out')
|
# config.bind('-', 'zoom-out')
|
||||||
|
|
|
@ -5,18 +5,20 @@
|
||||||
// "width": 1280, // Waybar width
|
// "width": 1280, // Waybar width
|
||||||
"spacing": 4, // Gaps between modules (4px)
|
"spacing": 4, // Gaps between modules (4px)
|
||||||
// Choose the order of the modules
|
// Choose the order of the modules
|
||||||
"modules-left": ["wlr/workspaces", "hyprland/window"],
|
"modules-left": ["hyprland/workspaces", "hyprland/window"],
|
||||||
// "modules-center": [],
|
// "modules-center": [],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
"mpd",
|
|
||||||
"idle_inhibitor",
|
"idle_inhibitor",
|
||||||
"pulseaudio",
|
"pulseaudio",
|
||||||
"cpu",
|
"cpu",
|
||||||
"memory",
|
"memory",
|
||||||
|
"network",
|
||||||
"clock",
|
"clock",
|
||||||
|
"upower",
|
||||||
"tray"
|
"tray"
|
||||||
],
|
],
|
||||||
// Modules configuration
|
// Modules configuration
|
||||||
|
"hyprland-workspaces": {},
|
||||||
"keyboard-state": {
|
"keyboard-state": {
|
||||||
"numlock": true,
|
"numlock": true,
|
||||||
"capslock": true,
|
"capslock": true,
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
IMAPAccount gmail
|
IMAPAccount gmail
|
||||||
Host imap.gmail.com
|
Host imap.gmail.com
|
||||||
User vlada.dudr@gmail.com
|
User vlada.dudr@gmail.com
|
||||||
SSLType IMAPS
|
TLSType IMAPS
|
||||||
PassCmd "pass show mail/gmail"
|
PassCmd "gopass show mail/gmail"
|
||||||
CertificateFile /etc/ssl/certs/ca-certificates.crt
|
CertificateFile /etc/ssl/certs/ca-certificates.crt
|
||||||
|
|
||||||
IMAPStore gmail-remote
|
IMAPStore gmail-remote
|
||||||
|
|
Loading…
Add table
Reference in a new issue