Update init.lua

This commit is contained in:
Adang23 2023-09-14 09:11:06 -04:00 committed by GitHub
parent b7a269f03c
commit bf0db95c19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 1 deletions

View File

@ -1,5 +1,17 @@
-- You can add your own plugins here or in other files in this directory!
-- I promise not to create any merge conflicts in this directory :)
--
vim.cmd('set autochdir')
-- custom/plugins/keymappings.lua
-- Function to set up your custom keymappings
local function setup_keymappings()
-- Map <Leader>t to open a terminal in a vertical split on the right
vim.api.nvim_set_keymap('n', '<Leader>t', ':vsplit | wincmd l | terminal<CR>', { noremap = true, silent = true })
end
-- Call the function to set up your keymappings
setup_keymappings()
-- See the kickstart.nvim README for more information
return {}