Add abbreviations

This commit is contained in:
ItsDrike 2021-07-23 18:33:57 +02:00
parent 41bbfbffb9
commit dd42a281e2
No known key found for this signature in database
GPG key ID: B5F6B41F708C3ADD
2 changed files with 12 additions and 0 deletions

View file

@ -6,6 +6,7 @@ let config_dir = system('echo -n "${XDG_CONFIG_HOME:-$HOME/.config}/nvim"')
let rc_dir = config_dir.'/rc' let rc_dir = config_dir.'/rc'
execute 'source '.rc_dir.'/base.vim' execute 'source '.rc_dir.'/base.vim'
execute 'source '.rc_dir.'/mappings.vim' execute 'source '.rc_dir.'/mappings.vim'
execute 'source '.rc_dir.'/abbreviations.vim'
execute 'source '.rc_dir.'/autocmd.vim' execute 'source '.rc_dir.'/autocmd.vim'
execute 'source '.rc_dir.'/plugins.vim' execute 'source '.rc_dir.'/plugins.vim'
" Needs to be below plugins for colorscheme " Needs to be below plugins for colorscheme

View file

@ -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!