diff --git a/.vimrc b/.vimrc index c07d3ce..33ae6e0 100644 --- a/.vimrc +++ b/.vimrc @@ -657,11 +657,15 @@ set statusline+=\ %P "percent through file " ** SMALL FUNCTIONS THAT DON'T FIT AS PLUGINS *** -" Add capital W so I can be lazy about my shift key +" Add capital W and Q so I can be lazy about my shift key if !exists(":W") command W :w endif +if !exists(":Q") + command Q :q +endif + " CD to the path of the file I'm editing. command Cdf :cd %:p:h