문제

나는 최근에 읽었다 이 기사 VIM의 소스 파일을 들여 쓰기와 관련이 있습니다. 그러나 나는 그들 중 일부를 맞급 할 수 있기를 원합니다. 누를 때 어떤 바이너리 실행을 지정하는 방법이 있습니까?

도움이 되었습니까?

해결책

도움말에서 :

={motion}       Filter {motion} lines through the external program
                given with the 'equalprg' option.  When the 'equalprg'
                option is empty (this is the default), use the
                internal formatting function |C-indenting|.  But when
                'indentexpr' is not empty, it will be used instead
                |indent-expression|.

설정처럼 보입니다 equalprg 옵션은 당신이 원하는 것입니다.

다른 팁

당신은 설정할 수 있습니다 equalprg-옵션. (참조 : 그는 더 많은 경우).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top