deleted 64 characters in body
Source Link
Fisher
  • 822
  • 1
  • 11
  • 20

Not perfect solution: addingBelow shortcut and function below, not sure why first line is not working. (I'll raise another ticket on thiswill do the job.)

map <leader>vga :call Vhdl_GA_All()<CR>

" Alignment
function! Vhdl_GA_All()
   exe "normal! \e"
   exe ":'<,'> EasyAlign *<space>"
   exe ":'<,'> EasyAlign ("
   exe ":'<,'> EasyAlign )"
endfunction

Not perfect solution: adding shortcut and function below, not sure why first line is not working. (I'll raise another ticket on this.)

map <leader>vga :call Vhdl_GA_All()<CR>

" Alignment
function! Vhdl_GA_All()
   exe ":'<,'> EasyAlign *<space>"
   exe ":'<,'> EasyAlign ("
   exe ":'<,'> EasyAlign )"
endfunction

Below shortcut and function will do the job.

map <leader>vga :call Vhdl_GA_All()<CR>

" Alignment
function! Vhdl_GA_All()
   exe "normal! \e"
   exe ":'<,'> EasyAlign *<space>"
   exe ":'<,'> EasyAlign ("
   exe ":'<,'> EasyAlign )"
endfunction
Source Link
Fisher
  • 822
  • 1
  • 11
  • 20

Not perfect solution: adding shortcut and function below, not sure why first line is not working. (I'll raise another ticket on this.)

map <leader>vga :call Vhdl_GA_All()<CR>

" Alignment
function! Vhdl_GA_All()
   exe ":'<,'> EasyAlign *<space>"
   exe ":'<,'> EasyAlign ("
   exe ":'<,'> EasyAlign )"
endfunction