Compare commits
2 commits
d4085c80c2
...
aa66afe555
Author | SHA1 | Date | |
---|---|---|---|
aa66afe555 | |||
1956f79f2f |
4 changed files with 17 additions and 11 deletions
6
home/private_bin/executable_notes-commit
Normal file
6
home/private_bin/executable_notes-commit
Normal file
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
GIT_DIR="${HOME}/stuff/notes"
|
||||
notes
|
||||
notify-send "$(git -C $GIT_DIR commit -m ":memo:" -- notes)"
|
||||
|
|
@ -3,7 +3,7 @@ $mainMod = SUPER
|
|||
# Program binds
|
||||
bind = $mainMod SHIFT, RETURN, exec, wezterm
|
||||
bind = $mainMod, P, exec, ~/.config/rofi/bin/launcher.sh
|
||||
bind = $mainMod, N, exec, wezterm start --class "notes-editor" -e notes
|
||||
bind = $mainMod, N, exec, wezterm start --class "notes-editor" -e notes-commit
|
||||
|
||||
bind = $mainMod SHIFT, Q, killactive,
|
||||
bind = $mainMod SHIFT, L, exec, lock
|
||||
|
|
|
@ -15,7 +15,7 @@ require("lazy").setup({
|
|||
{ import = "lazyvim.plugins.extras.lang.tex" },
|
||||
{ import = "lazyvim.plugins.extras.lang.docker" },
|
||||
-- { import = "lazyvim.plugins.extras.lang.markdown" },
|
||||
{ import = "lazyvim.plugins.extras.lsp.none-ls" },
|
||||
-- { import = "lazyvim.plugins.extras.lsp.none-ls" },
|
||||
{ import = "plugins" },
|
||||
{ import = "plugins.language" },
|
||||
},
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
return {
|
||||
require("util").setup_lang({ treesitter = { "lua" }, mason = { "stylua", "lua-language-server" } }),
|
||||
{
|
||||
"nvimtools/none-ls.nvim",
|
||||
opts = function(_, opts)
|
||||
local nls = require("null-ls")
|
||||
opts.sources = vim.list_extend(opts.sources or {}, {
|
||||
nls.builtins.formatting["stylua"],
|
||||
})
|
||||
end,
|
||||
},
|
||||
-- {
|
||||
-- "nvimtools/none-ls.nvim",
|
||||
-- opts = function(_, opts)
|
||||
-- local nls = require("null-ls")
|
||||
-- opts.sources = vim.list_extend(opts.sources or {}, {
|
||||
-- nls.builtins.formatting["stylua"],
|
||||
-- })
|
||||
-- end,
|
||||
-- },
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue