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