From 599e1315ce9be32944681ff4e88fc5afa8ae81b8 Mon Sep 17 00:00:00 2001 From: yuzu-eva Date: Fri, 19 Aug 2022 16:08:04 +0200 Subject: fixed path in profile; hlsearch false; location lua-lang-server; wallpaper shortcut; --- .bash_profile | 2 +- .config/nvim/lua/user/options.lua | 1 + .config/nvim/lua/user/plugins/lspconfig.lua | 4 ++-- .config/sxiv/exec/key-handler | 2 ++ 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.bash_profile b/.bash_profile index 2f4c170..9b25bc6 100755 --- a/.bash_profile +++ b/.bash_profile @@ -1,5 +1,5 @@ # Add various paths -export PATH="$PATH:usr/local/lib:$HOME/.cargo/bin:$HOME/.local/bin" +export PATH="$PATH:/usr/local/lib:$HOME/.cargo/bin:$HOME/.local/bin" # Path for Android Development export ANDROID_HOME=$HOME/Android/Sdk 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 -- cgit v1.2.3