1
0
Fork 0

nvim 0.8 mas que nada. ademas un cambio para que alacritty flote de

nuevo y correcciones minimas de neomutt
This commit is contained in:
deadguy 2022-11-01 14:25:42 -03:00
parent 3978a6d3d9
commit 2545ecb242
Signed by: dgy
GPG Key ID: 37CA55B52CF63730
17 changed files with 85 additions and 97 deletions

View File

@ -8,7 +8,7 @@ window:
y: 0
dynamic_title: true
opacity: 0.85
opacity: 0.88
scrolling:
history: 10000

View File

@ -43,7 +43,7 @@ bspc config presel_feedback_color "$(get_xrdb color6)"
bspc rule -a mpv state=floating
bspc rule -a renpy state=floating
bspc rule -a pentablet state=floating
bspc rule -a Alacritty:flota state=floating
bspc rule -a flota state=floating
bspc rule -a Firefox:Browser state=floating
bspc rule -a Firefox:Navigator state=tiled desktop='^6'
bspc rule -a Zathura state=tiled

View File

@ -4,7 +4,7 @@ start_uri gopher://texto-plano.xyz:70/
# commands
cmd_text less
cmd_browser firefox
cmd_image sxiv
cmd_image nsxiv
cmd_player mpv
# colors
@ -19,3 +19,5 @@ bookmark1 gopher://texto-plano.xyz:70/
bookmark2 gopher://tildeverse.org:70/
bookmark3 gopher://gopher.floodgap.com:70/
bookmark4 gopher://devio.us:70/~steini
bookmark5 gopher://g.nixers.net
bookmark6 gopher://gopher.floodgap.com/7/v2/vs

View File

@ -120,5 +120,9 @@
[include]
path = config.local
[blame]
coloring = highlightRecent
date = human
[help]
autocorrect = 1

View File

