Compare commits
16 Commits
e63a60efca
...
300a13d443
| Author | SHA1 | Date | |
|---|---|---|---|
| 300a13d443 | |||
| fa809f6273 | |||
| 4bc2809648 | |||
| ac9058d3e3 | |||
| 99fc6ec017 | |||
| 3955038a6a | |||
| 76266a78a6 | |||
| b44abad337 | |||
| 373651b9ee | |||
| 72fb89da48 | |||
| 522c655086 | |||
| 0756d4281c | |||
| ffb8c5a5f0 | |||
| a897ada9b5 | |||
| 0f2979d97f | |||
| 144212e33e |
@ -3,6 +3,6 @@
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
$ stow -S clang-format kitty nvim sway tmux waybar wofi zsh kanshi papis
|
||||
$ stow -S clang-format kitty nvim sway tmux waybar wofi zsh kanshi papis flashfocus zathura
|
||||
```
|
||||
|
||||
|
||||
99
flashfocus/.config/flashfocus/flashfocus.yml
Normal file
99
flashfocus/.config/flashfocus/flashfocus.yml
Normal file
@ -0,0 +1,99 @@
|
||||
## @@@@@@@@@@@@@@@@@@@@@@
|
||||
## Flashfocus config file
|
||||
## @@@@@@@@@@@@@@@@@@@@@@
|
||||
|
||||
# Opacity of window during flash.
|
||||
flash-opacity: 0.8
|
||||
|
||||
# Windows are restored to this opacity value at the end of a flash.
|
||||
default-opacity: 1
|
||||
|
||||
# Length of flash in milliseconds.
|
||||
time: 500
|
||||
|
||||
# If true, flashes are not faded out. This will improve performance but flashes
|
||||
# won't be smooth.
|
||||
simple: false
|
||||
|
||||
# Number of animation frames in a flash.
|
||||
ntimepoints: 10
|
||||
|
||||
# Set this to false if you don't want windows to flash on focus.
|
||||
flash-on-focus: true
|
||||
|
||||
# Set this to false if you don't want fullscreen windows to flash.
|
||||
flash-fullscreen: true
|
||||
|
||||
# Whether or not to flash windows if they are the only window on the desktop.
|
||||
# Possible values:
|
||||
# 'always':
|
||||
# Always flash lone windows
|
||||
# 'never':
|
||||
# Never flash lone windows
|
||||
# 'on_open_close':
|
||||
# Lone windows will be flashed only if a) if they were just opened and b)
|
||||
# if another window was just closed.
|
||||
# 'on_switch':
|
||||
# Lone windows will be flashed only upon switching desktops.
|
||||
flash-lone-windows: 'always'
|
||||
|
||||
|
||||
# Defining window-specific flash rules
|
||||
#
|
||||
# X11-based window managers (e.g i3, bspwm)
|
||||
# -----------------------------------------
|
||||
# Flash rules are defined by matching the WM_CLASS property of a window. To get
|
||||
# the WM_CLASS property use 'xprop WM_CLASS' and click on a window. The
|
||||
# property is a tuple of the form (window-id, window-class). The window-class
|
||||
# is usually the name of the application, but not always.
|
||||
#
|
||||
#
|
||||
# Say I'd like to set all 'termite' windows to 80% opacity but leave other
|
||||
# windows at full opacity:
|
||||
#
|
||||
# rules:
|
||||
# - window-class: Termite
|
||||
# default-opacity: 0.8
|
||||
#
|
||||
#
|
||||
# I also would prefer that firefox windows are not flashed on focus:
|
||||
#
|
||||
# rules:
|
||||
# - window-class: firefox
|
||||
# flash-on-focus: False
|
||||
# - window-class: Termite
|
||||
# default-opacity: 0.8
|
||||
#
|
||||
#
|
||||
# For more complicated rules, you can use (python-style) regexes:
|
||||
#
|
||||
# rules:
|
||||
# - window-id: ^(?!termite)$
|
||||
# default-opacity: 0.8
|
||||
#
|
||||
#
|
||||
# Sway
|
||||
# ----
|
||||
# Native wayland apps can be matched using the app_id and window name. These
|
||||
# can be found using `swaymsg -t get_tree`. XWayland apps are matched with
|
||||
# using WM_CLASS as above (this can also be found with `swaymsg`)
|
||||
#
|
||||
# Given that termite is wayland native and firefox is not, the rules above
|
||||
# could instead be written:
|
||||
#
|
||||
# rules:
|
||||
# - window-class: firefox
|
||||
# flash-on-focus: False
|
||||
# - app-id: termite
|
||||
# default-opacity: 0.8
|
||||
#
|
||||
# rules:
|
||||
# - window-name: ^(?!termite)$
|
||||
# default-opacity: 0.8
|
||||
rules:
|
||||
- app-id: kitty
|
||||
flash-opacity: 0.85
|
||||
default-opacity: 0.94
|
||||
- app-id: org.pwmt.zathura
|
||||
flash-opacity: 0.85
|
||||
default-opacity: 0.94
|
||||
@ -1,13 +1,9 @@
|
||||
profile Home {
|
||||
output "eDP-1" mode 2256x1504@59.999Hz position 1920,875 transform normal scale 1.399999976158142
|
||||
output "DP-11" mode 1920x1200@59.95Hz position 0,0 transform normal scale 1.0
|
||||
exec swayws move --away 1 eDP-1
|
||||
exec swayws move --away 4 eDP-1
|
||||
}
|
||||
|
||||
profile Kinemic {
|
||||
output "eDP-1" mode 2256x1504@59.999Hz position 449,1440 transform normal scale 1.399999976158142
|
||||
output "DP-3" mode 2560x1440@59.951Hz position 0,0 transform normal scale 1.0
|
||||
exec swayws move --away 1 eDP-1
|
||||
exec swayws move --away 4 eDP-1
|
||||
}
|
||||
|
||||
@ -3,7 +3,6 @@
|
||||
include current-theme.conf
|
||||
# END_KITTY_THEME
|
||||
#
|
||||
background_opacity 0.87
|
||||
enable_audio_bell no
|
||||
touch_scroll_multiplier 8.0
|
||||
|
||||
@ -13,4 +12,4 @@ font_family family="Liberation Mono"
|
||||
bold_font auto
|
||||
italic_font auto
|
||||
bold_italic_font auto
|
||||
# END_KITTY_FONTS
|
||||
# END_KITTY_FONTS
|
||||
|
||||
@ -1,52 +1,57 @@
|
||||
{
|
||||
"LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" },
|
||||
"alpha-nvim": { "branch": "main", "commit": "bf3c8bb8c02ed3d9644cc5bbc48e2bdc39349cd7" },
|
||||
"auto-session": { "branch": "main", "commit": "9d02776ed42874d37869dc683396234e3724b52d" },
|
||||
"cellular-automaton.nvim": { "branch": "main", "commit": "11aea08aa084f9d523b0142c2cd9441b8ede09ed" },
|
||||
"alpha-nvim": { "branch": "main", "commit": "de72250e054e5e691b9736ee30db72c65d560771" },
|
||||
"auto-session": { "branch": "main", "commit": "9c3f977aafb56bd73ba0d082c4dcbdba5666faf3" },
|
||||
"cellular-automaton.nvim": { "branch": "main", "commit": "1606e9d5d04ff254023c3f3c62842d065708d6d3" },
|
||||
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
|
||||
"cmp-cmdline": { "branch": "main", "commit": "d250c63aa13ead745e3a40f61fdd3470efde3923" },
|
||||
"cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" },
|
||||
"cmp-nvim-lsp": { "branch": "main", "commit": "99290b3ec1322070bcfb9e846450a46f6efa50f0" },
|
||||
"cmp-nvim-lsp-signature-help": { "branch": "main", "commit": "031e6ba70b0ad5eee49fd2120ff7a2e325b17fa7" },
|
||||
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
|
||||
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
|
||||
"copilot.vim": { "branch": "release", "commit": "87038123804796ca7af20d1b71c3428d858a9124" },
|
||||
"dressing.nvim": { "branch": "master", "commit": "1b7921eecc65af1baf8ac1dc06f0794934cbcfb2" },
|
||||
"friendly-snippets": { "branch": "main", "commit": "de8fce94985873666bd9712ea3e49ee17aadb1ed" },
|
||||
"gruvbox.nvim": { "branch": "main", "commit": "49d9c0b150ba70efcd831ec7b3cb8ee740067045" },
|
||||
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
|
||||
"copilot.lua": { "branch": "master", "commit": "30321e33b03cb924fdcd6a806a0dc6fa0b0eafb9" },
|
||||
"dressing.nvim": { "branch": "master", "commit": "2d7c2db2507fa3c4956142ee607431ddb2828639" },
|
||||
"friendly-snippets": { "branch": "main", "commit": "efff286dd74c22f731cdec26a70b46e5b203c619" },
|
||||
"gruvbox.nvim": { "branch": "main", "commit": "15958f5ee43e144856cd2084ce6c571bfdb44504" },
|
||||
"harpoon": { "branch": "master", "commit": "1bc17e3e42ea3c46b33c0bbad6a880792692a1b3" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "077102c5bfc578693f12377846d427f49bc50076" },
|
||||
"image.nvim": { "branch": "master", "commit": "6ffafab2e98b5bda46bf227055aa84b90add8cdc" },
|
||||
"jupytext.nvim": { "branch": "main", "commit": "c8baf3ad344c59b3abd461ecc17fc16ec44d0f7b" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
|
||||
"lsp-colors.nvim": { "branch": "main", "commit": "2bbe7541747fd339bdd8923fc45631a09bb4f1e5" },
|
||||
"lsp-zero.nvim": { "branch": "v3.x", "commit": "56db3d5ce5476b183783160e6045f7337ba12b83" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "b431d228b7bbcdaea818bdc3e25b8cdbe861f056" },
|
||||
"lsp-zero.nvim": { "branch": "v3.x", "commit": "ab2a3413646fedd77aa0eab4214a6473e62f6a64" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "f4f791f67e70d378a754d02da068231d2352e5bc" },
|
||||
"markdown-preview.nvim": { "branch": "master", "commit": "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee" },
|
||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "25c11854aa25558ee6c03432edfa0df0217324be" },
|
||||
"mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" },
|
||||
"molten-nvim": { "branch": "main", "commit": "8346bba69e0de96278dad2038e9be74605908b7d" },
|
||||
"neoformat": { "branch": "master", "commit": "d9d3311097eacdba9bd7a425b267d304b509e7ea" },
|
||||
"noice.nvim": { "branch": "main", "commit": "df448c649ef6bc5a6a633a44f2ad0ed8d4442499" },
|
||||
"nui.nvim": { "branch": "main", "commit": "b58e2bfda5cea347c9d58b7f11cf3012c7b3953f" },
|
||||
"nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" },
|
||||
"nvim-dap": { "branch": "master", "commit": "7ff6936010b7222fea2caea0f67ed77f1b7c60dd" },
|
||||
"nvim-dap-ui": { "branch": "master", "commit": "ffa89839f97bad360e78428d5c740fdad9a0ff02" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "541f3a2781de481bb84883889e4d9f0904250a56" },
|
||||
"nvim-nio": { "branch": "master", "commit": "a428f309119086dc78dd4b19306d2d67be884eee" },
|
||||
"nvim-tree.lua": { "branch": "master", "commit": "f5f67892996b280ae78b1b0a2d07c4fa29ae0905" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "92725df6222614307c4712eb9982e5287f21aa11" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "19d257cf889f79f4022163c3fbb5e08639077bd8" },
|
||||
"overseer.nvim": { "branch": "master", "commit": "6f8bc37eb729a00e185cdf38b1ed3309a05bfeef" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" },
|
||||
"markdown-toc.nvim": { "branch": "main", "commit": "049451fe7825f55e9b17ae1297a538278ffc557a" },
|
||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "1a31f824b9cd5bc6f342fc29e9a53b60d74af245" },
|
||||
"mason.nvim": { "branch": "main", "commit": "fc98833b6da5de5a9c5b1446ac541577059555be" },
|
||||
"molten-nvim": { "branch": "main", "commit": "a286aa914d9a154bc359131aab788b5a077a5a99" },
|
||||
"neoformat": { "branch": "master", "commit": "6a0dc851893c8bf9c932a69c4277e82b88120009" },
|
||||
"noice.nvim": { "branch": "main", "commit": "0427460c2d7f673ad60eb02b35f5e9926cf67c59" },
|
||||
"nui.nvim": { "branch": "main", "commit": "8d3bce9764e627b62b07424e0df77f680d47ffdb" },
|
||||
"nvim-cmp": { "branch": "main", "commit": "c27370703e798666486e3064b64d59eaf4bdc6d5" },
|
||||
"nvim-dap": { "branch": "master", "commit": "8228cb00ab0850e483f8d58cc39cc580c05738d6" },
|
||||
"nvim-dap-ui": { "branch": "master", "commit": "bc81f8d3440aede116f821114547a476b082b319" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "fd26f8626c03b424f7140d454031d1dcb8d23513" },
|
||||
"nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
|
||||
"nvim-tree.lua": { "branch": "master", "commit": "c09ff35de503a41fa62465c6b4ae72d96e7a7ce4" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "feab1f19f889fd6da9f80ced4717ae60d56f6519" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "ab4cfee554e501f497bce0856788d43cf2eb93d7" },
|
||||
"otter.nvim": { "branch": "main", "commit": "e37053d2c6a17463e705483122eee04d41e3d4af" },
|
||||
"overseer.nvim": { "branch": "master", "commit": "d95931e9e8cc4429819c8bbae395da00a6800d1e" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
|
||||
"quarto-nvim": { "branch": "main", "commit": "93b1f5a1abc1b1da653f353947f62b294574759c" },
|
||||
"session-lens": { "branch": "main", "commit": "eae46b472b3150f5ec0f977556e8085683d49eb0" },
|
||||
"sqlite.nvim": { "branch": "master", "commit": "53115a1a73972ce75c9a371a682d27286be9e81e" },
|
||||
"sqlite.nvim": { "branch": "master", "commit": "a8466c830a89794c2eafa41b41dd11fdf4a0d7ca" },
|
||||
"telescope.nvim": { "branch": "master", "commit": "d90956833d7c27e73c621a61f20b29fdb7122709" },
|
||||
"time-tracker.nvim": { "branch": "master", "commit": "c0b87c30484920ed1b9a4589eb62902015dfe5c2" },
|
||||
"todo-comments.nvim": { "branch": "main", "commit": "ae0a2afb47cf7395dc400e5dc4e05274bf4fb9e0" },
|
||||
"toggleterm.nvim": { "branch": "main", "commit": "48be57eaba817f038d61bbf64d2c597f578c0827" },
|
||||
"time-tracker.nvim": { "branch": "master", "commit": "c84998bbadb1afca8e09943b1c14bafe1711bb9a" },
|
||||
"todo-comments.nvim": { "branch": "main", "commit": "304a8d204ee787d2544d8bc23cd38d2f929e7cc5" },
|
||||
"toggleterm.nvim": { "branch": "main", "commit": "50ea089fc548917cc3cc16b46a8211833b9e3c7c" },
|
||||
"trouble.nvim": { "branch": "main", "commit": "3609bb9a82bbab1ef95cf2c27ce7e52267a7d40d" },
|
||||
"undotree": { "branch": "master", "commit": "78b5241191852ffa9bb5da5ff2ee033160798c3b" },
|
||||
"vim-doge": { "branch": "master", "commit": "188351964c8b2540a69c1d2648b3c6e7877a016f" },
|
||||
"vim-flog": { "branch": "master", "commit": "6f80c1ffa7068ca8cc0e29af7af4f6ed0717e65e" },
|
||||
"vim-fugitive": { "branch": "master", "commit": "d4877e54cef67f5af4f950935b1ade19ed6b7370" },
|
||||
"undotree": { "branch": "master", "commit": "76c4e32d8f1aa493bb68d4a3fcd3c700395c303c" },
|
||||
"vim-doge": { "branch": "master", "commit": "750d17dcd5a38a6afb51ddd07ee7d3e96bab7e9e" },
|
||||
"vim-flog": { "branch": "master", "commit": "77c86cb5db8960d224f2a866120893e61d62f5e8" },
|
||||
"vim-fugitive": { "branch": "master", "commit": "4a745ea72fa93bb15dd077109afbb3d1809383f2" },
|
||||
"vim-surround": { "branch": "master", "commit": "3d188ed2113431cf8dac77be61b842acb64433d9" },
|
||||
"vimtex": { "branch": "master", "commit": "9a5ef1d4ac8e4e06071179ebe8121350fcb97861" },
|
||||
"which-key.nvim": { "branch": "main", "commit": "8badb359f7ab8711e2575ef75dfe6fbbd87e4821" }
|
||||
"vimtex": { "branch": "master", "commit": "cf6b84775624582d7422715ee46b0a63b53cee38" },
|
||||
"which-key.nvim": { "branch": "main", "commit": "370ec46f710e058c9c1646273e6b225acf47cbed" }
|
||||
}
|
||||
|
||||
19
nvim/.config/nvim/lua/disabled_plugins/avante.lua
Normal file
19
nvim/.config/nvim/lua/disabled_plugins/avante.lua
Normal file
@ -0,0 +1,19 @@
|
||||
return {
|
||||
"yetone/avante.nvim",
|
||||
event = "VeryLazy",
|
||||
lazy = false,
|
||||
version = false, -- set this if you want to always pull the latest change
|
||||
opts = {
|
||||
provider = "copilot"
|
||||
},
|
||||
build = "make",
|
||||
dependencies = {
|
||||
"stevearc/dressing.nvim",
|
||||
"nvim-lua/plenary.nvim",
|
||||
"MunifTanjim/nui.nvim",
|
||||
--- The below dependencies are optional,
|
||||
"hrsh7th/nvim-cmp", -- autocompletion for avante commands and mentions
|
||||
"nvim-tree/nvim-web-devicons", -- or echasnovski/mini.icons
|
||||
"zbirenbaum/copilot.lua" -- for providers='copilot'
|
||||
}
|
||||
}
|
||||
@ -1,11 +0,0 @@
|
||||
return {
|
||||
{
|
||||
"utilyre/barbecue.nvim",
|
||||
name = "barbecue",
|
||||
version = "*",
|
||||
dependencies = {"SmiteshP/nvim-navic", "nvim-tree/nvim-web-devicons"},
|
||||
config = function()
|
||||
require("barbecue").setup()
|
||||
end,
|
||||
}
|
||||
}
|
||||
@ -1,6 +0,0 @@
|
||||
return {
|
||||
{
|
||||
"GCBallesteros/jupytext.nvim",
|
||||
config = true
|
||||
}
|
||||
}
|
||||
@ -1,15 +0,0 @@
|
||||
return {
|
||||
{
|
||||
"seandewar/killersheep.nvim",
|
||||
config = function()
|
||||
require("killersheep").setup {
|
||||
gore = true, -- Enables/disables blood and gore.
|
||||
keymaps = {
|
||||
move_left = "h", -- Keymap to move cannon to the left.
|
||||
move_right = "l", -- Keymap to move cannon to the right.
|
||||
shoot = "<Space>" -- Keymap to shoot the cannon.
|
||||
}
|
||||
}
|
||||
end
|
||||
}
|
||||
}
|
||||
41
nvim/.config/nvim/lua/disabled_plugins/pastify.lua
Normal file
41
nvim/.config/nvim/lua/disabled_plugins/pastify.lua
Normal file
@ -0,0 +1,41 @@
|
||||
return {
|
||||
'TobinPalmer/pastify.nvim',
|
||||
cmd = {
|
||||
'Pastify',
|
||||
'PastifyAfter'
|
||||
},
|
||||
-- event = {
|
||||
-- 'BufReadPost'
|
||||
-- }, -- Load after the buffer is read, I like to be able to paste right away
|
||||
keys = {
|
||||
{
|
||||
noremap = true,
|
||||
mode = "x",
|
||||
'<leader>p',
|
||||
"<cmd>PastifyAfter<CR>"
|
||||
},
|
||||
{
|
||||
noremap = true,
|
||||
mode = "n",
|
||||
'<leader>p',
|
||||
"<cmd>PastifyAfter<CR>"
|
||||
},
|
||||
{
|
||||
noremap = true,
|
||||
mode = "n",
|
||||
'<leader>P',
|
||||
"<cmd>Pastify<CR>"
|
||||
}
|
||||
},
|
||||
config = function()
|
||||
require('pastify').setup {
|
||||
opts = {
|
||||
local_path = '/res/'
|
||||
},
|
||||
ft = {
|
||||
markdown = ""
|
||||
}
|
||||
}
|
||||
end
|
||||
}
|
||||
|
||||
@ -15,6 +15,17 @@ return {
|
||||
'mason',
|
||||
'lazy',
|
||||
'toggleterm'
|
||||
},
|
||||
sections = {
|
||||
lualine_x = {
|
||||
{
|
||||
require("noice").api.statusline.mode.get,
|
||||
cond = require("noice").api.statusline.mode.has,
|
||||
color = {
|
||||
fg = "#ff9e64"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
7
nvim/.config/nvim/lua/plugins/markdown_toc.lua
Normal file
7
nvim/.config/nvim/lua/plugins/markdown_toc.lua
Normal file
@ -0,0 +1,7 @@
|
||||
return {
|
||||
"hedyhli/markdown-toc.nvim",
|
||||
cmd = {
|
||||
"Mtoc"
|
||||
}, -- Or, lazy load on "Mtoc" command
|
||||
opts = {}
|
||||
}
|
||||
@ -1,30 +1,87 @@
|
||||
return {
|
||||
{
|
||||
"benlubas/molten-nvim",
|
||||
build = ":UpdateRemotePlugins",
|
||||
version = "v1.7.0",
|
||||
{ -- Ability to show images in the output
|
||||
"3rd/image.nvim",
|
||||
opts = {}
|
||||
}, { -- Use LSP in markdown files
|
||||
"quarto-dev/quarto-nvim",
|
||||
dependencies = {"jmbuhr/otter.nvim", "nvim-treesitter/nvim-treesitter"},
|
||||
ft = {"quarto", "markdown"},
|
||||
init = function()
|
||||
vim.keymap.set("n", "<localleader>mi", ":MoltenInit<CR>", {
|
||||
silent = true,
|
||||
desc = "Initialize the plugin"
|
||||
})
|
||||
vim.keymap.set("n", "<localleader>e", ":MoltenEvaluateOperator<CR>", {
|
||||
silent = true,
|
||||
desc = "run operator selection"
|
||||
})
|
||||
vim.keymap.set("n", "<localleader>rl", ":MoltenEvaluateLine<CR>", {
|
||||
silent = true,
|
||||
desc = "evaluate line"
|
||||
})
|
||||
vim.keymap.set("n", "<localleader>rr", ":MoltenReevaluateCell<CR>", {
|
||||
silent = true,
|
||||
desc = "re-evaluate cell"
|
||||
})
|
||||
vim.keymap.set("v", "<localleader>r", ":<C-u>MoltenEvaluateVisual<CR>gv", {
|
||||
silent = true,
|
||||
desc = "evaluate visual selection"
|
||||
vim.api.nvim_create_autocmd('FileType', {
|
||||
pattern = 'markdown',
|
||||
callback = function()
|
||||
require("quarto").activate()
|
||||
end
|
||||
})
|
||||
|
||||
-- local runner = require("quarto.runner")
|
||||
-- vim.keymap.set("n", "<localleader>rc", runner.run_cell, {
|
||||
-- desc = "run cell",
|
||||
-- silent = true
|
||||
-- })
|
||||
-- vim.keymap.set("n", "<localleader>ra", runner.run_above, {
|
||||
-- desc = "run cell and above",
|
||||
-- silent = true
|
||||
-- })
|
||||
-- vim.keymap.set("n", "<localleader>rA", runner.run_all, {
|
||||
-- desc = "run all cells",
|
||||
-- silent = true
|
||||
-- })
|
||||
-- vim.keymap.set("n", "<localleader>rl", runner.run_line, {
|
||||
-- desc = "run line",
|
||||
-- silent = true
|
||||
-- })
|
||||
-- vim.keymap.set("v", "<localleader>r", runner.run_range, {
|
||||
-- desc = "run visual range",
|
||||
-- silent = true
|
||||
-- })
|
||||
-- vim.keymap.set("n", "<localleader>RA", function() runner.run_all(true) end, {
|
||||
-- desc = "run all cells of all languages",
|
||||
-- silent = true
|
||||
-- })
|
||||
end,
|
||||
opts = {
|
||||
lspFeatures = {
|
||||
languages = {"r", "python", "rust", "julia"},
|
||||
chunks = "all",
|
||||
diagnostics = {enabled = true, triggers = {"BufWritePost"}},
|
||||
completion = {enabled = true}
|
||||
},
|
||||
keymap = {
|
||||
hover = "H",
|
||||
definition = "gd",
|
||||
rename = "<leader>rn",
|
||||
references = "gr",
|
||||
format = "<leader>gf"
|
||||
},
|
||||
codeRunner = {enabled = true, default_method = "molten"}
|
||||
}
|
||||
}, { -- Convert ipynb to markdown and back
|
||||
"GCBallesteros/jupytext.nvim",
|
||||
opts = {
|
||||
style = "markdown",
|
||||
output_extension = "md",
|
||||
force_ft = "markdown"
|
||||
}
|
||||
}, { -- Interactive code evaluation
|
||||
"benlubas/molten-nvim",
|
||||
version = "^1.0.0", -- use version <2.0.0 to avoid breaking changes
|
||||
build = ":UpdateRemotePlugins",
|
||||
init = function()
|
||||
vim.keymap.set("n", "<localleader>mi", ":MoltenInit<CR>",
|
||||
{silent = true, desc = "Initialize the plugin"})
|
||||
vim.keymap.set("n", "<localleader>e", ":MoltenEvaluateOperator<CR>",
|
||||
{silent = true, desc = "run operator selection"})
|
||||
vim.keymap.set("n", "<localleader>rl", ":MoltenEvaluateLine<CR>",
|
||||
{silent = true, desc = "evaluate line"})
|
||||
vim.keymap.set("n", "<localleader>rr", ":MoltenReevaluateCell<CR>",
|
||||
{silent = true, desc = "re-evaluate cell"})
|
||||
vim.keymap.set("v", "<localleader>r",
|
||||
":<C-u>MoltenEvaluateVisual<CR>gv",
|
||||
{silent = true, desc = "evaluate visual selection"})
|
||||
|
||||
vim.g.molten_image_provider = "image.nvim"
|
||||
|
||||
vim.g.molten_auto_open_output = false
|
||||
vim.g.molten_virt_text_output = true
|
||||
vim.g.molten_virt_text_max_lines = 32
|
||||
|
||||
@ -21,7 +21,7 @@ return {
|
||||
}
|
||||
}
|
||||
|
||||
vim.g.vimtex_view_general_viewer = 'sioyek'
|
||||
vim.g.vimtex_view_method = 'zathura'
|
||||
vim.g.vimtex_quickfix_mode = 0
|
||||
|
||||
-- Concealment
|
||||
|
||||
@ -27,6 +27,11 @@ vim.opt.signcolumn = "yes"
|
||||
|
||||
vim.opt.updatetime = 50
|
||||
|
||||
vim.api.nvim_create_autocmd('FileType', {
|
||||
pattern = 'cpp',
|
||||
callback = function() vim.bo.commentstring = '// %s' end
|
||||
})
|
||||
|
||||
vim.api.nvim_create_autocmd('FileType', {
|
||||
pattern = 'rust',
|
||||
callback = function()
|
||||
|
||||
@ -52,16 +52,26 @@ bindsym $mod+c exec kitty -e python
|
||||
|
||||
for_window [title="blueman-manager"] floating enable
|
||||
|
||||
for_window [class="^.*"] border pixel 3
|
||||
for_window [class="^.*"] border pixel 0
|
||||
default_floating_border none
|
||||
default_floating_border normal 0
|
||||
hide_edge_borders smart
|
||||
|
||||
for_window [app_id="org.pwmt.zathura"] opacity 0.94
|
||||
for_window [app_id="kitty"] opacity 0.94
|
||||
|
||||
exec_always --no-startup-id bash -c "killall flashfocus; flashfocus --flash-opacity 0.92 -l never"
|
||||
|
||||
|
||||
gaps inner 15
|
||||
smart_gaps on
|
||||
bindsym $mod+g exec swaymsg gaps inner current toggle 15
|
||||
|
||||
# blur enable
|
||||
# blur_radius 1
|
||||
# blur_passes 4
|
||||
# blur_noise 0.1
|
||||
|
||||
blur enable
|
||||
blur_radius 8
|
||||
|
||||
exec dbus-update-activation-environment DISPLAY
|
||||
|
||||
|
||||
@ -5,6 +5,8 @@ input "type:touchpad" {
|
||||
dwt disable
|
||||
accel_profile "adaptive"
|
||||
pointer_accel 0
|
||||
drag enabled
|
||||
drag_lock disabled
|
||||
}
|
||||
|
||||
input type:keyboard {
|
||||
|
||||
@ -11,6 +11,8 @@ set -g status-right-length 90
|
||||
set -g status-justify centre
|
||||
set -s escape-time 0
|
||||
|
||||
set -g allow-passthrough on
|
||||
|
||||
## COLORSCHEME: gruvbox dark (medium)
|
||||
set-option -g status "on"
|
||||
|
||||
|
||||
40
zathura/.config/zathura/zathurarc
Normal file
40
zathura/.config/zathura/zathurarc
Normal file
@ -0,0 +1,40 @@
|
||||
set notification-error-bg "rgba(29,32,33,1)" # bg
|
||||
set notification-error-fg "rgba(251,73,52,1)" # bright:red
|
||||
set notification-warning-bg "rgba(29,32,33,1)" # bg
|
||||
set notification-warning-fg "rgba(250,189,47,1)" # bright:yellow
|
||||
set notification-bg "rgba(29,32,33,1)" # bg
|
||||
set notification-fg "rgba(184,187,38,1)" # bright:green
|
||||
|
||||
set completion-bg "rgba(80,73,69,1)" # bg2
|
||||
set completion-fg "rgba(235,219,178,1)" # fg
|
||||
set completion-group-bg "rgba(60,56,54,1)" # bg1
|
||||
set completion-group-fg "rgba(146,131,116,1)" # gray
|
||||
set completion-highlight-bg "rgba(131,165,152,1)" # bright:blue
|
||||
set completion-highlight-fg "rgba(80,73,69,1)" # bg2
|
||||
|
||||
# Define the color in index mode
|
||||
set index-bg "rgba(80,73,69,1)" # bg2
|
||||
set index-fg "rgba(235,219,178,1)" # fg
|
||||
set index-active-bg "rgba(131,165,152,1)" # bright:blue
|
||||
set index-active-fg "rgba(80,73,69,1)" # bg2
|
||||
|
||||
set inputbar-bg "rgba(29,32,33,1)" # bg
|
||||
set inputbar-fg "rgba(235,219,178,1)" # fg
|
||||
|
||||
set statusbar-bg "rgba(80,73,69,1)" # bg2
|
||||
set statusbar-fg "rgba(235,219,178,1)" # fg
|
||||
|
||||
set highlight-color "rgba(250,189,47,0.5)" # bright:yellow
|
||||
set highlight-active-color "rgba(254,128,25,0.5)" # bright:orange
|
||||
|
||||
set default-bg "rgba(29,32,33,1)" # bg
|
||||
set default-fg "rgba(235,219,178,1)" # fg
|
||||
set render-loading true
|
||||
set render-loading-bg "rgba(29,32,33,1)" # bg
|
||||
set render-loading-fg "rgba(235,219,178,1)" # fg
|
||||
|
||||
# Recolor book content's color
|
||||
set recolor-lightcolor "rgba(29,32,33,1)" # bg
|
||||
set recolor-darkcolor "rgba(235,219,178,1)" # fg
|
||||
set recolor "true"
|
||||
set recolor-keephue "true" # keep original color
|
||||
@ -42,9 +42,10 @@ export EDITOR=nvim
|
||||
alias get-idf='. $HOME/ext_sw/esp-idf/export.sh'
|
||||
|
||||
alias c='cd ~/.dotfiles'
|
||||
alias sc='cd ~/.config/sway'
|
||||
alias nc='cd ~/.config/nvim'
|
||||
alias sc='cd ~/.config/sway && nvim'
|
||||
alias nc='cd ~/.config/nvim && nvim'
|
||||
alias flog='nvim -c "Flog -all"'
|
||||
alias bin='cd ~/.local/bin && nvim'
|
||||
|
||||
. "$HOME/.cargo/env"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user