X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/blobdiff_plain/2d56e8a7ae3a585804291c9935075e7068da4834..cd4c8b13ab7c0c9a455efdc7bd262aa1a6e715a7:/config/nvim/init.lua diff --git a/config/nvim/init.lua b/config/nvim/init.lua index 26b7156..7243f4a 100644 --- a/config/nvim/init.lua +++ b/config/nvim/init.lua @@ -54,6 +54,12 @@ vim.keymap.set('i', '', ':m .-2==gi') vim.keymap.set('v', '', ':m \'>+1gv=gv') vim.keymap.set('v', '', ':m \'<-2gv=gv') +-- Navigate the location list +vim.keymap.set('n', '', ':lnext') +vim.keymap.set('n', '', ':lprev') +vim.keymap.set('n', '', ':cnext') +vim.keymap.set('n', '', ':cprev') + ------------------------------------------------------------------------------- -- File Specific Behavior ------------------------------------------------------------------------------- @@ -81,6 +87,9 @@ pcall(require, 'init_local') vim.keymap.set("n", "", "lua require('fzf-lua').files({ fzf_opts = {} })", { silent = true }) +-- Toggle Autosave +vim.api.nvim_set_keymap('n', 'n', ':ASToggle', {}) + -- Svelte Config vim.g.vim_svelte_plugin_use_typescript = true @@ -99,3 +108,4 @@ require('plugins') require('treesitter_config') require('lsp') require('dap_config') +require('calendar_tools')