television customization, shortcut to cd into ansible

This commit is contained in:
2026-08-01 02:22:15 -04:00
parent 08eec76067
commit a030c6bfec
3 changed files with 9 additions and 2 deletions
+6
View File
@@ -53,3 +53,9 @@ vim.api.nvim_create_autocmd('DirChanged', {
end,
desc = 'Add directory to zoxide database when changing directories in Neovim',
})
-- Custom directory aliases
-- Using command abbreviation since Neovim commands must start with uppercase
vim.cmd([[
cnoreabbrev <expr> cda getcmdtype() == ':' && getcmdline() == 'cda' ? 'cd $HOME/Syncthing/Git/ansible/' : 'cda'
]])