From 33f4267a618443fb26a80aa53c5a3abccea038b4 Mon Sep 17 00:00:00 2001 From: David JULIEN Date: Tue, 17 May 2022 16:20:52 +0200 Subject: [PATCH 1/4] [sxhkd] feat: add slock keymap --- .config/sxhkd/sxhkdrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index 0538d1f..be50e52 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -25,6 +25,9 @@ super + shift + s super + shift + r dmenuprompt "reboot?" "reboot" +super + BackSpace + slock + super + shift + d displayselect From 9360696302c5a539f9fa9a6462ab7d21dac3f80c Mon Sep 17 00:00:00 2001 From: David JULIEN Date: Tue, 17 May 2022 16:23:07 +0200 Subject: [PATCH 2/4] [sxhkd] feat: alt key to tweak mappings --- .config/sxhkd/sxhkdrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index be50e52..3d9394e 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -40,7 +40,7 @@ super + shift + o super + c switch-colors -super + shift + c +super + alt + c switch-colors -s # Others From 9a076e3984a9b169ef2fda8159b8c8b89450bde0 Mon Sep 17 00:00:00 2001 From: David JULIEN Date: Tue, 17 May 2022 16:23:44 +0200 Subject: [PATCH 3/4] [sxhkd] feat: add screenshot -w keymap --- .config/sxhkd/sxhkdrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index 3d9394e..7aa4bed 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -56,6 +56,9 @@ super + d super + p screenshot +super + alt + p + screenshot -w + super + shift + {w,z} $BROWSER From 015c7f3936d33f45cc800a4a0d23002c732b6e11 Mon Sep 17 00:00:00 2001 From: David JULIEN Date: Tue, 17 May 2022 16:45:58 +0200 Subject: [PATCH 4/4] [nvim] feat: add latex lsp --- .config/nvim/lua/plugin/lsp/init.lua | 2 +- .config/nvim/lua/plugin/lsp/texlab.lua | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 .config/nvim/lua/plugin/lsp/texlab.lua diff --git a/.config/nvim/lua/plugin/lsp/init.lua b/.config/nvim/lua/plugin/lsp/init.lua index 3810d38..86f73d0 100644 --- a/.config/nvim/lua/plugin/lsp/init.lua +++ b/.config/nvim/lua/plugin/lsp/init.lua @@ -58,7 +58,7 @@ local capabilities = vim.lsp.protocol.make_client_capabilities() capabilities = require("cmp_nvim_lsp").update_capabilities(capabilities) -- Setup nvim-lsp-installer -local servers = { "clangd", "sumneko_lua" } +local servers = { "clangd", "sumneko_lua", "texlab" } lsp_installer.setup { ensure_installed = servers, ui = { diff --git a/.config/nvim/lua/plugin/lsp/texlab.lua b/.config/nvim/lua/plugin/lsp/texlab.lua new file mode 100644 index 0000000..2fbbf14 --- /dev/null +++ b/.config/nvim/lua/plugin/lsp/texlab.lua @@ -0,0 +1,18 @@ +-- Author : swytch +-- Created : Monday May 17, 2022 16:29:18 CET +-- License : GPLv3 +-- Description : neovim lsp config file for texlab + + +local M = {} + +M.setup = function(opts) + opts.settings = { + build = { + executable = "pdflatex" + } + } +end + +return M +