feat(nvim): Connect to the tmux scratchpad in neovim fterm by default
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
enable = device.hasGui;
|
enable = device.hasGui;
|
||||||
font = {
|
font = {
|
||||||
# name = "Hasklug Nerd Font Mono";
|
# name = "Hasklug Nerd Font Mono";
|
||||||
name = "Monaspace Krypton Var Medium";
|
name = "Monaspace Krypton Var Light";
|
||||||
size = 13;
|
size = 13;
|
||||||
};
|
};
|
||||||
settings = {
|
settings = {
|
||||||
|
|||||||
2
flake.lock
generated
2
flake.lock
generated
@@ -1239,7 +1239,7 @@
|
|||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1,
|
"lastModified": 1,
|
||||||
"narHash": "sha256-Z+jHiHfkHgc42uzQpNO1XYh9RNYzzZYNda35WJx5ib0=",
|
"narHash": "sha256-ersvPhXlxW/reEF16X+fjqp8StsjdUQLDpjtAxCH0HU=",
|
||||||
"path": "./neovim",
|
"path": "./neovim",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -317,7 +317,7 @@ in rec {
|
|||||||
"<C-k>" = "vim.lsp.buf.definition";
|
"<C-k>" = "vim.lsp.buf.definition";
|
||||||
"<C-\\>" = "require('FTerm').toggle";
|
"<C-\\>" = "require('FTerm').toggle";
|
||||||
"F" = "function() vim.lsp.buf.format({ async = true }) end";
|
"F" = "function() vim.lsp.buf.format({ async = true }) end";
|
||||||
"gi" = "require'telescope.builtin'.lsp_implementations";
|
"gi" = "require'telescope.builtin'.lsp_references";
|
||||||
"<leader>a" = "vim.lsp.buf.code_action";
|
"<leader>a" = "vim.lsp.buf.code_action";
|
||||||
"<leader>bb" = "require'dap'.toggle_breakpoint";
|
"<leader>bb" = "require'dap'.toggle_breakpoint";
|
||||||
"<leader>du" = "require'dapui'.toggle";
|
"<leader>du" = "require'dapui'.toggle";
|
||||||
@@ -421,7 +421,7 @@ in rec {
|
|||||||
height = 0.99,
|
height = 0.99,
|
||||||
width = 0.95,
|
width = 0.95,
|
||||||
},
|
},
|
||||||
cmd = "${pkgs.fish}/bin/fish",
|
cmd = "sh -c 'tmux attach -t scratch || tmux new -s scratch'",
|
||||||
blend = 10,
|
blend = 10,
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -431,6 +431,7 @@ in rec {
|
|||||||
["core.concealer"] = {
|
["core.concealer"] = {
|
||||||
config = { icon_preset = "diamond" }
|
config = { icon_preset = "diamond" }
|
||||||
},
|
},
|
||||||
|
["core.export"] = {},
|
||||||
["core.keybinds"] = {
|
["core.keybinds"] = {
|
||||||
-- https://github.com/nvim-neorg/neorg/blob/main/lua/neorg/modules/core/keybinds/keybinds.lua
|
-- https://github.com/nvim-neorg/neorg/blob/main/lua/neorg/modules/core/keybinds/keybinds.lua
|
||||||
config = {
|
config = {
|
||||||
|
|||||||
Reference in New Issue
Block a user