2
我下面的Python环境,工作正常的vimrc设置,如果我直接打开GitBash:的vimrc设置不工作的git bash的运行在ConsoleZ
" enable syntax highlighting
syntax enable
" show line numbers
set number
" set tabs to have 4 spaces
set ts=4
" indent when moving to the next line while writing code
set autoindent
" expand tabs into spaces
set expandtab
" when using the >> or << commands, shift lines by 4 spaces
set shiftwidth=4
" show the matching part of the pair for [] {} and()
set showmatch
" enable all Python syntax highlighting features
let python_highlight_all = 1
但是,当我从内部运行的Git的bash ConsoleZ窗口,它似乎不工作。是否还有其他一些设置需要完成?在任何地方都没有发现任何东西。
会帮助http://stackoverflow.com/a/13238055/6309(用consoleZ代替console2,这是console2的分支:https://github.com/cbucher/console) – VonC
@VonC似乎没有上班。或者,也许我不明白什么$ EMULATOR条件应该在那里做..我试着把所有上述设置内if条件。我在ConsoleZ-gitbash选项卡中将EMULATOR环境变量设置为“consoleZ; exec/bin/bash -i” –
您使用的是什么版本的Git? – VonC