diff --git a/home/.config/nvim/init.vim b/home/.config/nvim/init.vim index 543c13d..a3eb04a 100644 --- a/home/.config/nvim/init.vim +++ b/home/.config/nvim/init.vim @@ -6,6 +6,7 @@ let config_dir = system('echo -n "${XDG_CONFIG_HOME:-$HOME/.config}/nvim"') let rc_dir = config_dir.'/rc' execute 'source '.rc_dir.'/base.vim' execute 'source '.rc_dir.'/mappings.vim' +execute 'source '.rc_dir.'/abbreviations.vim' execute 'source '.rc_dir.'/autocmd.vim' execute 'source '.rc_dir.'/plugins.vim' " Needs to be below plugins for colorscheme diff --git a/home/.config/nvim/rc/abbreviations.vim b/home/.config/nvim/rc/abbreviations.vim new file mode 100644 index 0000000..69019a6 --- /dev/null +++ b/home/.config/nvim/rc/abbreviations.vim @@ -0,0 +1,11 @@ +cnoreabbrev Wq wq +cnoreabbrev wQ wq +cnoreabbrev WQ wq +cnoreabbrev Wa wa +cnoreabbrev W w +cnoreabbrev Q q +cnoreabbrev Qall qall +cnoreabbrev W! w! +cnoreabbrev Q! q! +cnoreabbrev Qall! qall! +