mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 02:39:40 +00:00
Add abbreviations
This commit is contained in:
parent
41bbfbffb9
commit
dd42a281e2
|
@ -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
|
||||
|
|
11
home/.config/nvim/rc/abbreviations.vim
Normal file
11
home/.config/nvim/rc/abbreviations.vim
Normal 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!
|
||||
|
Loading…
Reference in a new issue