This commit is contained in:
Sergey 2026-01-12 21:11:37 +04:00
parent ac85a15f6b
commit 812e74c510
6 changed files with 21 additions and 38 deletions

View File

@ -166,7 +166,7 @@ bind index,pager \CO sidebar-open
bind index,pager \Ck sidebar-prev
bind index,pager \Cj sidebar-next
macro attach 'V' "<pipe-entry>cat > /tmp/share/mutt-preview.html && $HOME/bin/preview-html /tmp/share/mutt-preview.html; rm /tmp/share/mutt-preview.html<enter>"
macro attach 'V' "<pipe-entry>cat > /tmp/mutt-preview.html && $HOME/bin/preview-html /tmp/mutt-preview.html; rm /tmp/mutt-preview.html<enter>"
macro index 'c' '<change-folder>?<change-dir><home>^K=<enter>'
set mailcap_path = ~/.config/mutt/mailcap

View File

@ -0,0 +1,6 @@
vim.treesitter.start()
vim.wo[0][0].foldexpr = 'v:lua.vim.treesitter.foldexpr()'
vim.wo[0][0].foldmethod = 'expr'
vim.bo.indentexpr = "v:lua.require'nvim-treesitter'.indentexpr()"

View File

@ -0,0 +1,6 @@
vim.treesitter.start()
vim.wo[0][0].foldexpr = 'v:lua.vim.treesitter.foldexpr()'
vim.wo[0][0].foldmethod = 'expr'
vim.bo.indentexpr = "v:lua.require'nvim-treesitter'.indentexpr()"

View File

@ -162,36 +162,6 @@ vim.cmd("colorscheme gruvbox")
require('gitsigns').setup()
-- tree-sitter
require('nvim-treesitter').setup {
-- A list of parser names, or "all"
-- ensure_installed = { "all" },
-- Install parsers synchronously (only applied to `ensure_installed`)
sync_install = false,
-- List of parsers to ignore installing (for "all")
-- ignore_install = { "javascript" },
highlight = {
-- `false` will disable the whole extension
enable = true,
-- NOTE: these are the names of the parsers and not the filetype. (for example if you want to
-- disable highlighting for the `tex` filetype, you need to include `latex` in this list as this is
-- the name of the parser)
-- list of language that will be disabled
-- disable = { "c", "rust" },
-- Setting this to true will run `:h syntax` and tree-sitter at the same time.
-- Set this to `true` if you depend on 'syntax' being enabled (like for indentation).
-- Using this option may slow down your editor, and you may see some duplicate highlights.
-- Instead of true it can also be a list of languages
additional_vim_regex_highlighting = false,
},
}
-- telescope
require('telescope').setup{
-- defaults = {
@ -273,7 +243,7 @@ end
local servers = {
'ansiblels',
-- 'arduino_language_server',
'bashls',
-- 'bashls',
-- 'ccls',
'clangd',
'erlangls',
@ -615,7 +585,8 @@ require("neo-tree").setup({
},
})
require('leap').set_default_keymaps()
-- deprecated, maybe I should fix that
-- require('leap').set_default_keymaps()
-- require('neotest').setup({
-- icons = {

View File

@ -44,7 +44,7 @@ export SUDO_ASKPASS=/usr/bin/ssh-askpass-fullscreen
# export MESA_VK_DEVICE_SELECT=10de:249d
# Omen iGPU amd
export MESA_VK_DEVICE_SELECT=1002:1638
# export MESA_VK_DEVICE_SELECT=1002:1638
# pass
export PASSWORD_STORE_CLIP_TIME=10

View File

@ -21,10 +21,10 @@ export WINEFSYNC=1
export SUDO_ASKPASS=/usr/bin/ssh-askpass-fullscreen
# Nvidia vaapi https://github.com/elFarto/nvidia-vaapi-driver?tab=readme-ov-file#direct-backend
export NVD_BACKEND=direct
export LIBVA_DRIVER_NAME=nvidia
export MOZ_DISABLE_RDD_SANDBOX=1
export __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/10_nvidia.json
# export NVD_BACKEND=direct
# export LIBVA_DRIVER_NAME=nvidia
# export MOZ_DISABLE_RDD_SANDBOX=1
# export __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/10_nvidia.json
# xrandr --setprovideroutputsource modesetting NVIDIA-0
# xrandr --auto