add SpacesToTabs command
This commit is contained in:
parent
6af0c10297
commit
ca70b402c4
|
@ -0,0 +1,9 @@
|
||||||
|
function! s:spacestotabs()
|
||||||
|
%s/^ / /e
|
||||||
|
%s/^ / /e
|
||||||
|
%s/^ / /e
|
||||||
|
%s/^ / /e
|
||||||
|
%s/^ / /e
|
||||||
|
%s/^ / /e
|
||||||
|
endfunction
|
||||||
|
command SpacesToTabs call s:spacestotabs()
|
1
init.vim
1
init.vim
|
@ -8,6 +8,7 @@ source ~/.config/nvim/init.plugins.vim
|
||||||
source ~/.config/nvim/init.tabline.vim
|
source ~/.config/nvim/init.tabline.vim
|
||||||
source ~/.config/nvim/init.auto-window.vim
|
source ~/.config/nvim/init.auto-window.vim
|
||||||
source ~/.config/nvim/init.fold-text.vim
|
source ~/.config/nvim/init.fold-text.vim
|
||||||
|
source ~/.config/nvim/init.commands.vim
|
||||||
|
|
||||||
" TODO - maybe separate some of these into own files too
|
" TODO - maybe separate some of these into own files too
|
||||||
" #functions {{{
|
" #functions {{{
|
||||||
|
|
Loading…
Reference in New Issue