summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/nvim/lua/user/options.lua1
-rw-r--r--.config/nvim/lua/user/plugins/lspconfig.lua4
-rwxr-xr-x.config/sxiv/exec/key-handler2
3 files changed, 5 insertions, 2 deletions
diff --git a/.config/nvim/lua/user/options.lua b/.config/nvim/lua/user/options.lua
index 69f0280..0c35dfc 100644
--- a/.config/nvim/lua/user/options.lua
+++ b/.config/nvim/lua/user/options.lua
@@ -21,3 +21,4 @@ vim.o.redrawtime = 10000 -- Allow more time for loading syntax on large f
vim.o.foldmethod = "expr"
vim.o.foldlevelstart = 10
vim.o.foldexpr = "nvim_treesitter#foldexpr()"
+vim.o.hlsearch = 0
diff --git a/.config/nvim/lua/user/plugins/lspconfig.lua b/.config/nvim/lua/user/plugins/lspconfig.lua
index 85b1cdb..395cf69 100644
--- a/.config/nvim/lua/user/plugins/lspconfig.lua
+++ b/.config/nvim/lua/user/plugins/lspconfig.lua
@@ -95,7 +95,7 @@ require 'lspconfig'.sumneko_lua.setup {
flags = {
debounce_text_changes = 150,
},
- cmd = { "/home/cafebabe/repos/lua-language-server/bin/lua-language-server", "-E", "/home/cafebabe/repos/lua-language-server/bin/main.lua" };
+ cmd = { "/home/cafebabe/.local/src/lua-language-server/bin/lua-language-server", "-E", "/home/cafebabe/.local/src/lua-language-server/bin/main.lua" };
settings = {
Lua = {
runtime = {
@@ -127,7 +127,7 @@ require 'lspconfig'.solargraph.setup {
debounce_text_changes = 150,
},
cmd = { "solargraph", "stdio" },
- filetypes = { "ruby" },
+ filetypes = { 'ruby' },
settings = {
solargraph = {
diagnostics = true,
diff --git a/.config/sxiv/exec/key-handler b/.config/sxiv/exec/key-handler
index 6ce159d..6e6639e 100755
--- a/.config/sxiv/exec/key-handler
+++ b/.config/sxiv/exec/key-handler
@@ -5,5 +5,7 @@ do
case "$1" in
"C-d") trash-put "$file" ;;
"C-c") cat "$file" | xclip -sel c -t image/png ;;
+ "C-r") mv "$file" ../Random ;;
+ "C-w") xwallpaper --zoom "$file" ;;
esac
done