updates
This commit is contained in:
parent
e6172d13f4
commit
ade987bb98
@ -1,19 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<actions>
|
||||
<action>
|
||||
<icon>user-trash</icon>
|
||||
<name>Move to Trash</name>
|
||||
<unique-id>1663752025909170-1</unique-id>
|
||||
<command>trash %F</command>
|
||||
<description>Moves item to trash with trash-cli</description>
|
||||
<patterns>*</patterns>
|
||||
<directories/>
|
||||
<audio-files/>
|
||||
<image-files/>
|
||||
<other-files/>
|
||||
<text-files/>
|
||||
<video-files/>
|
||||
</action>
|
||||
<action>
|
||||
<icon>lxterminal</icon>
|
||||
<name>Open Terminal Here</name>
|
||||
|
||||
@ -22,6 +22,7 @@ local servers = {
|
||||
"tsserver",
|
||||
"pyright",
|
||||
"yamlls",
|
||||
"texlab",
|
||||
"bashls",
|
||||
"clangd",
|
||||
"rust_analyzer",
|
||||
|
||||
@ -79,8 +79,8 @@ return packer.startup(function(use)
|
||||
|
||||
-- LaTeX
|
||||
-- use "SirVer/ultisnips"
|
||||
use("lervag/vimtex")
|
||||
use("ludovicchabant/vim-gutentags")
|
||||
-- use("lervag/vimtex")
|
||||
-- use("ludovicchabant/vim-gutentags")
|
||||
|
||||
-- Snippet
|
||||
use("L3MON4D3/LuaSnip") -- snippet engine
|
||||
|
||||
@ -100,7 +100,7 @@ local mappings = {
|
||||
w = { "<cmd>w<CR>", "Write" },
|
||||
z = { "<cmd>ZenMode<cr>", "Zen" },
|
||||
["/"] = { '<cmd>lua require("Comment.api").toggle.linewise.current()<CR>', "Comment" },
|
||||
["'"] = { '<cmd>close<CR>', "Close split" },
|
||||
["'"] = { "<cmd>close<CR>", "Close split" },
|
||||
|
||||
b = {
|
||||
name = "Buffer",
|
||||
@ -122,8 +122,8 @@ local mappings = {
|
||||
|
||||
o = {
|
||||
name = "Options",
|
||||
c = { '<cmd>lua vim.g.cmp_active=false<cr>', "Completion off" },
|
||||
C = { '<cmd>lua vim.g.cmp_active=true<cr>', "Completion on" },
|
||||
c = { "<cmd>lua vim.g.cmp_active=false<cr>", "Completion off" },
|
||||
C = { "<cmd>lua vim.g.cmp_active=true<cr>", "Completion on" },
|
||||
w = { '<cmd>lua require("user.functions").toggle_option("wrap")<cr>', "Wrap" },
|
||||
r = { '<cmd>lua require("user.functions").toggle_option("relativenumber")<cr>', "Relative" },
|
||||
l = { '<cmd>lua require("user.functions").toggle_option("cursorline")<cr>', "Cursorline" },
|
||||
@ -225,6 +225,7 @@ local mappings = {
|
||||
},
|
||||
t = { '<cmd>lua require("user.functions").toggle_diagnostics()<cr>', "Toggle Diagnostics" },
|
||||
u = { "<cmd>LuaSnipUnlinkCurrent<cr>", "Unlink Snippet" },
|
||||
M = { "<cmd>Mason<cr>", "Open Mason UI" },
|
||||
},
|
||||
|
||||
t = {
|
||||
@ -250,7 +251,7 @@ local mappings = {
|
||||
name = "Notes (zk)",
|
||||
n = { "<cmd>ZkNew<cr>", "New Note" },
|
||||
e = { "<cmd>ZkNotes<cr>", "Edit Notes" },
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
local vopts = {
|
||||
|
||||
@ -385,6 +385,7 @@ myStandardEZKeys =
|
||||
--NOTE extras
|
||||
, ("M-S-/", spawn "xmonad-keys-help") -- show keybinds
|
||||
, ("M-<Print>", spawn "maimpick") -- take full screenshot
|
||||
, ("M-<F1>", spawn "kbswitcher") -- set keyboard to dvorak
|
||||
]
|
||||
-- The following lines are needed for named scratchpads.
|
||||
where nonNSP = WSIs (return (\ws -> W.tag ws /= "NSP"))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user