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}") 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
), ),

View file

@ -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 "nystem Updates Available!" echo "System Updates Available!"
echo "$updates_info" echo "$updates_info"
update_system update_system
fi fi

View file

@ -20,10 +20,6 @@ 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,
@ -36,10 +32,6 @@ 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 })

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 { 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 = {
@ -6,11 +26,9 @@ return {
}, },
ft = { "quarto" }, ft = { "quarto" },
}, },
{ "catppuccin/nvim", as = "catppuccin", -- general tools
config = function() {
require("catppuccin").setup {} "mickael-menu/zk-nvim",
end, config = d("zk"),
}, },
{ 'LnL7/vim-nix' },
{ 'lambdalisue/suda.vim' }, -- for sudo reading and writing
} }

View file

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

View file

@ -23,8 +23,10 @@ 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:

View file

@ -1,5 +1,5 @@
[Settings] [Settings]
gtk-application-prefer-dark-theme=true
gtk-cursor-theme-name=phinger-cursors-light 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-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 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