Compare commits

...

2 commits

Author SHA1 Message Date
3056ac5c41 mostly neovim/tmux stuffs 2023-01-07 10:42:54 -06:00
b4759716b2 general updates yo 2023-01-07 10:41:44 -06:00
8 changed files with 34 additions and 21 deletions

View file

@ -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
),

View file

@ -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

View file

@ -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 })

View file

@ -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
}

View file

@ -4,7 +4,7 @@ return {
"gopls",
"html",
"jsonls",
"pyright",
-- "pyright",
"sumneko_lua",
"texlab",
"yamlls",

View file

@ -23,8 +23,10 @@ gui:
- "#89b4fa" # Blue
selectedLineBgColor:
- "#313244" # Surface0
- reverse
selectedRangeBgColor:
- "#313244" # Surface0
- reverse
cherryPickedCommitBgColor:
- "#94e2d5" # Teal
cherryPickedCommitFgColor:

View file

@ -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

View file

@ -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