mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-04-13 09:30:06 +00:00
huzzah, interix is fixed
This commit is contained in:
parent
d18fa49786
commit
560f72ca8f
1 changed files with 10 additions and 7 deletions
17
vimrc
17
vimrc
|
@ -18,10 +18,10 @@ set nocompatible " Don't emulate vi's limitations
|
||||||
set encoding=utf-8 " Default encoding should always be UTF-8
|
set encoding=utf-8 " Default encoding should always be UTF-8
|
||||||
set tabstop=4 " 4 spaces for tabs
|
set tabstop=4 " 4 spaces for tabs
|
||||||
set shiftwidth=4 " 4 spaces for indents
|
set shiftwidth=4 " 4 spaces for indents
|
||||||
"set smarttab " Tab next line based on current line
|
set smarttab " Tab next line based on current line
|
||||||
"set expandtab " Spaces for indentation
|
"set expandtab " Spaces for indentation
|
||||||
"set autoindent " Automatically indent next line
|
set autoindent " Automatically indent next line
|
||||||
"set smartindent " Indent next line based on current line
|
set smartindent " Indent next line based on current line
|
||||||
"set linebreak " Display long lines wrapped at word boundaries
|
"set linebreak " Display long lines wrapped at word boundaries
|
||||||
set incsearch " Enable incremental searching
|
set incsearch " Enable incremental searching
|
||||||
set hlsearch " Highlight search matches
|
set hlsearch " Highlight search matches
|
||||||
|
@ -280,12 +280,15 @@ imap <silent> <F12> <C-O>:silent set number!<CR>
|
||||||
" Don't force column 0 for #
|
" Don't force column 0 for #
|
||||||
inoremap # X<BS>#
|
inoremap # X<BS>#
|
||||||
|
|
||||||
" Fix broken shit backspace on csil machines
|
" Force <C-?> to be backspace except when in interix mode
|
||||||
" in tcsh with badly compiled vims
|
" because interix uses that for forward delete...
|
||||||
|
" and always accept <C-h> as a backspace key
|
||||||
map <C-h> <BS>
|
map <C-h> <BS>
|
||||||
map <C-?> <BS>
|
|
||||||
map! <C-h> <BS>
|
map! <C-h> <BS>
|
||||||
map! <C-?> <BS>
|
if (&term =~ "interix")
|
||||||
|
map <C-?> <BS>
|
||||||
|
map! <C-?> <BS>
|
||||||
|
endif
|
||||||
|
|
||||||
" Python specific stuff
|
" Python specific stuff
|
||||||
if has('eval')
|
if has('eval')
|
||||||
|
|
Loading…
Add table
Reference in a new issue