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