dotfiles

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

commit 90a94eba9c642f8c8b5516c0b7d8161628472d51
parent d89fe82d3669fed1a8b04d0428f092d591e1ed07
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Mon, 22 Jun 2020 12:22:31 +0200

vim: various commands

Former-commit-id: 23e60326e9f41aefd3a635b0fdbcb765767a41b2
Diffstat:
Mvim/vimrc | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/vim/vimrc b/vim/vimrc @@ -665,8 +665,9 @@ command! Note vimgrep /NOTE\C/ % | copen 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! CD cd %:p:h +command! LCD lcd %:p:h +command! TCD tcd %:p:h command! Maketab set noet ts=2 | %retab! command! Diff w !diff % - command! Diffg w !git diff % - @@ -681,6 +682,7 @@ command! Reveal exe "silent !open ".shellescape(expand("%:p:h")) | redraw! command! Softwrap setlocal wrap formatoptions-=cat command! Hardwrap setlocal nowrap formatoptions+=cat command! Syncwin windo set scrollbind! cursorbind! +command! EF exe "split $HOME/.vim/after/ftplugin/".&filetype.".vim" " Fat finger fixes/convenience abbreviations cnoreabbrev E Explore