Compare commits
2 commits
0caec0dee0
...
3056ac5c41
Author | SHA1 | Date | |
---|---|---|---|
3056ac5c41 | |||
b4759716b2 |
8 changed files with 34 additions and 21 deletions
|
@ -130,7 +130,7 @@ def main():
|
|||
print(f"{color('message:',11)}\n {summary}")
|
||||
|
||||
actions = {
|
||||
"commit": lambda: run(f"git commit -m '{summary}'", capture=False),
|
||||
"commit": lambda: run(f"git commit -m \'{summary}\'", capture=False),
|
||||
"commit(with message)": lambda: run(
|
||||
f"git commit -m '{summary}' -m '# note: abort with :cq!' -e", capture=False
|
||||
),
|
||||
|
|
|
@ -69,9 +69,9 @@ if [[ -z $updates_info ]]; then
|
|||
fi
|
||||
|
||||
if [[ -n $notify ]]; then
|
||||
notify-send -w "System Updates Available!" "$updates_info"
|
||||
notify-send -w "System Updates Available!" "$updates_info" &
|
||||
else
|
||||
echo "nystem Updates Available!"
|
||||
echo "System Updates Available!"
|
||||
echo "$updates_info"
|
||||
update_system
|
||||
fi
|
||||
|
|
|
@ -20,10 +20,6 @@ return {
|
|||
["<C-Up>"] = false,
|
||||
["<C-q>"] = false,
|
||||
["<C-s>"] = false,
|
||||
["<leader>fh"] = false,
|
||||
["<leader>fm"] = false,
|
||||
["<leader>fn"] = false,
|
||||
["<leader>fo"] = false,
|
||||
["<leader>sb"] = false,
|
||||
["<leader>sc"] = false,
|
||||
["<leader>sh"] = false,
|
||||
|
@ -36,10 +32,6 @@ return {
|
|||
j = { "gj", desc = "Navigate down" },
|
||||
k = { "gk", desc = "Navigate down" },
|
||||
},
|
||||
t = {
|
||||
-- setting a mapping to false will disable it
|
||||
-- ["<esc>"] = false,
|
||||
},
|
||||
}
|
||||
|
||||
-- map('n', 'j', "v:count ? 'j' : 'gj'", { expr = true, noremap = true })
|
||||
|
|
|
@ -1,4 +1,24 @@
|
|||
-- load config from local file...
|
||||
-- local p = function(name)
|
||||
-- return string.format("require'config.%s'", name)
|
||||
-- end
|
||||
|
||||
-- d for default :P
|
||||
local d = function(name)
|
||||
return string.format("require'%s'.setup({})", name)
|
||||
end
|
||||
|
||||
return {
|
||||
{ "lambdalisue/suda.vim" }, -- for sudo reading and writing
|
||||
-- theming
|
||||
{
|
||||
"catppuccin/nvim",
|
||||
as = "catppuccin",
|
||||
config = d("zk"),
|
||||
},
|
||||
-- { "LnL7/vim-nix" },
|
||||
-- language specific
|
||||
{ "alaviss/nim.nvim" },
|
||||
{
|
||||
"quarto-dev/quarto-vim",
|
||||
requires = {
|
||||
|
@ -6,11 +26,9 @@ return {
|
|||
},
|
||||
ft = { "quarto" },
|
||||
},
|
||||
{ "catppuccin/nvim", as = "catppuccin",
|
||||
config = function()
|
||||
require("catppuccin").setup {}
|
||||
end,
|
||||
-- general tools
|
||||
{
|
||||
"mickael-menu/zk-nvim",
|
||||
config = d("zk"),
|
||||
},
|
||||
{ 'LnL7/vim-nix' },
|
||||
{ 'lambdalisue/suda.vim' }, -- for sudo reading and writing
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@ return {
|
|||
"gopls",
|
||||
"html",
|
||||
"jsonls",
|
||||
"pyright",
|
||||
-- "pyright",
|
||||
"sumneko_lua",
|
||||
"texlab",
|
||||
"yamlls",
|
||||
|
|
|
@ -23,8 +23,10 @@ gui:
|
|||
- "#89b4fa" # Blue
|
||||
selectedLineBgColor:
|
||||
- "#313244" # Surface0
|
||||
- reverse
|
||||
selectedRangeBgColor:
|
||||
- "#313244" # Surface0
|
||||
- reverse
|
||||
cherryPickedCommitBgColor:
|
||||
- "#94e2d5" # Teal
|
||||
cherryPickedCommitFgColor:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[Settings]
|
||||
gtk-application-prefer-dark-theme=true
|
||||
gtk-cursor-theme-name=phinger-cursors-light
|
||||
gtk-application-prefer-dark-theme = true
|
||||
gtk-theme-name=Catppuccin-Mocha-Standard-Rosewater-Dark
|
||||
gtk-icon-theme-name=Papirus-Dark
|
||||
gtk-theme-name=Catppuccin-Mocha
|
||||
|
|
|
@ -3,7 +3,8 @@ setw -g mode-keys vi
|
|||
|
||||
set -g prefix C-a
|
||||
unbind C-b
|
||||
bind C-a send-prefix
|
||||
|
||||
set -g mouse on
|
||||
|
||||
# smart pane switching with awareness of vim splits
|
||||
bind h select-pane -L
|
||||
|
|
Loading…
Reference in a new issue