neovim removes the need to specify 256 colors.
This commit is contained in:
parent
a6de243fca
commit
e2b80919a7
1 changed files with 11 additions and 11 deletions
|
@ -9,14 +9,14 @@ au BufNewFile,BufRead *.mako set ft=mako
|
|||
|
||||
au FileType python map <buffer> F :set foldmethod=indent<cr>
|
||||
|
||||
au FileType python inoremap <buffer> $r return
|
||||
au FileType python inoremap <buffer> $i import
|
||||
au FileType python inoremap <buffer> $p print
|
||||
au FileType python inoremap <buffer> $r return
|
||||
au FileType python inoremap <buffer> $i import
|
||||
au FileType python inoremap <buffer> $p print
|
||||
au FileType python inoremap <buffer> $f #--- <esc>a
|
||||
au FileType python map <buffer> <leader>1 /class
|
||||
au FileType python map <buffer> <leader>2 /def
|
||||
au FileType python map <buffer> <leader>C ?class
|
||||
au FileType python map <buffer> <leader>D ?def
|
||||
au FileType python map <buffer> <leader>1 /class
|
||||
au FileType python map <buffer> <leader>2 /def
|
||||
au FileType python map <buffer> <leader>C ?class
|
||||
au FileType python map <buffer> <leader>D ?def
|
||||
au FileType python set cindent
|
||||
au FileType python set cinkeys-=0#
|
||||
au FileType python set indentkeys-=0#
|
||||
|
@ -32,10 +32,10 @@ au FileType javascript setl nocindent
|
|||
au FileType javascript imap <c-t> $log();<esc>hi
|
||||
au FileType javascript imap <c-a> alert();<esc>hi
|
||||
|
||||
au FileType javascript inoremap <buffer> $r return
|
||||
au FileType javascript inoremap <buffer> $r return
|
||||
au FileType javascript inoremap <buffer> $f //--- PH<esc>FP2xi
|
||||
|
||||
function! JavaScriptFold()
|
||||
function! JavaScriptFold()
|
||||
setl foldmethod=syntax
|
||||
setl foldlevelstart=1
|
||||
syn region foldBraces start=/{/ end=/}/ transparent fold keepend extend
|
||||
|
@ -62,6 +62,6 @@ au FileType gitcommit call setpos('.', [0, 1, 1, 0])
|
|||
""""""""""""""""""""""""""""""
|
||||
" => Shell section
|
||||
""""""""""""""""""""""""""""""
|
||||
if exists('$TMUX')
|
||||
set term=screen-256color
|
||||
if exists('$TMUX') && !has('nvim')
|
||||
set term=screen-256color
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue