mirror of
https://github.com/avinal/dotfiles.git
synced 2026-07-03 23:20:07 +05:30
update: create configuration for new tools
Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com> rh-pre-commit.version: 2.3.2 rh-pre-commit.check-secrets: ENABLED
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
# update_check = true
|
||||
|
||||
## address of the sync server
|
||||
sync_address = "http://pifour.neon-universe.ts.net:8888"
|
||||
sync_address = "http://pifive.neon-universe.ts.net:8888"
|
||||
|
||||
## how often to sync history. note that this is only triggered when a command
|
||||
## is ran, so sync intervals may well be longer
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
# Font related configs
|
||||
font-family = "Monaspace Neon"
|
||||
font-size = "14"
|
||||
adjust-underline-position = "1"
|
||||
adjust-underline-thickness = "1"
|
||||
#adjust-cell-width = "5%"
|
||||
#adjust-cell-height = "5%"
|
||||
adjust-box-thickness = "1"
|
||||
|
||||
# Appearance
|
||||
# theme = "Oxocarbon"
|
||||
theme = "Raycast_Dark"
|
||||
# title = "Ghostty"
|
||||
window-decoration = true
|
||||
|
||||
# Cursor setting
|
||||
cursor-style = "underline"
|
||||
cursor-click-to-move = true
|
||||
cursor-color = "cyan"
|
||||
cursor-text = "cyan"
|
||||
# cursor-invert-fg-bg = true
|
||||
# adjust-cursor-thickness = "2"
|
||||
|
||||
# Shell setting
|
||||
shell-integration = "zsh"
|
||||
shell-integration-features = true
|
||||
|
||||
# Clipboard
|
||||
clipboard-read = "allow"
|
||||
clipboard-write = "allow"
|
||||
@@ -0,0 +1,42 @@
|
||||
theme = "carbonfox"
|
||||
|
||||
[editor]
|
||||
rulers = [80, 100]
|
||||
mouse = true
|
||||
cursorline = true
|
||||
continue-comments = true
|
||||
bufferline = "multiple"
|
||||
color-modes = true
|
||||
end-of-line-diagnostics = "hint"
|
||||
popup-border = "popup"
|
||||
|
||||
[editor.soft-wrap]
|
||||
enable = true
|
||||
|
||||
[editor.lsp]
|
||||
display-messages = true
|
||||
#display-inlay-hints = true
|
||||
|
||||
[editor.cursor-shape]
|
||||
insert = "underline"
|
||||
select = "bar"
|
||||
|
||||
[editor.file-picker]
|
||||
hidden = false
|
||||
ignore = true
|
||||
|
||||
|
||||
[editor.whitespace]
|
||||
render = "none"
|
||||
|
||||
[editor.indent-guides]
|
||||
render = true
|
||||
|
||||
[editor.inline-diagnostics]
|
||||
cursor-line = "error"
|
||||
other-lines = "warning"
|
||||
|
||||
[editor.statusline]
|
||||
left = ["mode", "spacer", "version-control", "spacer", "file-name", "read-only-indicator"]
|
||||
center = ["diagnostics", "spinner", "file-modification-indicator"]
|
||||
right = ["primary-selection-length", "selections", "register", "position", "separator", "total-line-numbers"]
|
||||
@@ -0,0 +1,5 @@
|
||||
# Global ignore files
|
||||
|
||||
|
||||
# For golang
|
||||
vendor/
|
||||
@@ -0,0 +1,66 @@
|
||||
[language-server.harper-ls]
|
||||
command = "harper-ls"
|
||||
args = ["--stdio"]
|
||||
config = { harper-ls = { diagnosticSeverity = "error", linters = { long_sentences = false } } }
|
||||
|
||||
[language-server.wakatime]
|
||||
command = "wakatime-ls"
|
||||
|
||||
[language-server.yaml-language-server.config.yaml]
|
||||
format = { enable = true }
|
||||
validation = true
|
||||
|
||||
[[language]]
|
||||
name = "c"
|
||||
file-types = ["c", "h"]
|
||||
formatter = { command = 'clang-format' }
|
||||
auto-format = false
|
||||
language-servers = ["clangd", "wakatime"]
|
||||
indent = { tab-width = 4, unit = " " }
|
||||
|
||||
[[language]]
|
||||
name = "cpp"
|
||||
file-types = ["cpp", "cc", "cxx", "hpp", "hcc", "hxx"]
|
||||
formatter = { command = 'clang-format' }
|
||||
language-servers = ["clangd", "wakatime"]
|
||||
auto-format = false
|
||||
indent = { tab-width = 4, unit = " " }
|
||||
|
||||
[[language]]
|
||||
name = "markdown"
|
||||
file-types = ["md", "rst", "adoc"]
|
||||
language-servers = ["marksman", "wakatime", "harper-ls"]
|
||||
|
||||
[[language]]
|
||||
name = "go"
|
||||
language-servers = ["gopls", "wakatime"]
|
||||
formatter = { command = 'goimports' }
|
||||
auto-format = true
|
||||
|
||||
[[language]]
|
||||
name = "yaml"
|
||||
language-servers = ["yaml-language-server", "wakatime"]
|
||||
|
||||
[[language]]
|
||||
name = "bash"
|
||||
language-servers = ["bash-language-server", "wakatime"]
|
||||
|
||||
[[language]]
|
||||
name = "html"
|
||||
language-servers = ["wakatime"]
|
||||
|
||||
|
||||
[[language]]
|
||||
name = "lua"
|
||||
language-servers = ["wakatime"]
|
||||
|
||||
|
||||
# [[language]]
|
||||
# name = "docker"
|
||||
# language-servers = ["wakatime"]
|
||||
|
||||
|
||||
[[language]]
|
||||
name = "json"
|
||||
language-servers = ["wakatime"]
|
||||
|
||||
+21
-20
@@ -1,40 +1,41 @@
|
||||
{
|
||||
"Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" },
|
||||
"LuaSnip": { "branch": "master", "commit": "2592b91577136dbb355a4708be1e60619456b7f6" },
|
||||
"cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" },
|
||||
"LuaSnip": { "branch": "master", "commit": "33b06d72d220aa56a7ce80a0dd6f06c70cd82b9d" },
|
||||
"cmp-nvim-lsp": { "branch": "main", "commit": "99290b3ec1322070bcfb9e846450a46f6efa50f0" },
|
||||
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
|
||||
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
|
||||
"conform.nvim": { "branch": "master", "commit": "a203480a350b03092e473bf3001733d547160a73" },
|
||||
"fidget.nvim": { "branch": "main", "commit": "e2a175c2abe2d4f65357da1c98c59a5cfb2b543f" },
|
||||
"conform.nvim": { "branch": "master", "commit": "9180320205d250429f0f80e073326c674e2a7149" },
|
||||
"fidget.nvim": { "branch": "main", "commit": "9238947645ce17d96f30842e61ba81147185b657" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "5f808b5e4fef30bd8aca1b803b4e555da07fc412" },
|
||||
"indent-blankline.nvim": { "branch": "master", "commit": "7871a88056f7144defca9c931e311a3134c5d509" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "56ead98e05bb37a4ec28930a54d836d033cf00f2" },
|
||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "8e46de9241d3997927af12196bd8faa0ed08c29a" },
|
||||
"indent-blankline.nvim": { "branch": "master", "commit": "259357fa4097e232730341fa60988087d189193a" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "7e6c863bc7563efbdd757a310d17ebc95166cef3" },
|
||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "c6c686781f9841d855bf1b926e10aa5e19430a38" },
|
||||
"mason-nvim-dap.nvim": { "branch": "main", "commit": "8b9363d83b5d779813cdd2819b8308651cec2a09" },
|
||||
"mason-tool-installer.nvim": { "branch": "main", "commit": "c5e07b8ff54187716334d585db34282e46fa2932" },
|
||||
"mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" },
|
||||
"mini.nvim": { "branch": "main", "commit": "ad46fda7862153107124f95d4ea0e510eafc1dd8" },
|
||||
"mini.nvim": { "branch": "main", "commit": "9df78f3cdf9bdcc5aaf93cc51412a69a384041b2" },
|
||||
"neo-tree.nvim": { "branch": "main", "commit": "a77af2e764c5ed4038d27d1c463fa49cd4794e07" },
|
||||
"neodev.nvim": { "branch": "main", "commit": "46aa467dca16cf3dfe27098042402066d2ae242d" },
|
||||
"nightfox.nvim": { "branch": "main", "commit": "7557f26defd093c4e9bc17f28b08403f706f5a44" },
|
||||
"nui.nvim": { "branch": "main", "commit": "b58e2bfda5cea347c9d58b7f11cf3012c7b3953f" },
|
||||
"nightfox.nvim": { "branch": "main", "commit": "595ffb8f291fc4a9bef3201a28b7c0379a41cdee" },
|
||||
"nui.nvim": { "branch": "main", "commit": "53e907ffe5eedebdca1cd503b00aa8692068ca46" },
|
||||
"nvim-autopairs": { "branch": "master", "commit": "b464658e9b880f463b9f7e6ccddd93fb0013f559" },
|
||||
"nvim-cmp": { "branch": "main", "commit": "ca4d3330d386e76967e53b85953c170658255ecb" },
|
||||
"nvim-colorizer.lua": { "branch": "master", "commit": "4acf88d31b3a7a1a7f31e9c30bf2b23c6313abdb" },
|
||||
"nvim-dap": { "branch": "master", "commit": "0a0daa796a5919a51e5e5019ffa91219c94c4fef" },
|
||||
"nvim-cmp": { "branch": "main", "commit": "b555203ce4bd7ff6192e759af3362f9d217e8c89" },
|
||||
"nvim-colorizer.lua": { "branch": "master", "commit": "8a65c448122fc8fac9c67b2e857b6e830a4afd0b" },
|
||||
"nvim-dap": { "branch": "master", "commit": "0e673accbb512e1e191dfb4fecea89cc38c1bcdd" },
|
||||
"nvim-dap-go": { "branch": "main", "commit": "6aa88167ea1224bcef578e8c7160fe8afbb44848" },
|
||||
"nvim-dap-ui": { "branch": "master", "commit": "ffa89839f97bad360e78428d5c740fdad9a0ff02" },
|
||||
"nvim-lint": { "branch": "master", "commit": "6b46370d02cd001509a765591a3ffc481b538794" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "f59eba2ec08edda0e09ecf34ec29ad10a429e48d" },
|
||||
"nvim-dap-ui": { "branch": "master", "commit": "e94d98649dccb6a3884b66aabc2e07beb279e535" },
|
||||
"nvim-lint": { "branch": "master", "commit": "1fea92f1d9908eaa5eb8bafe08b4293d7aadaa55" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "8b15a1a597a59f4f5306fad9adfe99454feab743" },
|
||||
"nvim-nio": { "branch": "master", "commit": "a428f309119086dc78dd4b19306d2d67be884eee" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "69170c93149ddb71a22bd954514806395c430c02" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "203da76ecfbb4b192cf830665b03eb651b635c94" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "5f78e989243f9fb0fb55e0cf54820920d86dfd30" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "4adeeaa7a32d46cf3b5833341358c797304f950a" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" },
|
||||
"telescope-fzf-native.nvim": { "branch": "main", "commit": "cf48d4dfce44e0b9a2e19a008d6ec6ea6f01a83b" },
|
||||
"tailwind-tools": { "branch": "master", "commit": "3703e162d819a04b128902c508276553dae0dfb8" },
|
||||
"telescope-fzf-native.nvim": { "branch": "main", "commit": "dae2eac9d91464448b584c7949a31df8faefec56" },
|
||||
"telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" },
|
||||
"telescope.nvim": { "branch": "0.1.x", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" },
|
||||
"todo-comments.nvim": { "branch": "main", "commit": "ae0a2afb47cf7395dc400e5dc4e05274bf4fb9e0" },
|
||||
"vim-sleuth": { "branch": "master", "commit": "be69bff86754b1aa5adcbb527d7fcd1635a84080" },
|
||||
"vim-wakatime": { "branch": "master", "commit": "cf51327a9e08935569614d1cb24e779ee9f45519" },
|
||||
"which-key.nvim": { "branch": "main", "commit": "9b365a6428a9633e3eeb34dbef1b791511c54f70" }
|
||||
"which-key.nvim": { "branch": "main", "commit": "8ab96b38a2530eacba5be717f52e04601eb59326" }
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
-- tailwind-tools.lua
|
||||
return {
|
||||
'luckasRanarison/tailwind-tools.nvim',
|
||||
name = 'tailwind-tools',
|
||||
build = ':UpdateRemotePlugins',
|
||||
dependencies = {
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
'nvim-telescope/telescope.nvim', -- optional
|
||||
'neovim/nvim-lspconfig', -- optional
|
||||
},
|
||||
opts = {}, -- your configuration
|
||||
}
|
||||
@@ -21,4 +21,5 @@ return {
|
||||
}
|
||||
end,
|
||||
}
|
||||
|
||||
--- vim: ts=2 sts=2 sw=2 et
|
||||
|
||||
@@ -26,6 +26,8 @@ return {
|
||||
end,
|
||||
formatters_by_ft = {
|
||||
lua = { 'stylua' },
|
||||
go = { 'goimports', 'gofmt' },
|
||||
html = { 'prettier' },
|
||||
-- Conform can also run multiple formatters sequentially
|
||||
-- python = { "isort", "black" },
|
||||
--
|
||||
|
||||
@@ -7,7 +7,8 @@ return {
|
||||
local lint = require 'lint'
|
||||
lint.linters_by_ft = {
|
||||
markdown = { 'markdownlint' },
|
||||
-- yaml = { 'yamllint' },
|
||||
yaml = { 'yamllint' },
|
||||
cmake = { 'cmakelint' },
|
||||
}
|
||||
|
||||
-- To allow other plugins to add linters to require('lint').linters_by_ft,
|
||||
|
||||
@@ -163,7 +163,17 @@ return {
|
||||
jsonls = {},
|
||||
dockerls = {},
|
||||
marksman = {},
|
||||
harper_ls = {},
|
||||
harper_ls = {
|
||||
filetypes = {
|
||||
'c',
|
||||
'markdown',
|
||||
'cpp',
|
||||
'go',
|
||||
'toml',
|
||||
'yaml',
|
||||
},
|
||||
},
|
||||
-- html = {},
|
||||
-- pyright = {},
|
||||
rust_analyzer = {},
|
||||
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
|
||||
|
||||
@@ -19,6 +19,7 @@ return {
|
||||
mappings = {
|
||||
['\\'] = 'close_window',
|
||||
},
|
||||
position = 'right',
|
||||
},
|
||||
filtered_items = {
|
||||
visible = true,
|
||||
|
||||
@@ -0,0 +1,79 @@
|
||||
configuration {
|
||||
modi: "drun";
|
||||
font: "Rubik 10";
|
||||
display-drun: "";
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@theme "/dev/null"
|
||||
|
||||
* {
|
||||
bg: #b5b5aa;
|
||||
fg: #2b2b2b;
|
||||
button: #9e9e95;
|
||||
|
||||
background-color: @bg;
|
||||
text-color: @fg;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 7px;
|
||||
width: 40%;
|
||||
y-offset: 10px;
|
||||
padding: 20px;
|
||||
location: south;
|
||||
}
|
||||
|
||||
prompt { enabled: false; }
|
||||
|
||||
entry {
|
||||
placeholder: "Search";
|
||||
expand: true;
|
||||
padding: 5px 2% 5px 2%;
|
||||
background-color: @button;
|
||||
placeholder-color: @fg;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ prompt, entry ];
|
||||
background-color: @button;
|
||||
text-color: @fg;
|
||||
expand: false;
|
||||
border-radius: 6px;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 1;
|
||||
lines: 8;
|
||||
cycle: false;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 2%;
|
||||
padding: 2% 1% 2% 1%;
|
||||
}
|
||||
|
||||
element {
|
||||
orientation: vertical;
|
||||
border-radius: 0%;
|
||||
padding: 1.5% 0% 1.5% 0%;
|
||||
}
|
||||
|
||||
element-text {
|
||||
expand: true;
|
||||
vertical-align: 0.5;
|
||||
margin: 0.5% 3% 0% 3%;
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @fg;
|
||||
text-color: @bg;
|
||||
border-radius: 6px;
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
/*******************************************************************************
|
||||
* ROFI SQUARED THEME USING THE MATERIAL DARKER PALETTE
|
||||
* User : LR-Tech
|
||||
* Theme Repo : https://github.com/lr-tech/rofi-themes-collection
|
||||
*******************************************************************************/
|
||||
|
||||
* {
|
||||
|
||||
bg0: #212121;
|
||||
bg1: #404040;
|
||||
fg0: #eeffff;
|
||||
|
||||
accent-color: #f07178;
|
||||
urgent-color: #ffcb6b;
|
||||
|
||||
background-color: transparent;
|
||||
text-color: @fg0;
|
||||
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
spacing: 0;
|
||||
}
|
||||
|
||||
window {
|
||||
location: center;
|
||||
width: 480;
|
||||
|
||||
background-color: @bg0;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
spacing: 8px;
|
||||
padding: 8px;
|
||||
|
||||
background-color: @bg1;
|
||||
}
|
||||
|
||||
prompt, entry, element-icon, element-text {
|
||||
vertical-align: 0.5;
|
||||
}
|
||||
|
||||
prompt {
|
||||
text-color: @accent-color;
|
||||
}
|
||||
|
||||
textbox {
|
||||
padding: 8px;
|
||||
background-color: @bg1;
|
||||
}
|
||||
|
||||
listview {
|
||||
padding: 4px 0;
|
||||
lines: 8;
|
||||
columns: 1;
|
||||
|
||||
fixed-height: false;
|
||||
}
|
||||
|
||||
element {
|
||||
padding: 8px;
|
||||
spacing: 8px;
|
||||
}
|
||||
|
||||
element normal normal {
|
||||
text-color: @fg0;
|
||||
}
|
||||
|
||||
element normal urgent {
|
||||
text-color: @urgent-color;
|
||||
}
|
||||
|
||||
element normal active {
|
||||
text-color: @accent-color;
|
||||
}
|
||||
|
||||
element alternate active {
|
||||
text-color: @accent-color;
|
||||
}
|
||||
|
||||
element selected {
|
||||
text-color: @bg0;
|
||||
}
|
||||
|
||||
element selected normal, element selected active {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
|
||||
element selected urgent {
|
||||
background-color: @urgent-color;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 0.8em;
|
||||
}
|
||||
|
||||
element-text {
|
||||
text-color: inherit;
|
||||
}
|
||||
+2
-2
@@ -15,9 +15,9 @@ set $up k
|
||||
set $right l
|
||||
# Your preferred terminal emulator
|
||||
# Recommends: foot
|
||||
set $term alacritty
|
||||
set $term kitty
|
||||
# set alternate terminal emulator
|
||||
set $alt_term gnome-terminal
|
||||
set $alt_term alacritty
|
||||
# Your preferred application launcher
|
||||
# Note: pass the final command to swaymsg so that the resulting window can be opened
|
||||
# on the original workspace that the command was run on.
|
||||
|
||||
@@ -175,7 +175,7 @@
|
||||
},
|
||||
"network": {
|
||||
"interval": 10,
|
||||
"format-wifi": "{essid} {frequency} ({signalStrength}%)",
|
||||
"format-wifi": "{essid} ({signalStrength}%)",
|
||||
"format-ethernet": "Wired {ifname}",
|
||||
"format-linked": "<span color='red'>No Internet!</span>",
|
||||
"tooltip-format-disconnected": "Please connect to a network.",
|
||||
|
||||
+417
-277
@@ -1,317 +1,404 @@
|
||||
// If you'd like to override the default keybindings completely, be sure to change "keybinds" to "keybinds clear-defaults=true"
|
||||
//
|
||||
// THIS FILE WAS AUTOGENERATED BY ZELLIJ, THE PREVIOUS FILE AT THIS LOCATION WAS COPIED TO: /home/avinal/.config/zellij/config.kdl.bak
|
||||
//
|
||||
|
||||
keybinds clear-defaults=true {
|
||||
normal {
|
||||
// uncomment this and adjust key if using copy_on_select=false
|
||||
// bind "Alt c" { Copy; }
|
||||
}
|
||||
locked {
|
||||
bind "Ctrl Space" { SwitchToMode "Normal"; }
|
||||
}
|
||||
resize {
|
||||
bind "Alt r" { SwitchToMode "Normal"; }
|
||||
bind "Left" { Resize "Increase Left"; }
|
||||
bind "Down" { Resize "Increase Down"; }
|
||||
bind "Up" { Resize "Increase Up"; }
|
||||
bind "Right" { Resize "Increase Right"; }
|
||||
bind "=" "+" { Resize "Increase"; }
|
||||
bind "-" { Resize "Decrease"; }
|
||||
bind "Ctrl space" { SwitchToMode "normal"; }
|
||||
}
|
||||
pane {
|
||||
bind "Alt p" { SwitchToMode "Normal"; }
|
||||
bind "Left" { NewPane "Left"; SwitchToMode "Normal"; }
|
||||
bind "Down" { NewPane "Down"; SwitchToMode "Normal"; }
|
||||
bind "Right" { NewPane "Right"; SwitchToMode "Normal"; }
|
||||
bind "Up" { NewPane "Up"; SwitchToMode "Normal"; }
|
||||
bind "x" { CloseFocus; SwitchToMode "Normal"; }
|
||||
bind "f" { ToggleFocusFullscreen; SwitchToMode "Normal"; }
|
||||
bind "z" { TogglePaneFrames; SwitchToMode "Normal"; }
|
||||
bind "w" { ToggleFloatingPanes; SwitchToMode "Normal"; }
|
||||
bind "e" { TogglePaneEmbedOrFloating; SwitchToMode "Normal"; }
|
||||
bind "r" { SwitchToMode "RenamePane"; PaneNameInput 0;}
|
||||
}
|
||||
move {
|
||||
bind "Alt m" { SwitchToMode "Normal"; }
|
||||
bind "Left" { MovePane "Left"; }
|
||||
bind "Down" { MovePane "Down"; }
|
||||
bind "Up" { MovePane "Up"; }
|
||||
bind "Right" { MovePane "Right"; }
|
||||
bind "left" { NewPane "left"; SwitchToMode "normal"; }
|
||||
bind "down" { NewPane "down"; SwitchToMode "normal"; }
|
||||
bind "up" { NewPane "up"; SwitchToMode "normal"; }
|
||||
bind "right" { NewPane "right"; SwitchToMode "normal"; }
|
||||
bind "e" { TogglePaneEmbedOrFloating; SwitchToMode "normal"; }
|
||||
bind "f" { ToggleFocusFullscreen; SwitchToMode "normal"; }
|
||||
bind "Alt p" { SwitchToMode "normal"; }
|
||||
bind "r" { SwitchToMode "renamepane"; PaneNameInput 0; }
|
||||
bind "w" { ToggleFloatingPanes; SwitchToMode "normal"; }
|
||||
bind "z" { TogglePaneFrames; SwitchToMode "normal"; }
|
||||
}
|
||||
tab {
|
||||
bind "Alt t" { SwitchToMode "Normal"; }
|
||||
bind "r" { SwitchToMode "RenameTab"; TabNameInput 0; }
|
||||
bind "Left" "Up" { GoToPreviousTab; }
|
||||
bind "Right" "Down" { GoToNextTab; }
|
||||
bind "n" { NewTab; SwitchToMode "Normal"; }
|
||||
bind "x" { CloseTab; SwitchToMode "Normal"; }
|
||||
bind "s" { ToggleActiveSyncTab; SwitchToMode "Normal"; }
|
||||
bind "b" { BreakPane; SwitchToMode "Normal"; }
|
||||
bind "Tab" { ToggleTab; }
|
||||
bind "left" { GoToPreviousTab; }
|
||||
bind "down" { GoToNextTab; }
|
||||
bind "up" { GoToPreviousTab; }
|
||||
bind "right" { GoToNextTab; }
|
||||
bind "b" { BreakPane; SwitchToMode "normal"; }
|
||||
bind "n" { NewTab; SwitchToMode "normal"; }
|
||||
bind "r" { SwitchToMode "renametab"; TabNameInput 0; }
|
||||
bind "s" { ToggleActiveSyncTab; SwitchToMode "normal"; }
|
||||
bind "Alt t" { SwitchToMode "normal"; }
|
||||
bind "x" { CloseTab; SwitchToMode "normal"; }
|
||||
bind "tab" { ToggleTab; }
|
||||
}
|
||||
resize {
|
||||
bind "left" { Resize "Increase left"; }
|
||||
bind "down" { Resize "Increase down"; }
|
||||
bind "up" { Resize "Increase up"; }
|
||||
bind "right" { Resize "Increase right"; }
|
||||
bind "+" { Resize "Increase"; }
|
||||
bind "-" { Resize "Decrease"; }
|
||||
bind "=" { Resize "Increase"; }
|
||||
bind "Alt r" { SwitchToMode "normal"; }
|
||||
}
|
||||
move {
|
||||
bind "left" { MovePane "left"; }
|
||||
bind "down" { MovePane "down"; }
|
||||
bind "up" { MovePane "up"; }
|
||||
bind "right" { MovePane "right"; }
|
||||
bind "Alt m" { SwitchToMode "normal"; }
|
||||
}
|
||||
scroll {
|
||||
bind "Alt s" { SwitchToMode "Normal"; }
|
||||
bind "e" { EditScrollback; SwitchToMode "Normal"; }
|
||||
bind "s" { SwitchToMode "EnterSearch"; SearchInput 0; }
|
||||
bind "Down" { ScrollDown; }
|
||||
bind "Up" { ScrollUp; }
|
||||
bind "PageDown" { PageScrollDown; }
|
||||
bind "PageUp" { PageScrollUp; }
|
||||
// uncomment this and adjust key if using copy_on_select=false
|
||||
// bind "Alt c" { Copy; }
|
||||
bind "e" { EditScrollback; SwitchToMode "normal"; }
|
||||
bind "s" { SwitchToMode "entersearch"; SearchInput 0; }
|
||||
}
|
||||
search {
|
||||
bind "Alt s" { SwitchToMode "Normal"; }
|
||||
bind "Alt c" { ScrollToBottom; SwitchToMode "Normal"; }
|
||||
bind "Down" { ScrollDown; }
|
||||
bind "Up" { ScrollUp; }
|
||||
bind "PageDown" "Right" { PageScrollDown; }
|
||||
bind "PageUp" "Left" { PageScrollUp; }
|
||||
bind "n" { Search "down"; }
|
||||
bind "p" { Search "up"; }
|
||||
bind "left" { PageScrollUp; }
|
||||
bind "right" { PageScrollDown; }
|
||||
bind "c" { SearchToggleOption "CaseSensitivity"; }
|
||||
bind "w" { SearchToggleOption "Wrap"; }
|
||||
bind "Alt c" { ScrollToBottom; SwitchToMode "normal"; }
|
||||
bind "n" { Search "down"; }
|
||||
bind "o" { SearchToggleOption "WholeWord"; }
|
||||
}
|
||||
entersearch {
|
||||
bind "Alt c" "Esc" { SwitchToMode "Scroll"; }
|
||||
bind "Enter" { SwitchToMode "Search"; }
|
||||
}
|
||||
renametab {
|
||||
bind "Alt c" { SwitchToMode "Normal"; }
|
||||
bind "Esc" { UndoRenameTab; SwitchToMode "Tab"; }
|
||||
}
|
||||
renamepane {
|
||||
bind "Alt c" { SwitchToMode "Normal"; }
|
||||
bind "Esc" { UndoRenamePane; SwitchToMode "Pane"; }
|
||||
bind "p" { Search "up"; }
|
||||
bind "w" { SearchToggleOption "Wrap"; }
|
||||
}
|
||||
session {
|
||||
bind "Alt o" { SwitchToMode "Normal"; }
|
||||
bind "Alt s" { SwitchToMode "Scroll"; }
|
||||
bind "d" { Detach; }
|
||||
bind "Alt o" { SwitchToMode "normal"; }
|
||||
bind "w" {
|
||||
LaunchOrFocusPlugin "session-manager" {
|
||||
floating true
|
||||
move_to_focused_tab true
|
||||
};
|
||||
SwitchToMode "Normal"
|
||||
}
|
||||
SwitchToMode "normal"
|
||||
}
|
||||
}
|
||||
tmux {
|
||||
bind "[" { SwitchToMode "Scroll"; }
|
||||
bind "Ctrl a" { Write 2; SwitchToMode "Normal"; }
|
||||
bind "-" { NewPane "Down"; SwitchToMode "Normal"; }
|
||||
bind "|" { NewPane "Right"; SwitchToMode "Normal"; }
|
||||
bind "z" { ToggleFocusFullscreen; SwitchToMode "Normal"; }
|
||||
bind "c" { NewTab; SwitchToMode "Normal"; }
|
||||
bind "," { SwitchToMode "RenameTab"; }
|
||||
bind "p" { GoToPreviousTab; SwitchToMode "Normal"; }
|
||||
bind "n" { GoToNextTab; SwitchToMode "Normal"; }
|
||||
bind "Left" { MoveFocus "Left"; SwitchToMode "Normal"; }
|
||||
bind "Right" { MoveFocus "Right"; SwitchToMode "Normal"; }
|
||||
bind "Down" { MoveFocus "Down"; SwitchToMode "Normal"; }
|
||||
bind "Up" { MoveFocus "Up"; SwitchToMode "Normal"; }
|
||||
bind "d" { Detach; }
|
||||
bind "Space" { NextSwapLayout; }
|
||||
bind "x" { CloseFocus; SwitchToMode "Normal"; }
|
||||
shared_except "locked" "tmux" {
|
||||
bind "Ctrl a" { SwitchToMode "tmux"; }
|
||||
}
|
||||
shared_except "locked" {
|
||||
bind "Ctrl Space" { SwitchToMode "Locked"; }
|
||||
bind "Alt q" { Quit; }
|
||||
bind "Alt n" { NewPane; }
|
||||
bind "Alt <" "Alt ," { GoToPreviousTab; }
|
||||
bind "Alt >" "Alt ." { GoToNextTab; }
|
||||
bind "Alt Left" { MoveFocus "Left"; }
|
||||
bind "Alt Right" { MoveFocus "Right"; }
|
||||
bind "Alt Down" { MoveFocus "Down"; }
|
||||
bind "Alt Up" { MoveFocus "Up"; }
|
||||
bind "Alt =" "Alt +" { Resize "Increase"; }
|
||||
bind "Alt left" { MoveFocus "left"; }
|
||||
bind "Alt down" { MoveFocus "down"; }
|
||||
bind "Alt up" { MoveFocus "up"; }
|
||||
bind "Alt right" { MoveFocus "right"; }
|
||||
bind "Ctrl space" { SwitchToMode "locked"; }
|
||||
bind "Alt +" { Resize "Increase"; }
|
||||
bind "Alt ," { GoToPreviousTab; }
|
||||
bind "Alt -" { Resize "Decrease"; }
|
||||
bind "Alt ." { GoToNextTab; }
|
||||
bind "Alt 1" { GoToTab 1; SwitchToMode "normal"; }
|
||||
bind "Alt 2" { GoToTab 2; SwitchToMode "normal"; }
|
||||
bind "Alt 3" { GoToTab 3; SwitchToMode "normal"; }
|
||||
bind "Alt 4" { GoToTab 4; SwitchToMode "normal"; }
|
||||
bind "Alt 5" { GoToTab 5; SwitchToMode "normal"; }
|
||||
bind "Alt 6" { GoToTab 6; SwitchToMode "normal"; }
|
||||
bind "Alt 7" { GoToTab 7; SwitchToMode "normal"; }
|
||||
bind "Alt 8" { GoToTab 8; SwitchToMode "normal"; }
|
||||
bind "Alt 9" { GoToTab 9; SwitchToMode "normal"; }
|
||||
bind "Alt <" { GoToPreviousTab; }
|
||||
bind "Alt =" { Resize "Increase"; }
|
||||
bind "Alt >" { GoToNextTab; }
|
||||
bind "Alt [" { PreviousSwapLayout; }
|
||||
bind "Alt ]" { NextSwapLayout; }
|
||||
bind "Alt 1" { GoToTab 1; SwitchToMode "Normal"; }
|
||||
bind "Alt 2" { GoToTab 2; SwitchToMode "Normal"; }
|
||||
bind "Alt 3" { GoToTab 3; SwitchToMode "Normal"; }
|
||||
bind "Alt 4" { GoToTab 4; SwitchToMode "Normal"; }
|
||||
bind "Alt 5" { GoToTab 5; SwitchToMode "Normal"; }
|
||||
bind "Alt 6" { GoToTab 6; SwitchToMode "Normal"; }
|
||||
bind "Alt 7" { GoToTab 7; SwitchToMode "Normal"; }
|
||||
bind "Alt 8" { GoToTab 8; SwitchToMode "Normal"; }
|
||||
bind "Alt 9" { GoToTab 9; SwitchToMode "Normal"; }
|
||||
bind "Alt n" { NewPane; }
|
||||
bind "Alt q" { Quit; }
|
||||
}
|
||||
shared_except "normal" "locked" {
|
||||
bind "Enter" "Esc" { SwitchToMode "Normal"; }
|
||||
shared_except "locked" "move" {
|
||||
bind "Alt m" { SwitchToMode "move"; }
|
||||
}
|
||||
shared_except "pane" "locked" {
|
||||
bind "Alt p" { SwitchToMode "Pane"; }
|
||||
shared_except "locked" "session" {
|
||||
bind "Alt o" { SwitchToMode "session"; }
|
||||
}
|
||||
shared_except "resize" "locked" {
|
||||
bind "Alt r" { SwitchToMode "Resize"; }
|
||||
shared_except "locked" "scroll" "search" {
|
||||
bind "Alt s" { SwitchToMode "scroll"; }
|
||||
}
|
||||
shared_except "scroll" "locked" {
|
||||
bind "Alt s" { SwitchToMode "Scroll"; }
|
||||
shared_except "locked" "tab" {
|
||||
bind "Alt t" { SwitchToMode "tab"; }
|
||||
}
|
||||
shared_except "session" "locked" {
|
||||
bind "Alt o" { SwitchToMode "Session"; }
|
||||
shared_except "locked" "pane" {
|
||||
bind "Alt p" { SwitchToMode "pane"; }
|
||||
}
|
||||
shared_except "tab" "locked" {
|
||||
bind "Alt t" { SwitchToMode "Tab"; }
|
||||
shared_except "locked" "resize" {
|
||||
bind "Alt r" { SwitchToMode "resize"; }
|
||||
}
|
||||
shared_except "move" "locked" {
|
||||
bind "Alt m" { SwitchToMode "Move"; }
|
||||
shared_except "normal" "locked" "entersearch" {
|
||||
bind "enter" { SwitchToMode "normal"; }
|
||||
}
|
||||
shared_except "tmux" "locked" {
|
||||
bind "Ctrl a" { SwitchToMode "Tmux"; }
|
||||
shared_except "normal" "locked" "entersearch" "renametab" "renamepane" {
|
||||
bind "esc" { SwitchToMode "normal"; }
|
||||
}
|
||||
shared_among "pane" "tmux" {
|
||||
bind "x" { CloseFocus; SwitchToMode "normal"; }
|
||||
}
|
||||
shared_among "scroll" "search" {
|
||||
bind "PageDown" { PageScrollDown; }
|
||||
bind "PageUp" { PageScrollUp; }
|
||||
bind "down" { ScrollDown; }
|
||||
bind "up" { ScrollUp; }
|
||||
bind "Alt s" { SwitchToMode "normal"; }
|
||||
}
|
||||
entersearch {
|
||||
bind "Alt c" { SwitchToMode "scroll"; }
|
||||
bind "esc" { SwitchToMode "scroll"; }
|
||||
bind "enter" { SwitchToMode "search"; }
|
||||
}
|
||||
renametab {
|
||||
bind "esc" { UndoRenameTab; SwitchToMode "tab"; }
|
||||
}
|
||||
shared_among "renametab" "renamepane" {
|
||||
bind "Alt c" { SwitchToMode "normal"; }
|
||||
}
|
||||
renamepane {
|
||||
bind "esc" { UndoRenamePane; SwitchToMode "pane"; }
|
||||
}
|
||||
shared_among "session" "tmux" {
|
||||
bind "d" { Detach; }
|
||||
}
|
||||
tmux {
|
||||
bind "left" { MoveFocus "left"; SwitchToMode "normal"; }
|
||||
bind "down" { MoveFocus "down"; SwitchToMode "normal"; }
|
||||
bind "up" { MoveFocus "up"; SwitchToMode "normal"; }
|
||||
bind "right" { MoveFocus "right"; SwitchToMode "normal"; }
|
||||
bind "space" { NextSwapLayout; }
|
||||
bind "," { SwitchToMode "renametab"; }
|
||||
bind "-" { NewPane "down"; SwitchToMode "normal"; }
|
||||
bind "[" { SwitchToMode "scroll"; }
|
||||
bind "Ctrl a" { Write 2; SwitchToMode "normal"; }
|
||||
bind "c" { NewTab; SwitchToMode "normal"; }
|
||||
bind "n" { GoToNextTab; SwitchToMode "normal"; }
|
||||
bind "p" { GoToPreviousTab; SwitchToMode "normal"; }
|
||||
bind "z" { ToggleFocusFullscreen; SwitchToMode "normal"; }
|
||||
bind "|" { NewPane "right"; SwitchToMode "normal"; }
|
||||
}
|
||||
}
|
||||
themes {
|
||||
carbonfox {
|
||||
text_unselected {
|
||||
base 255 255 255
|
||||
background 53 53 53
|
||||
emphasis_0 255 168 123
|
||||
emphasis_1 61 219 217
|
||||
emphasis_2 37 190 106
|
||||
emphasis_3 190 149 255
|
||||
}
|
||||
text_selected {
|
||||
base 255 255 255
|
||||
background 42 42 42
|
||||
emphasis_0 255 168 123
|
||||
emphasis_1 61 219 217
|
||||
emphasis_2 37 190 106
|
||||
emphasis_3 190 149 255
|
||||
}
|
||||
ribbon_selected {
|
||||
base 53 53 53
|
||||
background 37 190 106
|
||||
emphasis_0 238 83 150
|
||||
emphasis_1 255 168 123
|
||||
emphasis_2 190 149 255
|
||||
emphasis_3 51 177 255
|
||||
}
|
||||
ribbon_unselected {
|
||||
base 53 53 53
|
||||
background 242 244 248
|
||||
emphasis_0 238 83 150
|
||||
emphasis_1 255 255 255
|
||||
emphasis_2 51 177 255
|
||||
emphasis_3 190 149 255
|
||||
}
|
||||
table_title {
|
||||
base 37 190 106
|
||||
background 0
|
||||
emphasis_0 255 168 123
|
||||
emphasis_1 61 219 217
|
||||
emphasis_2 37 190 106
|
||||
emphasis_3 190 149 255
|
||||
}
|
||||
table_cell_selected {
|
||||
base 255 255 255
|
||||
background 42 42 42
|
||||
emphasis_0 255 168 123
|
||||
emphasis_1 61 219 217
|
||||
emphasis_2 37 190 106
|
||||
emphasis_3 190 149 255
|
||||
}
|
||||
table_cell_unselected {
|
||||
base 255 255 255
|
||||
background 53 53 53
|
||||
emphasis_0 255 168 123
|
||||
emphasis_1 61 219 217
|
||||
emphasis_2 37 190 106
|
||||
emphasis_3 190 149 255
|
||||
}
|
||||
list_selected {
|
||||
base 255 255 255
|
||||
background 42 42 42
|
||||
emphasis_0 255 168 123
|
||||
emphasis_1 61 219 217
|
||||
emphasis_2 37 190 106
|
||||
emphasis_3 190 149 255
|
||||
}
|
||||
list_unselected {
|
||||
base 255 255 255
|
||||
background 53 53 53
|
||||
emphasis_0 255 168 123
|
||||
emphasis_1 61 219 217
|
||||
emphasis_2 37 190 106
|
||||
emphasis_3 190 149 255
|
||||
}
|
||||
frame_selected {
|
||||
base 37 190 106
|
||||
background 0
|
||||
emphasis_0 255 168 123
|
||||
emphasis_1 61 219 217
|
||||
emphasis_2 190 149 255
|
||||
emphasis_3 0
|
||||
}
|
||||
frame_highlight {
|
||||
base 255 168 123
|
||||
background 0
|
||||
emphasis_0 255 168 123
|
||||
emphasis_1 255 168 123
|
||||
emphasis_2 255 168 123
|
||||
emphasis_3 255 168 123
|
||||
}
|
||||
exit_code_success {
|
||||
base 37 190 106
|
||||
background 0
|
||||
emphasis_0 61 219 217
|
||||
emphasis_1 53 53 53
|
||||
emphasis_2 190 149 255
|
||||
emphasis_3 51 177 255
|
||||
}
|
||||
exit_code_error {
|
||||
base 238 83 150
|
||||
background 0
|
||||
emphasis_0 248 225 124
|
||||
emphasis_1 0
|
||||
emphasis_2 0
|
||||
emphasis_3 0
|
||||
}
|
||||
multiplayer_user_colors {
|
||||
player_1 190 149 255
|
||||
player_2 51 177 255
|
||||
player_3 0
|
||||
player_4 248 225 124
|
||||
player_5 61 219 217
|
||||
player_6 0
|
||||
player_7 238 83 150
|
||||
player_8 0
|
||||
player_9 0
|
||||
player_10 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Plugin aliases - can be used to change the implementation of Zellij
|
||||
// changing these requires a restart to take effect
|
||||
plugins {
|
||||
tab-bar location="zellij:tab-bar"
|
||||
status-bar location="zellij:status-bar"
|
||||
strider location="zellij:strider"
|
||||
about location="zellij:about"
|
||||
compact-bar location="zellij:compact-bar"
|
||||
session-manager location="zellij:session-manager"
|
||||
welcome-screen location="zellij:session-manager" {
|
||||
welcome_screen false
|
||||
}
|
||||
configuration location="zellij:configuration"
|
||||
filepicker location="zellij:strider" {
|
||||
cwd "/"
|
||||
}
|
||||
zjstatus location="file:~/.config/zellij/plugins/zjstatus.wasm" {
|
||||
format_left "{tabs}"
|
||||
format_center ""
|
||||
format_right "{mode} | {datetime} | #[fg=#66cc99]{session}"
|
||||
format_space ""
|
||||
|
||||
hide_frame_for_single_pane "false"
|
||||
|
||||
mode_normal "#[fg=#00ffff] {name}"
|
||||
mode_locked "#[fg=#ff0000] {name}"
|
||||
mode_tmux "#[fg=#ffc387] {name}"
|
||||
|
||||
tab_normal "{index}:#[fg=#ffffff]{name} #[fg=#90b1b1]{sync_indicator}{floating_indicator}{fullscreen_indicator}"
|
||||
tab_active "{index}:#[fg=#db7093,bold]{name} #[fg=#90b1b1]{sync_indicator}{floating_indicator}{fullscreen_indicator}"
|
||||
|
||||
tab_display_count "9"
|
||||
tab_separator "| "
|
||||
tab_sync_indicator "S"
|
||||
tab_fullscreen_indicator "F"
|
||||
tab_floating_indicator "W"
|
||||
|
||||
datetime "#[fg=#db7093] {format}"
|
||||
datetime_format "%a %b %d %H:%M"
|
||||
datetime_timezone "Asia/Kolkata"
|
||||
plugin-manager location="zellij:plugin-manager"
|
||||
session-manager location="zellij:session-manager"
|
||||
status-bar location="zellij:status-bar"
|
||||
strider location="zellij:strider"
|
||||
tab-bar location="zellij:tab-bar"
|
||||
welcome-screen location="zellij:session-manager" {
|
||||
welcome_screen false
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Choose what to do when zellij receives SIGTERM, SIGINT, SIGQUIT or SIGHUP
|
||||
// eg. when terminal window with an active zellij session is closed
|
||||
// Options:
|
||||
// - detach (Default)
|
||||
// - quit
|
||||
//
|
||||
// on_force_close "quit"
|
||||
|
||||
// Send a request for a simplified ui (without arrow fonts) to plugins
|
||||
// Options:
|
||||
// - true
|
||||
// - false (Default)
|
||||
//
|
||||
simplified_ui true
|
||||
|
||||
// Choose the path to the default shell that zellij will use for opening new panes
|
||||
// Default: $SHELL
|
||||
//
|
||||
// default_shell "fish"
|
||||
|
||||
// Choose the path to override cwd that zellij will use for opening new panes
|
||||
//
|
||||
// default_cwd ""
|
||||
|
||||
// Toggle between having pane frames around the panes
|
||||
// Options:
|
||||
// - true (default)
|
||||
// - false
|
||||
//
|
||||
// pane_frames true
|
||||
|
||||
// Toggle between having Zellij lay out panes according to a predefined set of layouts whenever possible
|
||||
// Options:
|
||||
// - true (default)
|
||||
// - false
|
||||
//
|
||||
// auto_layout true
|
||||
|
||||
// Whether sessions should be serialized to the cache folder (including their tabs/panes, cwds and running commands) so that they can later be resurrected
|
||||
// Options:
|
||||
// - true (default)
|
||||
// - false
|
||||
//
|
||||
session_serialization true
|
||||
|
||||
// Whether pane viewports are serialized along with the session, default is false
|
||||
// Plugins to load in the background when a new session starts
|
||||
// eg. "file:/path/to/my-plugin.wasm"
|
||||
// eg. "https://example.com/my-plugin.wasm"
|
||||
load_plugins {
|
||||
}
|
||||
|
||||
// Use a simplified UI without special fonts (arrow glyphs)
|
||||
// Options:
|
||||
// - true
|
||||
// - false (default)
|
||||
serialize_pane_viewport true
|
||||
|
||||
// Scrollback lines to serialize along with the pane viewport when serializing sessions, 0
|
||||
// defaults to the scrollback size. If this number is higher than the scrollback size, it will
|
||||
// also default to the scrollback size. This does nothing if `serialize_pane_viewport` is not true.
|
||||
//
|
||||
scrollback_lines_to_serialize 100000
|
||||
|
||||
// Define color themes for Zellij
|
||||
// For more examples, see: https://github.com/zellij-org/zellij/tree/main/example/themes
|
||||
// Once these themes are defined, one of them should to be selected in the "theme" section of this file
|
||||
//
|
||||
themes {
|
||||
carbonfox {
|
||||
bg "#2a2a2a"
|
||||
fg "#f2f4f8"
|
||||
red "#ee5396"
|
||||
green "#25be6a"
|
||||
blue "#33b1ff"
|
||||
yellow "#f8e17c"
|
||||
magenta "#be95ff"
|
||||
orange "#ffa87b"
|
||||
cyan "#3ddbd9"
|
||||
black "#353535"
|
||||
white "#ffffff"
|
||||
}
|
||||
}
|
||||
|
||||
// - false (Default)
|
||||
//
|
||||
simplified_ui false
|
||||
|
||||
// Choose the theme that is specified in the themes section.
|
||||
// Default: default
|
||||
//
|
||||
//
|
||||
theme "carbonfox"
|
||||
|
||||
// The name of the default layout to load on startup
|
||||
// Default: "compact"
|
||||
//
|
||||
default_layout "terminal"
|
||||
|
||||
// Choose the mode that zellij uses when starting up.
|
||||
|
||||
// Choose the base input mode of zellij.
|
||||
// Default: normal
|
||||
//
|
||||
//
|
||||
// default_mode "locked"
|
||||
|
||||
|
||||
// Choose the path to the default shell that zellij will use for opening new panes
|
||||
// Default: $SHELL
|
||||
//
|
||||
// default_shell "fish"
|
||||
|
||||
// Choose the path to override cwd that zellij will use for opening new panes
|
||||
//
|
||||
// default_cwd "/tmp"
|
||||
|
||||
// The name of the default layout to load on startup
|
||||
// Default: "default"
|
||||
//
|
||||
default_layout "terminal"
|
||||
|
||||
// The folder in which Zellij will look for layouts
|
||||
// (Requires restart)
|
||||
//
|
||||
// layout_dir "/tmp"
|
||||
|
||||
// The folder in which Zellij will look for themes
|
||||
// (Requires restart)
|
||||
//
|
||||
// theme_dir "/tmp"
|
||||
|
||||
// Toggle enabling the mouse mode.
|
||||
// On certain configurations, or terminals this could
|
||||
// potentially interfere with copying text.
|
||||
// Options:
|
||||
// - true (default)
|
||||
// - false
|
||||
//
|
||||
//
|
||||
// mouse_mode false
|
||||
|
||||
|
||||
// Toggle having pane frames around the panes
|
||||
// Options:
|
||||
// - true (default, enabled)
|
||||
// - false
|
||||
//
|
||||
// pane_frames false
|
||||
|
||||
// When attaching to an existing session with other users,
|
||||
// should the session be mirrored (true)
|
||||
// or should each user have their own cursor (false)
|
||||
// (Requires restart)
|
||||
// Default: false
|
||||
//
|
||||
// mirror_session true
|
||||
|
||||
// Choose what to do when zellij receives SIGTERM, SIGINT, SIGQUIT or SIGHUP
|
||||
// eg. when terminal window with an active zellij session is closed
|
||||
// (Requires restart)
|
||||
// Options:
|
||||
// - detach (Default)
|
||||
// - quit
|
||||
//
|
||||
// on_force_close "quit"
|
||||
|
||||
// Configure the scroll back buffer size
|
||||
// This is the number of lines zellij stores for each pane in the scroll back
|
||||
// buffer. Excess number of lines are discarded in a FIFO fashion.
|
||||
// (Requires restart)
|
||||
// Valid values: positive integers
|
||||
// Default value: 10000
|
||||
//
|
||||
//
|
||||
scroll_buffer_size 100000
|
||||
|
||||
|
||||
// Provide a command to execute when copying text. The text will be piped to
|
||||
// the stdin of the program to perform the copy. This can be used with
|
||||
// terminal emulators which do not support the OSC 52 ANSI control sequence
|
||||
@@ -321,49 +408,102 @@ scroll_buffer_size 100000
|
||||
// copy_command "xclip -selection clipboard" // x11
|
||||
// copy_command "wl-copy" // wayland
|
||||
// copy_command "pbcopy" // osx
|
||||
|
||||
//
|
||||
// copy_command "pbcopy"
|
||||
|
||||
// Choose the destination for copied text
|
||||
// Allows using the primary selection buffer (on x11/wayland) instead of the system clipboard.
|
||||
// Does not apply when using copy_command.
|
||||
// Options:
|
||||
// - system (default)
|
||||
// - primary
|
||||
//
|
||||
//
|
||||
// copy_clipboard "primary"
|
||||
|
||||
// Enable or disable automatic copy (and clear) of selection when releasing mouse
|
||||
|
||||
// Enable automatic copying (and clearing) of selection when releasing mouse
|
||||
// Default: true
|
||||
//
|
||||
// copy_on_select false
|
||||
|
||||
//
|
||||
copy_on_select true
|
||||
|
||||
// Path to the default editor to use to edit pane scrollbuffer
|
||||
// Default: $EDITOR or $VISUAL
|
||||
//
|
||||
scrollback_editor "/usr/bin/nvim"
|
||||
|
||||
// When attaching to an existing session with other users,
|
||||
// should the session be mirrored (true)
|
||||
// or should each user have their own cursor (false)
|
||||
scrollback_editor "/usr/local/bin/hx"
|
||||
|
||||
// A fixed name to always give the Zellij session.
|
||||
// Consider also setting `attach_to_session true,`
|
||||
// otherwise this will error if such a session exists.
|
||||
// Default: <RANDOM>
|
||||
//
|
||||
// session_name "My singleton session"
|
||||
|
||||
// When `session_name` is provided, attaches to that session
|
||||
// if it is already running or creates it otherwise.
|
||||
// Default: false
|
||||
//
|
||||
// mirror_session true
|
||||
|
||||
// The folder in which Zellij will look for layouts
|
||||
//
|
||||
// layout_dir "/path/to/my/layout_dir"
|
||||
|
||||
// The folder in which Zellij will look for themes
|
||||
//
|
||||
// theme_dir "/path/to/my/theme_dir"
|
||||
|
||||
//
|
||||
// attach_to_session true
|
||||
|
||||
// Toggle between having Zellij lay out panes according to a predefined set of layouts whenever possible
|
||||
// Options:
|
||||
// - true (default)
|
||||
// - false
|
||||
//
|
||||
// auto_layout false
|
||||
|
||||
// Whether sessions should be serialized to the cache folder (including their tabs/panes, cwds and running commands) so that they can later be resurrected
|
||||
// Options:
|
||||
// - true (default)
|
||||
// - false
|
||||
//
|
||||
session_serialization true
|
||||
|
||||
// Whether pane viewports are serialized along with the session, default is false
|
||||
// Options:
|
||||
// - true
|
||||
// - false (default)
|
||||
//
|
||||
serialize_pane_viewport true
|
||||
|
||||
// Scrollback lines to serialize along with the pane viewport when serializing sessions, 0
|
||||
// defaults to the scrollback size. If this number is higher than the scrollback size, it will
|
||||
// also default to the scrollback size. This does nothing if `serialize_pane_viewport` is not true.
|
||||
//
|
||||
scrollback_lines_to_serialize 100000
|
||||
|
||||
// Enable or disable the rendering of styled and colored underlines (undercurl).
|
||||
// May need to be disabled for certain unsupported terminals
|
||||
// (Requires restart)
|
||||
// Default: true
|
||||
//
|
||||
//
|
||||
// styled_underlines false
|
||||
|
||||
|
||||
// How often in seconds sessions are serialized
|
||||
//
|
||||
// serialization_interval 10000
|
||||
|
||||
// Enable or disable writing of session metadata to disk (if disabled, other sessions might not know
|
||||
// metadata info on this session)
|
||||
// (Requires restart)
|
||||
// Default: false
|
||||
//
|
||||
//
|
||||
disable_session_metadata false
|
||||
|
||||
// Enable or disable support for the enhanced Kitty Keyboard Protocol (the host terminal must also support it)
|
||||
// (Requires restart)
|
||||
// Default: true (if the host terminal supports it)
|
||||
//
|
||||
// support_kitty_keyboard_protocol false
|
||||
|
||||
// Whether to stack panes when resizing beyond a certain size
|
||||
// Default: true
|
||||
//
|
||||
// stacked_resize false
|
||||
|
||||
// Whether to show tips on startup
|
||||
// Default: true
|
||||
//
|
||||
show_startup_tips false
|
||||
|
||||
// Whether to show release notes on first version run
|
||||
// Default: true
|
||||
//
|
||||
// show_release_notes false
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
layout {
|
||||
pane split_direction="horizontal" {
|
||||
pane {
|
||||
command "hx"
|
||||
args "."
|
||||
focus true
|
||||
size "75%"
|
||||
borderless true
|
||||
}
|
||||
pane {
|
||||
size "25%"
|
||||
}
|
||||
}
|
||||
pane {
|
||||
borderless true
|
||||
size 1
|
||||
plugin location="zellij:compact-bar"
|
||||
}
|
||||
}
|
||||
@@ -2,31 +2,7 @@ layout {
|
||||
pane {
|
||||
borderless true
|
||||
size 1
|
||||
plugin location="file:~/.config/zellij/plugins/zjstatus.wasm" {
|
||||
format_left "{tabs}"
|
||||
format_center ""
|
||||
format_right "{mode} | {datetime} | #[fg=#66cc99]{session}"
|
||||
format_space ""
|
||||
|
||||
hide_frame_for_single_pane "false"
|
||||
|
||||
mode_normal "#[fg=#00ffff] {name}"
|
||||
mode_locked "#[fg=#ff0000] {name}"
|
||||
mode_tmux "#[fg=#ffc387] {name}"
|
||||
|
||||
tab_normal "{index}:#[fg=#ffffff]{name} #[fg=#90b1b1]{sync_indicator}{floating_indicator}{fullscreen_indicator}"
|
||||
tab_active "{index}:#[fg=#db7093]{name} #[fg=#90b1b1]{sync_indicator}{floating_indicator}{fullscreen_indicator}"
|
||||
|
||||
tab_display_count "9"
|
||||
tab_separator "| "
|
||||
tab_sync_indicator "S"
|
||||
tab_fullscreen_indicator "F"
|
||||
tab_floating_indicator "W"
|
||||
|
||||
datetime "#[fg=#db7093] {format}"
|
||||
datetime_format "%a %b %d %H:%M"
|
||||
datetime_timezone "Asia/Kolkata"
|
||||
}
|
||||
plugin location="zellij:compact-bar"
|
||||
}
|
||||
pane split_direction="horizontal" {
|
||||
pane {
|
||||
@@ -39,6 +15,4 @@ layout {
|
||||
size "25%"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,31 +1,4 @@
|
||||
layout {
|
||||
pane borderless=true size=1 {
|
||||
plugin location="file:~/.config/zellij/plugins/zjstatus.wasm" {
|
||||
format_left "{tabs}"
|
||||
format_center ""
|
||||
format_right "{mode} | {datetime} | #[fg=#66cc99]{session}"
|
||||
format_space ""
|
||||
|
||||
hide_frame_for_single_pane "false"
|
||||
|
||||
mode_normal "#[fg=#00ffff] {name}"
|
||||
mode_locked "#[fg=#ff0000] {name}"
|
||||
mode_tmux "#[fg=#ffc387] {name}"
|
||||
|
||||
tab_normal "{index}:#[fg=#ffffff]{name} #[fg=#90b1b1]{sync_indicator}{floating_indicator}{fullscreen_indicator}"
|
||||
tab_active "{index}:#[fg=#db7093]{name} #[fg=#90b1b1]{sync_indicator}{floating_indicator}{fullscreen_indicator}"
|
||||
|
||||
tab_display_count "9"
|
||||
tab_separator " | "
|
||||
tab_sync_indicator "S"
|
||||
tab_fullscreen_indicator "F"
|
||||
tab_floating_indicator "W"
|
||||
|
||||
datetime "#[fg=#db7093] {format} "
|
||||
datetime_format "%a %b %d %H:%M"
|
||||
datetime_timezone "Asia/Kolkata"
|
||||
}
|
||||
}
|
||||
pane split_direction="vertical" {
|
||||
pane {
|
||||
edit "."
|
||||
@@ -43,4 +16,7 @@ layout {
|
||||
}
|
||||
}
|
||||
}
|
||||
pane borderless=true size=1 {
|
||||
plugin location="zellij:compact-bar"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
layout {
|
||||
tab_template name="ui" {
|
||||
pane {
|
||||
borderless true
|
||||
size 1
|
||||
plugin location="zellij:compact-bar"
|
||||
}
|
||||
children
|
||||
}
|
||||
|
||||
default_tab_template {
|
||||
pane {
|
||||
borderless true
|
||||
size 1
|
||||
plugin location="zellij:compact-bar"
|
||||
}
|
||||
pane {
|
||||
pane
|
||||
pane
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,32 +1,12 @@
|
||||
layout {
|
||||
pane split_direction="vertical" {
|
||||
pane {
|
||||
name "Terminal"
|
||||
}
|
||||
}
|
||||
pane {
|
||||
borderless true
|
||||
size 1
|
||||
plugin location="file:~/.config/zellij/plugins/zjstatus.wasm" {
|
||||
format_left "{tabs}"
|
||||
format_center ""
|
||||
format_right "{mode} | {datetime} | #[fg=#66cc99]{session}"
|
||||
format_space ""
|
||||
|
||||
hide_frame_for_single_pane "false"
|
||||
|
||||
mode_normal "#[fg=#00ffff]{name}"
|
||||
mode_locked "#[fg=#ff0000]{name}"
|
||||
mode_tmux "#[fg=#ffc387]{name}"
|
||||
|
||||
tab_normal "{index}:#[fg=#ffffff]{name} #[fg=#90b1b1]{sync_indicator}{floating_indicator}{fullscreen_indicator} "
|
||||
tab_active "{index}:#[fg=#db7093]{name} #[fg=#90b1b1]{sync_indicator}{floating_indicator}{fullscreen_indicator} "
|
||||
|
||||
tab_display_count "9"
|
||||
tab_separator " | "
|
||||
tab_sync_indicator "S"
|
||||
tab_fullscreen_indicator "F"
|
||||
tab_floating_indicator "W"
|
||||
|
||||
datetime "#[fg=#db7093]{format} "
|
||||
datetime_format "%a %b %d %H:%M"
|
||||
datetime_timezone "Asia/Kolkata"
|
||||
}
|
||||
plugin location="zellij:compact-bar"
|
||||
}
|
||||
pane
|
||||
}
|
||||
|
||||
+10
-11
@@ -14,16 +14,15 @@
|
||||
[credential]
|
||||
helper = store
|
||||
[core]
|
||||
editor = nvim
|
||||
editor = hx
|
||||
[rh-pre-commit "commit-msg"]
|
||||
signOff = true
|
||||
signOff = true
|
||||
[sendemail]
|
||||
smtpServer = smtp.gmail.com
|
||||
smtpEncryption = tls
|
||||
smtpServerPort = 587
|
||||
confirm = always
|
||||
suppresscc = self
|
||||
smtpUser = avinal.xlvii@gmail.com
|
||||
from = "Avinal Kumar <avinal.xlvii@gmail.com>"
|
||||
cc = "Avinal Kumar <avinal.xlvii@gmail.com>"
|
||||
|
||||
smtpServer = smtp.gmail.com
|
||||
smtpEncryption = tls
|
||||
smtpServerPort = 587
|
||||
confirm = always
|
||||
suppresscc = self
|
||||
smtpUser = avinal.xlvii@gmail.com
|
||||
from = "Avinal Kumar <avinal.xlvii@gmail.com>"
|
||||
cc = "Avinal Kumar <avinal.xlvii@gmail.com>"
|
||||
|
||||
@@ -8,7 +8,8 @@ export XDG_DATA_HOME="$HOME/.local/share"
|
||||
export XDG_CONFIG_HOME="$HOME/.config"
|
||||
export XDG_STATE_HOME="$HOME/.local/state"
|
||||
export XDG_CACHE_HOME="$HOME/.cache"
|
||||
|
||||
export TINYGOROOT="$HOME/tinygo"
|
||||
export OC_EDITOR="hx"
|
||||
# Generated for envman. Do not edit.
|
||||
[ -s "$HOME/.config/envman/load.sh" ] && source "$HOME/.config/envman/load.sh"
|
||||
|
||||
@@ -161,7 +162,7 @@ znew() {
|
||||
export FZF_DEFAULT_OPTS='--height 25% --layout=reverse --border'
|
||||
|
||||
alias work-git='git config user.email "avinal@redhat.com"'
|
||||
eval "$(starship init zsh)"
|
||||
# eval "$(starship init zsh)"
|
||||
eval "$(zoxide init zsh)"
|
||||
# eval "$(fzf --zsh)"
|
||||
eval "$(atuin init zsh)"
|
||||
|
||||
Reference in New Issue
Block a user