Moved things around with nvim to allow multiple configurations, with nvims command

This commit is contained in:
Michael Housh
2023-09-23 20:39:33 -04:00
parent 6204b5f7b3
commit 8d396ff46f
37 changed files with 66 additions and 8 deletions

View File

@@ -0,0 +1,11 @@
local o = vim.opt
local keymap = vim.api.nvim_set_keymap
local default_options = {noremap = true, silent = true}
o.tabstop = 2
o.softtabstop = 2
o.shiftwidth = 2
keymap('n', '<C-b>', '<cmd>!swift build<CR>', default_options)
keymap('n', '<C-T>', '<cmd>!swift test<CR>', default_options)