dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 4998cdb8d26addd47aa32ff897857e90007409b2
parent e0ed0a47854ce76ccc40ff1b3ebb499a648be93a
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Sun,  5 May 2019 16:57:39 +0200

vim: command fixes

Former-commit-id: 9ac13b6064dd8959f662b36ca909f27d002d0f6f
Diffstat:
Mvim/commands.vimrc | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/vim/commands.vimrc b/vim/commands.vimrc @@ -146,8 +146,8 @@ endfunction " }}} " Custom commands -command! Light set background=light -command! Dark set background=dark +command! Light set background=light | e +command! Dark set background=dark | e command! TodoP vimgrep /^ *[#%\/E]* *\(TODO\|TO DO\)/ **/*.* | copen command! Todo vimgrep /^ *[#%\/E]* *\(TODO\|TO DO\)/ % | copen command! NoteP vimgrep /NOTE\C/ **/*.* | copen @@ -156,6 +156,7 @@ command! FixP vimgrep /FIXME\C/ **/*.* | copen command! Fix vimgrep /FIXME\C/ % | copen command! ListFileTypes echo glob($VIMRUNTIME . '/syntax/*.vim') command! CDC cd %:p:h +command! LCDC lcd %:p:h command! Maketab set noet ts=2 | %retab! command! Diff w !diff % - command! Diffc w !git diff % -