datasette and some tab hotkeys

This commit is contained in:
Jeremy Wall 2023-07-20 14:09:01 -04:00
parent 4f9bd81546
commit 698acd4687
3 changed files with 11 additions and 7 deletions

View File

@ -142,6 +142,7 @@
dotnet-sdk_7
powershell
rust-analyzer
datasette
# TODO add sonic-pi here if it supports the arch
]) ++ [
sile

View File

@ -20,7 +20,7 @@ lspconfig.omnisharp.setup {
cmd = omnisharp_cmd,
enable_roslyn_analyzers = 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.
on_attach = function(client, bufnr)
client.server_capabilities.semanticTokensProvider = nil
@ -199,9 +199,12 @@ vim.keymap.set("n", "<C-p>", function()
require("nvim-tree.api").tree.toggle()
end)
vim.keymap.set("i", "<C-j>", function()
print("Handling C-J")
vim.notify("Handling C-J")
vim.keymap.set("n", "<Leader>tc", function()
vim.cmd("tabclose")
end)
vim.keymap.set("n", "<Leader>ts", function()
vim.cmd("tabs")
end)
-- Show whatever errors we have in our trouble pane

6
nix/darwin/flake.lock generated
View File

@ -34,12 +34,12 @@
},
"locked": {
"lastModified": 1,
"narHash": "sha256-HD18bp7KhmwBmkiSS4g6MgdMbxh19lL0o7xJKGh1V7I=",
"path": "/nix/store/a063h2b1fhppg1xc39ccclmlxnalxmk5-source/nix/base-system",
"narHash": "sha256-/S0TVdjeCyul3+b4v5AszuG9kUfGPo2RSTlj1JmezMQ=",
"path": "/nix/store/s99kh7fqw7g98w7c22jrcjx94via429x-source/nix/base-system",
"type": "path"
},
"original": {
"path": "/nix/store/a063h2b1fhppg1xc39ccclmlxnalxmk5-source/nix/base-system",
"path": "/nix/store/s99kh7fqw7g98w7c22jrcjx94via429x-source/nix/base-system",
"type": "path"
}
},