Paridad escritorio laptop y mientras sigo experimentando con el cache
de mpv a ver que carajo anda pasando que los videos en la red interna cargan tan lento...
This commit is contained in:
parent
7405e6d5e8
commit
f20c2905cc
10
fzf-marks
10
fzf-marks
|
@ -8,14 +8,14 @@ dunst : /home/corpse/.config/dunst/dunstrc
|
|||
xresources : /home/corpse/.config/X11/xresources
|
||||
polybar : /home/corpse/.config/polybar/config
|
||||
correo : /home/corpse/.config/neomutt
|
||||
keys : /home/corpse/.config/sxhkd/sxhkdrc
|
||||
xinit : /home/corpse/.config/X11/xinitrc
|
||||
bspwm : /home/corpse/.config/bspwm/bspwmrc
|
||||
terminal : /home/corpse/.config/alacritty.yml
|
||||
zshenv : /home/corpse/.zshenv
|
||||
lf : /home/corpse/.config/lf/lfrc
|
||||
tmux : /home/corpse/.config/tmux/tmux.conf
|
||||
keys : /home/corpse/.config/sxhkd/sxhkdrc
|
||||
lf : /home/corpse/.config/lf/lfrc
|
||||
alias : /home/corpse/.config/zsh/conf/03_aliases.zsh
|
||||
mpv : /home/corpse/.config/mpv/mpv.conf
|
||||
zsh : /home/corpse/.config/zsh
|
||||
zshenv : /home/corpse/.zshenv
|
||||
nvim : /home/corpse/.config/nvim
|
||||
zsh : /home/corpse/.config/zsh
|
||||
mpv : /home/corpse/.config/mpv/mpv.conf
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# scale=ewa_lanczossharp
|
||||
# cscale=ewa_lanczossharp
|
||||
hwdec=vaapi
|
||||
volume=70
|
||||
volume=60
|
||||
deband=no
|
||||
geometry=50%:50%
|
||||
alang=eng,en
|
||||
|
@ -13,14 +13,14 @@ stop-playback-on-init-failure=yes
|
|||
idle=once
|
||||
osc=yes
|
||||
cache=yes
|
||||
cache-pause-wait=180
|
||||
demuxer-max-bytes=10240k
|
||||
cache-secs=15
|
||||
cache-pause-wait=120
|
||||
ytdl-raw-options=youtube-skip-dash-manifest=,no-call-home=,no-cache-dir=,geo-bypass=
|
||||
screenshot-format=png
|
||||
screenshot-directory="~/img/scrot"
|
||||
osd-level=1
|
||||
osd-duration="3500"
|
||||
osd-font="IBM Plex Sans"
|
||||
osd-font="Noto Sans"
|
||||
osd-font-size="25"
|
||||
osd-border-size="2"
|
||||
osd-margin-x="10"
|
||||
|
|
|
@ -49,6 +49,7 @@ use {
|
|||
end,
|
||||
cmd = { "LspTrouble" },
|
||||
}
|
||||
use({ 'jose-elias-alvarez/null-ls.nvim', requires = {'nvim-lua/plenary.nvim', 'neovim/nvim-lspconfig'}, config = [[ require('plugins/nulls') ]] })
|
||||
end,
|
||||
config = {
|
||||
compile_path = vim.fn.stdpath('config')..'/lua/packer_compiled.lua',
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
vim.cmd [[
|
||||
vim.cmd([[
|
||||
highlight LspDiagnosticsLineNrError guibg=#51202A guifg=#FF0000 gui=bold
|
||||
highlight LspDiagnosticsLineNrWarning guibg=#51412A guifg=#FFA500 gui=bold
|
||||
highlight LspDiagnosticsLineNrInformation guibg=#1E535D guifg=#00FFFF gui=bold
|
||||
|
@ -8,100 +8,87 @@ sign define LspDiagnosticsSignError text= texthl=LspDiagnosticsSignError line
|
|||
sign define LspDiagnosticsSignWarning text= texthl=LspDiagnosticsSignWarning linehl= numhl=LspDiagnosticsLineNrWarning
|
||||
sign define LspDiagnosticsSignInformation text= texthl=LspDiagnosticsSignInformation linehl= numhl=LspDiagnosticsLineNrInformation
|
||||
sign define LspDiagnosticsSignHint text= texthl=LspDiagnosticsSignHint linehl= numhl=LspDiagnosticsLineNrHint
|
||||
]]
|
||||
]])
|
||||
|
||||
vim.lsp.handlers['textDocument/publishDiagnostics'] = vim.lsp.with(vim.lsp.diagnostic.on_publish_diagnostics, {
|
||||
vim.lsp.handlers["textDocument/publishDiagnostics"] = vim.lsp.with(vim.lsp.diagnostic.on_publish_diagnostics, {
|
||||
underline = true,
|
||||
signs = true,
|
||||
update_in_insert = true,
|
||||
severity_sort = true,
|
||||
virtual_text = {
|
||||
spacing = 5,
|
||||
severity_limit = 'Hint',
|
||||
source = 'always',
|
||||
severity_limit = "Hint",
|
||||
source = "always",
|
||||
},
|
||||
})
|
||||
|
||||
local nvim_lsp = require'lspconfig'
|
||||
local nvim_lsp = require("lspconfig")
|
||||
local on_attach = function(client, bufnr)
|
||||
vim.api.nvim_buf_set_option(bufnr, 'omnifunc', 'v:lua.vim.lsp.omnifunc')
|
||||
vim.api.nvim_buf_set_option(bufnr, "omnifunc", "v:lua.vim.lsp.omnifunc")
|
||||
local opts = { noremap = true, silent = true }
|
||||
vim.api.nvim_buf_set_keymap(bufnr, 'n', 'gd', '<cmd>lua vim.lsp.buf.definition()<CR>', opts)
|
||||
vim.api.nvim_buf_set_keymap(bufnr, 'n', 'gi', '<cmd>lua vim.lsp.buf.implementation()<CR>', opts)
|
||||
vim.api.nvim_buf_set_keymap(bufnr, 'n', 'K', '<cmd>lua vim.lsp.buf.hover()<CR>', opts)
|
||||
vim.api.nvim_buf_set_keymap(bufnr, 'n', '<C-k>', '<cmd>lua vim.lsp.buf.signature_help()<CR>', opts)
|
||||
vim.api.nvim_buf_set_keymap(bufnr, 'n', '<leader>rn', '<cmd>lua vim.lsp.buf.rename()<CR>', opts)
|
||||
vim.api.nvim_buf_set_keymap(bufnr, 'n', 'gr', '<cmd>lua vim.lsp.buf.references()<CR>', opts)
|
||||
vim.api.nvim_buf_set_keymap(bufnr, 'n', '<leader>ca', '<cmd>lua vim.lsp.buf.code_action()<CR>', opts)
|
||||
vim.api.nvim_buf_set_keymap(bufnr, 'n', '<leader>e', '<cmd>lua vim.lsp.diagnostic.show_line_diagnostics()<CR>', opts)
|
||||
vim.api.nvim_buf_set_keymap(bufnr, 'n', '}d', '<cmd>lua vim.lsp.diagnostic.goto_next()<CR>', opts)
|
||||
vim.api.nvim_buf_set_keymap(bufnr, 'n', 'qq', '<cmd>lua vim.lsp.diagnostic.set_loclist()<CR>', opts)
|
||||
vim.api.nvim_buf_set_keymap(bufnr, "n", "gd", "<cmd>lua vim.lsp.buf.definition()<CR>", opts)
|
||||
vim.api.nvim_buf_set_keymap(bufnr, "n", "gi", "<cmd>lua vim.lsp.buf.implementation()<CR>", opts)
|
||||
vim.api.nvim_buf_set_keymap(bufnr, "n", "K", "<cmd>lua vim.lsp.buf.hover()<CR>", opts)
|
||||
vim.api.nvim_buf_set_keymap(bufnr, "n", "<C-k>", "<cmd>lua vim.lsp.buf.signature_help()<CR>", opts)
|
||||
vim.api.nvim_buf_set_keymap(bufnr, "n", "<leader>rn", "<cmd>lua vim.lsp.buf.rename()<CR>", opts)
|
||||
vim.api.nvim_buf_set_keymap(bufnr, "n", "gr", "<cmd>lua vim.lsp.buf.references()<CR>", opts)
|
||||
vim.api.nvim_buf_set_keymap(bufnr, "n", "<leader>ca", "<cmd>lua vim.lsp.buf.code_action()<CR>", opts)
|
||||
vim.api.nvim_buf_set_keymap(
|
||||
bufnr,
|
||||
"n",
|
||||
"<leader>e",
|
||||
"<cmd>lua vim.lsp.diagnostic.show_line_diagnostics()<CR>",
|
||||
opts
|
||||
)
|
||||
vim.api.nvim_buf_set_keymap(bufnr, "n", "}d", "<cmd>lua vim.lsp.diagnostic.goto_next()<CR>", opts)
|
||||
vim.api.nvim_buf_set_keymap(bufnr, "n", "qq", "<cmd>lua vim.lsp.diagnostic.set_loclist()<CR>", opts)
|
||||
vim.lsp.handlers["textDocument/signatureHelp"] = vim.lsp.with(vim.lsp.handlers.signature_help, {
|
||||
border = "single",
|
||||
})
|
||||
require "lsp_signature".on_attach({
|
||||
require("lsp_signature").on_attach({
|
||||
bind = true,
|
||||
hint_prefix = " ",
|
||||
hi_parameter = "ModeMsg",
|
||||
transparency = 80,
|
||||
trigger_on_newline = false,
|
||||
toggle_key = '<M-f>',
|
||||
toggle_key = "<M-f>",
|
||||
})
|
||||
if client.resolved_capabilities.document_formatting then
|
||||
vim.cmd("autocmd BufWritePre <buffer> lua vim.lsp.buf.formatting_sync()")
|
||||
end
|
||||
end
|
||||
|
||||
nvim_lsp.jsonls.setup {
|
||||
commands = {
|
||||
Format = {
|
||||
function()
|
||||
vim.lsp.buf.range_formatting({},{0,0},{vim.fn.line("$"),0})
|
||||
end
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
require'lspconfig/configs'.ls_emmet = {
|
||||
require("lspconfig/configs").ls_emmet = {
|
||||
default_config = {
|
||||
cmd = { 'ls_emmet', '--stdio' };
|
||||
filetypes = { 'html', 'css', 'scss', 'javascript', 'javascriptreact', 'typescript', 'typescriptreact', 'haml',
|
||||
'xml', 'xsl', 'pug', 'slim', 'sass', 'stylus', 'less', 'sss', 'svelte'};
|
||||
cmd = { "ls_emmet", "--stdio" },
|
||||
filetypes = {
|
||||
"html",
|
||||
"css",
|
||||
"scss",
|
||||
"javascript",
|
||||
"javascriptreact",
|
||||
"typescript",
|
||||
"typescriptreact",
|
||||
"haml",
|
||||
"xml",
|
||||
"xsl",
|
||||
"pug",
|
||||
"slim",
|
||||
"sass",
|
||||
"stylus",
|
||||
"less",
|
||||
"sss",
|
||||
"svelte",
|
||||
},
|
||||
root_dir = function(fname)
|
||||
return vim.loop.cwd()
|
||||
end;
|
||||
settings = {};
|
||||
};
|
||||
}
|
||||
|
||||
local shellcheck = {
|
||||
lintCommand = 'shellcheck -f gcc -x',
|
||||
lintSource = "shellcheck",
|
||||
lintFormats = {
|
||||
'%f:%l:%c: %trror: %m',
|
||||
'%f:%l:%c: %tarning: %m',
|
||||
'%f:%l:%c: %tote: %m'
|
||||
end,
|
||||
settings = {},
|
||||
},
|
||||
}
|
||||
local shfmt = {
|
||||
formatCommand = 'shfmt -ci -s -bn',
|
||||
formatStdin = true,
|
||||
}
|
||||
|
||||
nvim_lsp.efm.setup{
|
||||
init_options = {
|
||||
documentFormatting = true,
|
||||
hover = true,
|
||||
},
|
||||
settings = {
|
||||
rootMarkers = { "package.json", "go.mod", ".git/", ".zshrc" },
|
||||
languages = {
|
||||
bash = { shellcheck, shfmt },
|
||||
sh = { shellcheck, shfmt },
|
||||
},
|
||||
filetypes = {'bash', 'sh'}
|
||||
}
|
||||
}
|
||||
|
||||
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
||||
capabilities.textDocument.completion.completionItem.documentationFormat = { 'markdown', 'plaintext' }
|
||||
capabilities.textDocument.completion.completionItem.documentationFormat = { "markdown", "plaintext" }
|
||||
capabilities.textDocument.completion.completionItem.snippetSupport = true
|
||||
capabilities.textDocument.completion.completionItem.preselectSupport = true
|
||||
capabilities.textDocument.completion.completionItem.insertReplaceSupport = true
|
||||
|
@ -110,36 +97,36 @@ capabilities.textDocument.completion.completionItem.deprecatedSupport = true
|
|||
capabilities.textDocument.completion.completionItem.commitCharactersSupport = true
|
||||
capabilities.textDocument.completion.completionItem.tagSupport = { valueSet = { 1 } }
|
||||
capabilities.textDocument.completion.completionItem.resolveSupport = {
|
||||
properties = { 'documentation', 'detail', 'additionalTextEdits', },
|
||||
properties = { "documentation", "detail", "additionalTextEdits" },
|
||||
}
|
||||
capabilities = require('cmp_nvim_lsp').update_capabilities(capabilities)
|
||||
capabilities = require("cmp_nvim_lsp").update_capabilities(capabilities)
|
||||
|
||||
local servers = { 'html', 'cssls', 'gopls', 'jsonls', 'tailwindcss', 'vimls', 'ls_emmet' }
|
||||
local servers = { "html", "cssls", "gopls", "tailwindcss", "vimls", "ls_emmet", "null-ls" }
|
||||
for _, lsp in ipairs(servers) do
|
||||
nvim_lsp[lsp].setup {
|
||||
nvim_lsp[lsp].setup({
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
flags = { debounce_text_changes = 150, }
|
||||
}
|
||||
flags = { debounce_text_changes = 150 },
|
||||
})
|
||||
end
|
||||
|
||||
local sumneko_root_path ='/mnt/wd1tb/catacombs/code/lua-language-server'
|
||||
local sumneko_binary = sumneko_root_path .. '/bin/Linux/lua-language-server'
|
||||
local runtime_path = vim.split(package.path, ';')
|
||||
table.insert(runtime_path, 'lua/?.lua')
|
||||
table.insert(runtime_path, 'lua/?/init.lua')
|
||||
require('lspconfig').sumneko_lua.setup {
|
||||
cmd = { sumneko_binary, '-E', sumneko_root_path .. '/main.lua' },
|
||||
local sumneko_root_path = "/mnt/wd1tb/catacombs/code/lua-language-server"
|
||||
local sumneko_binary = sumneko_root_path .. "/bin/Linux/lua-language-server"
|
||||
local runtime_path = vim.split(package.path, ";")
|
||||
table.insert(runtime_path, "lua/?.lua")
|
||||
table.insert(runtime_path, "lua/?/init.lua")
|
||||
require("lspconfig").sumneko_lua.setup({
|
||||
cmd = { sumneko_binary, "-E", sumneko_root_path .. "/main.lua" },
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
settings = {
|
||||
Lua = {
|
||||
runtime = {
|
||||
version = 'LuaJIT',
|
||||
version = "LuaJIT",
|
||||
path = runtime_path,
|
||||
},
|
||||
diagnostics = {
|
||||
globals = {'vim'},
|
||||
globals = { "vim" },
|
||||
},
|
||||
workspace = {
|
||||
library = vim.api.nvim_get_runtime_file("", true),
|
||||
|
@ -149,4 +136,4 @@ require('lspconfig').sumneko_lua.setup {
|
|||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
})
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
require("null-ls").config({
|
||||
sources = {
|
||||
require("null-ls").builtins.formatting.prettierd,
|
||||
require("null-ls").builtins.formatting.rustywind,
|
||||
require("null-ls").builtins.formatting.stylua,
|
||||
require("null-ls").builtins.formatting.shfmt,
|
||||
require("null-ls").builtins.diagnostics.shellcheck,
|
||||
},
|
||||
})
|
|
@ -7,7 +7,7 @@ if !exists('autocommands_loaded') && has('autocmd')
|
|||
aug OnInsert
|
||||
au InsertLeave * if &paste | setlocal nopaste | endif
|
||||
au InsertLeave * set nocursorline
|
||||
au InsertEnter * set cursorline
|
||||
au InsertEnter * set cursorline
|
||||
au InsertLeave,CompleteDone * if pumvisible() == 0 | pclose | endif
|
||||
aug END
|
||||
|
||||
|
@ -19,8 +19,8 @@ if !exists('autocommands_loaded') && has('autocmd')
|
|||
|
||||
aug OnSave
|
||||
au BufWritePre * if index(ftToIgnore, &ft) < 0 | :%s/\s\+$//e
|
||||
au BufWritePre * silent! lua vim.lsp.buf.formatting_sync()
|
||||
au BufWritePost init.lua PackerCompile
|
||||
au BufWritePre * silent! lua vim.lsp.buf.formatting_sync()
|
||||
au BufWritePost init.lua PackerSync
|
||||
au BufWritePost *xresources !xrdb %
|
||||
au BufWritePost *sxhkdrc !pkill -USR1 sxhkd
|
||||
au QuitPre * if empty(&buftype) | lclose | endif
|
||||
|
|
|
@ -12,7 +12,6 @@ local disabled_builtin_plugins = {
|
|||
"logipat",
|
||||
"rrhelper",
|
||||
"matchit",
|
||||
'remote_plugins'
|
||||
}
|
||||
|
||||
for _, plugin in pairs(disabled_builtin_plugins) do
|
||||
|
|
|
@ -0,0 +1,166 @@
|
|||
MangoHud-0.6.5_1
|
||||
SDL-1.2.15_12
|
||||
SDL_mixer-1.2.12_14
|
||||
alacritty-0.9.0_1
|
||||
alsa-plugins-1.2.5_1
|
||||
alsa-plugins-ffmpeg-1.2.5_1
|
||||
alsa-plugins-jack-1.2.5_1
|
||||
alsa-plugins-pulseaudio-1.2.5_1
|
||||
alsa-utils-1.2.5.1_1
|
||||
amdvlk-2021.Q3.7_1
|
||||
amdvlk-32bit-2021.Q3.7_1
|
||||
android-tools-31.0.3_1
|
||||
android-udev-rules-20210501_1
|
||||
audacious-4.1_1
|
||||
audacious-plugins-4.1_4
|
||||
base-devel-20181003_2
|
||||
base-system-0.114_1
|
||||
bat-0.18.3_1
|
||||
blender-2.93.5_1
|
||||
bspwm-0.9.10_1
|
||||
catgirl-1.9a_1
|
||||
cgo-0.6.1_1
|
||||
chrony-4.1_1
|
||||
cmake-3.21.1_1
|
||||
curl-7.79.1_2
|
||||
delta-0.9.2_1
|
||||
delve-1.7.1_1
|
||||
dfc-3.1.1_2
|
||||
dkms-2.8.4_2
|
||||
droidcam-1.7.3_1
|
||||
dunst-1.6.1_1
|
||||
elinks-0.14.3_1
|
||||
fcitx-4.2.9.8_4
|
||||
fcitx-configtool-0.4.10_2
|
||||
fcitx-mozc-2.26.4472.102_2
|
||||
fd-8.2.1_1
|
||||
feh-3.7.2_1
|
||||
ffmpeg-4.4_1
|
||||
figlet-2.2.5_6
|
||||
figlet-fonts-20150508_4
|
||||
file-roller-3.40.0_1
|
||||
firefox-94.0_1
|
||||
font-misc-misc-1.1.2_7
|
||||
fzf-0.27.3_1
|
||||
git-2.33.1_1
|
||||
git-libsecret-2.33.1_1
|
||||
glu-9.0.2_2
|
||||
glxinfo-8.4.0_3
|
||||
gmic-2.8.0_1
|
||||
gnome-ssh-askpass-8.8p1_1
|
||||
gnupg2-2.2.32_1
|
||||
go-1.17.2_1
|
||||
golangci-lint-1.42.1_1
|
||||
gopls-0.7.2_1
|
||||
grub-2.06_2
|
||||
gzdoom-4.7.1_1
|
||||
highlight-4.1_2
|
||||
htop-3.1.1_1
|
||||
hunspell-1.7.0_3
|
||||
hunspell-es_ES-2.6_1
|
||||
isync-1.4.3_1
|
||||
jack-1.9.19_1
|
||||
keychain-2.8.5_2
|
||||
krita-4.4.8_2
|
||||
lf-r26_1
|
||||
libdrm-32bit-2.4.107_1
|
||||
libfcitx-gtk-4.2.9.8_4
|
||||
libfcitx-gtk3-4.2.9.8_4
|
||||
libgcc-32bit-10.2.1pre1_3
|
||||
libglvnd-32bit-1.3.3_1
|
||||
libstdc++-32bit-10.2.1pre1_3
|
||||
linux-headers-5.13_1
|
||||
lm_sensors-3.6.0_1
|
||||
lolcat-c-1.2_1
|
||||
maim-5.7.4_2
|
||||
mesa-dri-21.2.5_2
|
||||
mesa-dri-32bit-21.2.5_2
|
||||
mesa-vaapi-21.2.5_2
|
||||
mesa-vaapi-32bit-21.2.5_2
|
||||
mesa-vdpau-21.2.5_2
|
||||
mesa-vdpau-32bit-21.2.5_2
|
||||
mesa-vulkan-overlay-layer-21.2.5_2
|
||||
mesa-vulkan-overlay-layer-32bit-21.2.5_2
|
||||
mesa-vulkan-radeon-21.2.5_2
|
||||
mesa-vulkan-radeon-32bit-21.2.5_2
|
||||
mlocate-0.26_7
|
||||
mosh-1.3.2_23
|
||||
mpv-0.34.0_1
|
||||
msmtp-1.8.18_1
|
||||
mumble-1.3.4_7
|
||||
ncurses-devel-6.2_4
|
||||
neomutt-20210205_2
|
||||
neovim-0.5.1_2
|
||||
newsboat-2.25_1
|
||||
nfs-utils-2.5.4_1
|
||||
nftables-1.0.0_2
|
||||
nicotine+-3.0.6_2
|
||||
nodejs-16.9.1_1
|
||||
noto-fonts-cjk-20190416_2
|
||||
noto-fonts-emoji-2.028_1
|
||||
noto-fonts-ttf-20190926_2
|
||||
opendoas-6.8.1_1
|
||||
openjdk11-11.0.12+5_2
|
||||
p7zip-16.02_5
|
||||
pass-1.7.4_1
|
||||
perl-Text-CharWidth-0.04_7
|
||||
pinentry-gtk-1.2.0_1
|
||||
pipe-viewer-0.1.5_1
|
||||
polybar-3.5.7_1
|
||||
pulsemixer-1.5.1_2
|
||||
python3-neovim-0.4.3_2
|
||||
python3-requests-2.26.0_2
|
||||
qjackctl-0.9.5_1
|
||||
ripgrep-13.0.0_1
|
||||
rofi-1.7.0_1
|
||||
rofi-emoji-2.2.0_1
|
||||
rsync-3.2.3_3
|
||||
runit-nftables-20200123_2
|
||||
setxkbmap-1.3.2_1
|
||||
shellcheck-0.7.2_2
|
||||
shfmt-3.4.0_1
|
||||
simple-mtpfs-0.4.0_1
|
||||
snooze-0.5_1
|
||||
socklog-void-20200115_2
|
||||
steam-1.0.0.72_1
|
||||
sv-netmount-0.1_3
|
||||
sxhkd-0.6.2_1
|
||||
sxiv-26_1
|
||||
tmux-3.2a_1
|
||||
toilet-0.3_3
|
||||
trackballs-1.3.3_1
|
||||
transmission-3.00_5
|
||||
tremc-0.9.2_2
|
||||
tty-solitaire-1.3.1_1
|
||||
udevil-0.4.4_5
|
||||
unclutter-xfixes-1.6_1
|
||||
unrar-6.0.7_1
|
||||
vkd3d-1.2_1
|
||||
vkd3d-32bit-1.2_1
|
||||
void-repo-multilib-6_3
|
||||
void-repo-multilib-nonfree-6_3
|
||||
void-repo-nonfree-9_5
|
||||
words-web2-326913_2
|
||||
xboxdrv-0.8.8_3
|
||||
xclip-0.13_2
|
||||
xcompmgr-1.1.8_2
|
||||
xdg-utils-1.1.3_4
|
||||
xdo-0.5.7_3
|
||||
xf86-video-nouveau-1.0.17_1
|
||||
xinput-1.6.3_1
|
||||
xkcdpass-1.19.3_2
|
||||
xkill-1.0.5_1
|
||||
xorg-minimal-1.2_2
|
||||
xorg-video-drivers-7.6_22
|
||||
xprop-1.2.5_1
|
||||
xrandr-1.5.1_1
|
||||
xrdb-1.2.1_1
|
||||
xset-1.2.4_1
|
||||
xsetroot-1.1.2_1
|
||||
youtube-dl-2021.06.06_2
|
||||
zathura-0.4.8_1
|
||||
zathura-cb-0.1.9_1
|
||||
zathura-pdf-mupdf-0.3.7_3
|
||||
zip-3.0_6
|
||||
zsh-5.8_2
|
||||
zsh-syntax-highlighting-0.7.1_3
|
|
@ -1 +1,9 @@
|
|||
if test -z "${XDG_RUNTIME_DIR}"; then
|
||||
export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir
|
||||
if ! test -d "${XDG_RUNTIME_DIR}"; then
|
||||
mkdir -p "${XDG_RUNTIME_DIR}"
|
||||
chmod 0700 "${XDG_RUNTIME_DIR}"
|
||||
fi
|
||||
fi
|
||||
|
||||
[ -z $DISPLAY ] && [ "$(fgconsole)" -eq 1 ] && exec startx "$XDG_CONFIG_HOME/X11/xinitrc" -- -keeptty -nolisten tcp
|
||||
|
|
|
@ -25,7 +25,7 @@ setopt MULTIOS # Write to multiple descriptors.
|
|||
setopt AUTO_PARAM_SLASH # Tab completing directory appends a slash
|
||||
setopt PROMPT_SUBST
|
||||
|
||||
source ${ZDOTDIR}/tmux.zsh
|
||||
[ -n "$DISPLAY" ] && source ${ZDOTDIR}/tmux.zsh
|
||||
|
||||
foreach programa (
|
||||
doc/fzf/completion.zsh
|
||||
|
|
|
@ -14,13 +14,18 @@ unsetopt MENU_COMPLETE # Do not autoselect the first completion entry.
|
|||
unsetopt FLOW_CONTROL # Disable start/stop characters in shell editor.
|
||||
|
||||
autoload -Uz compinit
|
||||
_comp_files=($XDG_CACHE_HOME/.zcompdump(Nm-20))
|
||||
if (( $#_comp_files )); then
|
||||
compinit -i -C
|
||||
_comp_path="${XDG_CACHE_HOME:-$HOME/.cache}/zcompdump"
|
||||
# #q expands globs in conditional expressions
|
||||
if [[ $_comp_path(#qNmh-20) ]]; then
|
||||
# -C (skip function check) implies -i (skip security check).
|
||||
compinit -C -d "$_comp_path"
|
||||
else
|
||||
compinit -i
|
||||
mkdir -p "$_comp_path:h"
|
||||
compinit -i -d "$_comp_path"
|
||||
# Keep $_comp_path younger than cache time even if it isn't regenerated.
|
||||
touch "$_comp_path"
|
||||
fi
|
||||
unset _comp_files
|
||||
unset _comp_path
|
||||
|
||||
zstyle ':completion:*' matcher-list '' '+m:{[:lower:]}={[:upper:]}' '+m:{[:upper:]}={[:lower:]}' '+m:{_-}={-_}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
|
||||
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
|
||||
|
|
Loading…
Reference in New Issue