datasette and some tab hotkeys
This commit is contained in:
parent
4f9bd81546
commit
698acd4687
@ -142,6 +142,7 @@
|
|||||||
dotnet-sdk_7
|
dotnet-sdk_7
|
||||||
powershell
|
powershell
|
||||||
rust-analyzer
|
rust-analyzer
|
||||||
|
datasette
|
||||||
# TODO add sonic-pi here if it supports the arch
|
# TODO add sonic-pi here if it supports the arch
|
||||||
]) ++ [
|
]) ++ [
|
||||||
sile
|
sile
|
||||||
|
@ -20,7 +20,7 @@ lspconfig.omnisharp.setup {
|
|||||||
cmd = omnisharp_cmd,
|
cmd = omnisharp_cmd,
|
||||||
enable_roslyn_analyzers = true,
|
enable_roslyn_analyzers = true,
|
||||||
enable_editorconfig_support = true,
|
enable_editorconfig_support = true,
|
||||||
organize_imports_on_format = true,
|
enable_import_completion = true,
|
||||||
-- Omnisharp has issues with the semanticTokens feature. disable it for this language server.
|
-- Omnisharp has issues with the semanticTokens feature. disable it for this language server.
|
||||||
on_attach = function(client, bufnr)
|
on_attach = function(client, bufnr)
|
||||||
client.server_capabilities.semanticTokensProvider = nil
|
client.server_capabilities.semanticTokensProvider = nil
|
||||||
@ -199,9 +199,12 @@ vim.keymap.set("n", "<C-p>", function()
|
|||||||
require("nvim-tree.api").tree.toggle()
|
require("nvim-tree.api").tree.toggle()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
vim.keymap.set("i", "<C-j>", function()
|
vim.keymap.set("n", "<Leader>tc", function()
|
||||||
print("Handling C-J")
|
vim.cmd("tabclose")
|
||||||
vim.notify("Handling C-J")
|
end)
|
||||||
|
|
||||||
|
vim.keymap.set("n", "<Leader>ts", function()
|
||||||
|
vim.cmd("tabs")
|
||||||
end)
|
end)
|
||||||
|
|
||||||
-- Show whatever errors we have in our trouble pane
|
-- Show whatever errors we have in our trouble pane
|
||||||
|
6
nix/darwin/flake.lock
generated
6
nix/darwin/flake.lock
generated
@ -34,12 +34,12 @@
|
|||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1,
|
"lastModified": 1,
|
||||||
"narHash": "sha256-HD18bp7KhmwBmkiSS4g6MgdMbxh19lL0o7xJKGh1V7I=",
|
"narHash": "sha256-/S0TVdjeCyul3+b4v5AszuG9kUfGPo2RSTlj1JmezMQ=",
|
||||||
"path": "/nix/store/a063h2b1fhppg1xc39ccclmlxnalxmk5-source/nix/base-system",
|
"path": "/nix/store/s99kh7fqw7g98w7c22jrcjx94via429x-source/nix/base-system",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"path": "/nix/store/a063h2b1fhppg1xc39ccclmlxnalxmk5-source/nix/base-system",
|
"path": "/nix/store/s99kh7fqw7g98w7c22jrcjx94via429x-source/nix/base-system",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user