1
0
Fork 0

enable modeline, disable mouse in vim, also dont switch from koi8-r in shell

This commit is contained in:
Von Random 2016-06-21 11:48:21 +03:00
parent 104d46826d
commit b2100914bb
2 changed files with 8 additions and 9 deletions

View file

@ -36,11 +36,13 @@ vcs_enabled=true
export MYSQL_PS1="mysql [\d]> "
export SSH_AUTH_SOCK="${HOME}/.ssh/ssh_auth_sock"
export TIME_STYLE='long-iso'
export LANG='en_US.utf8'
export LANGUAGE="$LANG"
if [[ ${OSTYPE} != 'cygwin' ]]; then
if [[ ${LANG} != 'ru_RU.KOI8-R' ]]; then
export LANG='en_US.utf8'
export LANGUAGE="$LANG"
if [[ ${OSTYPE} != 'cygwin' ]]; then
export LC_TIME='en_DK.utf8'
export LC_MEASUREMENT='en_DK.utf8'
fi
fi
export EDITOR='vim'
export PAGER='less -R'

5
vimrc
View file

@ -21,7 +21,6 @@ set noerrorbells visualbell t_vb=
set shiftwidth=3
set tabstop=3
set noexpandtab
set nomodeline
" 256 colours at almost all times
if $TERM =~ '^[xterm|rxvt-unicode|screen]'
@ -138,10 +137,8 @@ if v:version >= 700
set guicursor+=a:blinkon0 "and none of them should blink
map <S-Insert> <MiddleMouse>
map! <S-Insert> <MiddleMouse>
elseif empty($TMUX) && $TERM =~ "^screen"
set mouse=
else
set mouse=a
set mouse=
endif
let g:solarized_bold=0