@ -2,8 +2,6 @@ text/plain; less -R %s
# text/html; lynx -dump -width ${COLUMNS:-80} %s ; copiousoutput
# text/html; lynx -assume_charset=%{charset} -display_charset=utf-8 -collapse_br_tags -dump %s; nametemplate=%s.html; copiousoutput
text/html; elinks -no-connect -dump -dump-charset UTF-8 -dump-width 90 -default-mime-type text/html %s; needsterminal; copiousoutput;
text/x-diff; colordiff; copiousoutput
text/x-patch; colordiff; copiousoutput
image/*; nsxiv-rifle %s ;
video/*; setsid mpv --quiet--keep-open -
audio/*; mpv %s ;

View File

@ -3,7 +3,6 @@ source neomuttrc.d/gpg.rc
source neomuttrc.d/bindings.neomuttrc
source neomuttrc.d/colors.neomuttrc
source neomuttrc.d/powerline.neomuttrc
source neomuttrc.d/news.neomuttrc
unset help
unset signature
@ -61,13 +60,6 @@ auto_view text/x-patch
auto_view application/pgp-encrypted
alternative_order text/calendar application/ics text/plain text/enriched text/html
# set print_command = "nvim -R -c 'set ft=mail background=dark \
# popt=header:0' -c 'ha' -c 'q' -"
# neomutt doesn't have this yet :(
# set editor = "carta.sh `echo $EDITOR`"
# set background_edit = `[ -n "$TMUX" ] && echo 'yes' || echo 'no'`
# Header Options
ignore *
unhdr_order *

View File

@ -61,4 +61,3 @@ macro browser h '<change-dir><kill-line>..<enter>' "Go to parent folder"
macro index,pager <f1> '<sync-mailbox><enter-command>source ~/.config/neomutt/accounts/dgy@fuckup.club.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to dgy@fuckup"
macro index,pager <f2> '<sync-mailbox><enter-command>source ~/.config/neomutt/accounts/dgy@texto-plano.xyz.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to dgy@t-p"
# macro index,pager <f3> '<sync-mailbox><enter-command>source ~/.config/neomutt/accounts/alejo.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to namefag"

View File

@ -1,8 +1,3 @@
-- Helpers
local spsg = function()
require("telescope.builtin").spell_suggest(require("telescope.themes").get_cursor({}))
end
-- Basic Options
vim.wo.spell = true
vim.bo.expandtab = false
@ -18,7 +13,8 @@ vim.keymap.set("n", "<F8>", "]s", { silent = true, buffer = true })
vim.keymap.set("n", "<F9>", "z=1<CR><CR>", { silent = true, buffer = true })
vim.keymap.set("n", "<F10>", "z=", { silent = true, buffer = true })
vim.keymap.set("n", "<F11>", "zg", { silent = true, buffer = true })
vim.keymap.set("i", "<C-l>", spsg)
vim.keymap.set("i", "<M-l>", "<C-g>u<Esc>[s1z=`]a<C-g>u", { buffer = true, desc = "Fix Last Miss-Spelling" })
-- vim.keymap.set("i", "<C-l>", require("telescope.builtin").spell_suggest(require("telescope.themes").get_cursor({})))
-- Abbreviations
vim.cmd("iabbrev <buffer> _- ")

View File

@ -5,8 +5,6 @@ end
vim.g.mapleader = " "
vim.g.maplocalleader = ","
vim.g.do_filetype_lua = 1
vim.g.did_load_filetypes = 0
local disabled_builtin_plugins = {
"man",

View File

@ -1,7 +1,10 @@
require("luasnip").config.setup({
update_events = "TextChanged,TextChangedI",
history = false,
enable_autosnippets = true,
store_selection_keys = "<Tab>",
region_check_events = 'InsertEnter',
delete_check_events = 'InsertLeave',
ext_opts = {
[require("luasnip.util.types").choiceNode] = {
active = {

View File

@ -9,6 +9,7 @@ require("nvim-treesitter.configs").setup({
"jsonc",
"lua",
"make",
"python",
"rasi",
"regex",
"scss",

View File

@ -44,12 +44,11 @@ local on_attach = function(client, bufnr)
end
local function make_config()
local capabilities = vim.lsp.protocol.make_client_capabilities()
local capabilities = require("cmp_nvim_lsp").default_capabilities()
capabilities.textDocument.completion.completionItem.snippetSupport = true
capabilities.textDocument.completion.completionItem.resolveSupport = {
properties = { "documentation", "detail", "additionalTextEdits" },
}
capabilities = require("cmp_nvim_lsp").update_capabilities(capabilities)
return {
capabilities = capabilities,
handlers = {

View File

@ -7,7 +7,7 @@ nulls.setup({
sources = {
-- # FORMATTING #
fmt.trim_whitespace.with({
filetypes = { "text", "sh", "zsh", "yaml", "toml", "make", "conf" },
filetypes = { "text", "sh", "zsh", "yaml", "toml", "make", "conf", "python" },
}),
nulls.builtins.hover.dictionary,
-- NOTE:
@ -44,8 +44,7 @@ nulls.setup({
group = "LspFormatting",
buffer = bufnr,
callback = function()
-- on 0.8, you should use vim.lsp.buf.format({ bufnr = bufnr }) instead
vim.lsp.buf.formatting_sync()
vim.lsp.buf.format({ bufnr = bufnr })
end,
})
end

View File

@ -1,15 +1,19 @@
local M = {}
M.setup = function(on_attach, capabilities)
local luadev = require('lua-dev').setup {
lspconfig = {
cmd = { "luals" },
Lua = { format = false, },
on_attach = on_attach,
capabilities = capabilities,
},
}
require('lspconfig').sumneko_lua.setup(luadev)
require("neodev").setup({})
require("lspconfig").sumneko_lua.setup({
settings = {
Lua = {
completion = {
callSnippet = "Replace",
},
format = false,
},
},
on_attach = on_attach,
capabilities = capabilities,
})
end
return M

View File

@ -26,7 +26,6 @@ require("packer").init({
})
return require("packer").startup(function(use)
use("lewis6991/impatient.nvim")
use("nvim-lua/plenary.nvim")
use("wbthomason/packer.nvim")
use("ellisonleao/gruvbox.nvim")
@ -55,8 +54,8 @@ return require("packer").startup(function(use)
require("configs.gitsigns")
end,
})
use({ "folke/neodev.nvim" })
use({ "neovim/nvim-lspconfig", after = "nvim-treesitter" })
use("folke/lua-dev.nvim")
use({ "ray-x/lsp_signature.nvim", after = "nvim-lspconfig" })
use({
"jose-elias-alvarez/null-ls.nvim",
@ -66,34 +65,27 @@ return require("packer").startup(function(use)
})
use({
"hrsh7th/nvim-cmp",
event = "InsertEnter",
opt = true,
requires = {
"hrsh7th/cmp-buffer",
"hrsh7th/cmp-nvim-lsp",
"hrsh7th/cmp-nvim-lua",
"hrsh7th/cmp-path",
"hrsh7th/cmp-cmdline",
"saadparwaiz1/cmp_luasnip",
"hrsh7th/cmp-nvim-lsp-signature-help",
{
"L3MON4D3/LuaSnip",
requires = { "rafamadriz/friendly-snippets" },
config = function()
require("configs.luasnip")
end,
},
{
"windwp/nvim-autopairs",
config = function()
require("nvim-autopairs").setup({})
end,
},
},
config = function()
require("configs.cmp")
end,
})
use({ "hrsh7th/cmp-nvim-lsp" })
use({ "hrsh7th/cmp-nvim-lua" })
use({ "hrsh7th/cmp-path" })
use({ "hrsh7th/cmp-cmdline" })
use({ "saadparwaiz1/cmp_luasnip" })
use({
"L3MON4D3/LuaSnip",
config = function()
require("configs.luasnip")
end,
})
use({
"windwp/nvim-autopairs",
config = function()
require("nvim-autopairs").setup({})
end,
})
use({
"numToStr/Comment.nvim",
module = "Comment",
@ -115,9 +107,6 @@ return require("packer").startup(function(use)
require("configs.colorizer")
end,
})
-- acordarse de borrar este plugin en cuanto salga nvim 0.8
use("antoinemadec/FixCursorHold.nvim")
use({ "vimwiki/vimwiki", ft = "wiki" })
if packer_bootstrap then

View File

@ -12,13 +12,13 @@
"blocklist-url": "",
"cache-size-mb": 8,
"dht-enabled": true,
"download-dir": "/mnt/samsung/necropolis/etc/torrent/",
"download-dir": "/mnt/wd1tb/catacombs/torrent/",
"download-queue-enabled": true,
"download-queue-size": 10,
"encryption": 1,
"idle-seeding-limit": 30,
"idle-seeding-limit-enabled": false,
"incomplete-dir": "/mnt/samsung/necropolis/etc",
"incomplete-dir": "/mnt/wd1tb/catacombs/torrent",
"incomplete-dir-enabled": false,
"lpd-enabled": false,
"message-level": 2,
@ -26,7 +26,7 @@
"peer-id-ttl-hours": 6,
"peer-limit-global": 240,
"peer-limit-per-torrent": 60,
"peer-port": 56565,
"peer-port": 53577,
"peer-port-random-high": 65535,
"peer-port-random-low": 49152,
"peer-port-random-on-start": true,

View File

@ -1,5 +1,5 @@
StyLua-0.14.3_1
alacritty-0.10.1_2
alacritty-0.11.0_1
alsa-lib-32bit-1.2.7.2_1
alsa-plugins-ffmpeg-1.2.7.1_1
alsa-plugins-ffmpeg-32bit-1.2.7.1_1
@ -12,11 +12,12 @@ audacious-4.1_1
audacious-plugins-4.1_4
base-devel-20181003_2
base-system-0.114_1
bat-0.22.1_1
bat-0.22.1_2
bspwm-0.9.10_1
cargo-1.63.0_1
catgirl-2.1_2
chrony-4.2_1
cgo-0.6.1_1
chrony-4.3_1
corectrl-1.2.3_2
delta-0.14.0_1
dfc-3.1.1_2
@ -25,42 +26,42 @@ droidcam-1.8.2_1
dunst-1.9.0_1
elogind-246.10_2
evtest-qt-0.2.0_1
exiftool-12.45_1
exiftool-12.49_1
fcitx-4.2.9.9_1
fcitx-configtool-0.4.10_2
fcitx-mozc-2.28.4800.102_1
fd-8.4.0_1
feh-3.9_1
feh-3.9.1_1
ffmpeg-4.4.2_3
file-roller-3.42.0_1
filezilla-3.61.0_1
firefox-105.0_1
filezilla-3.62.0_1
firefox-106.0.2_1
flashrom-1.2_2
fzf-0.33.0_1
gallery-dl-1.20.1_1
fzf-0.34.0_1
gallery-dl-1.23.2_1
gamemode-1.7_1
git-2.37.3_1
git-libsecret-2.37.3_1
gnome-ssh-askpass-9.0p1_1
git-2.38.1_1
git-libsecret-2.38.1_1
gnome-ssh-askpass-9.1p1_1
gnupg2-2.3.7_3
grub-x86_64-efi-2.06_2
hidapi-0.11.2_1
hidapi-32bit-0.11.2_1
highlight-4.1_2
highlight-4.1_3
htop-3.2.1_1
isync-1.4.4_1
jq-1.6_2
keychain-2.8.5_2
krita-5.0.8_1
lf-r27_1
libdrm-32bit-2.4.112_1
libdrm-32bit-2.4.113_1
libfcitx-gtk-4.2.9.9_1
libfcitx-gtk3-4.2.9.9_1
libgamemode-32bit-1.7_1
libgcc-32bit-10.2.1pre1_3
libglvnd-32bit-1.4.0_1
libstdc++-32bit-10.2.1pre1_3
libunrar-6.1.7_1
libunrar-6.2.1_1
lm_sensors-3.6.0_1
luarocks-lua54-3.9.1_1
maim-5.7.4_5
@ -76,29 +77,30 @@ msmtp-1.8.22_1
mumble-1.4.287_1
ncftp-3.2.6_2
neomutt-20220429_3
neovim-0.7.2_1
newsboat-2.28_1
neovim-0.8.0_1
newsboat-2.29_1
nicotine+-3.2.5_1
nodejs-16.15.1_2
noto-fonts-cjk-20190416_2
noto-fonts-emoji-2.034_1
noto-fonts-ttf-20190926_2
noto-fonts-cjk-20220127_1
noto-fonts-emoji-2.038_1
noto-fonts-ttf-20220810_1
nsxiv-30_1
opendoas-6.8.2_1
openjdk11-11.0.12+7_3
p7zip-16.02_5
pass-1.7.4_1
perl-File-MimeInfo-0.33_1
perl-Text-CharWidth-0.04_7
perl-Text-CharWidth-0.04_8
pinentry-gtk-1.2.1_1
pipe-viewer-0.3.1_1
pipe-viewer-0.4.1_1
polybar-3.6.3_1
protontricks-1.9.0_1
pulseaudio-15.0_3
pulsemixer-1.5.1_2
python3-pysdl2-0.9.6_4
ripgrep-13.0.0_1
rofi-1.7.5_1
rsync-3.2.6_1
rsync-3.2.7_1
setxkbmap-1.3.3_1
shellcheck-0.8.0_3
shfmt-3.5.1_1
@ -109,17 +111,19 @@ socklog-void-20200115_2
steam-1.0.0.75_2
sxhkd-0.6.2_1
tmux-3.3a_1
transmission-3.00_5
tremc-0.9.2_2
udevil-0.4.4_5
unclutter-xfixes-1.6_1
unrar-6.1.7_1
v4l2loopback-0.12.5_1
unrar-6.2.1_1
v4l2loopback-0.12.7_1
vkBasalt-0.3.2.6_1
vkBasalt-32bit-0.3.2.6_1
void-repo-multilib-6_4
void-repo-multilib-nonfree-6_4
void-repo-nonfree-9_6
wine-7.18_1
wine-mono-7.3.0_1
wine-7.19_1
wine-mono-7.4.0_1
xclip-0.13_2
xcompmgr-1.1.8_2
xdg-utils-1.1.3_5
@ -135,12 +139,12 @@ 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
xsetroot-1.1.3_1
xtools-minimal-0.64_2
zathura-0.4.9_2
zathura-cb-0.1.9_2
zathura-pdf-mupdf-0.3.7_6
zip-3.0_6
zsh-5.9_1
zsh-5.9_2
zsh-history-substring-search-1.0.2_2
zsh-syntax-highlighting-0.7.1_3