70 lines
1.7 KiB
VimL
70 lines
1.7 KiB
VimL
set spell spelllang=de,en
|
|
set background=dark
|
|
set autoindent
|
|
set nosmartindent
|
|
set listchars=tab:»\ ,trail:.,extends:#
|
|
set list
|
|
set ts=3
|
|
set number
|
|
set scrolloff=5
|
|
set sidescrolloff=5
|
|
set laststatus=2
|
|
set incsearch
|
|
set mouse=
|
|
set dir=~/.vimhist/
|
|
set backupdir=~/.vimhist/bak
|
|
set showcmd
|
|
nnoremap <silent><cr> :nohlsearch<CR>
|
|
vnoremap < <gv
|
|
vnoremap > >gv
|
|
nnoremap <c-down> <c-w><c-j>
|
|
nnoremap <c-up> <c-w><c-k>
|
|
nnoremap <c-right> <c-w><c-l>
|
|
nnoremap <c-left> <c-w><c-h>
|
|
nnoremap <a-left> gT
|
|
nnoremap <a-right> gt
|
|
let mapleader=","
|
|
|
|
set colorcolumn=81,121
|
|
hi ColorColumn ctermbg=black
|
|
|
|
set winaltkeys=no
|
|
set noai
|
|
set si
|
|
set sw=3
|
|
set pt=<F4>
|
|
set ignorecase
|
|
set wildmenu
|
|
set hlsearch
|
|
noremap <buffer> <silent> <Up> gk
|
|
noremap <buffer> <silent> <Down> gj
|
|
noremap <buffer> <silent> <Home> g<Home>
|
|
noremap <buffer> <silent> <End> g<End>
|
|
if !exists('g:deoplete#omni#input_patterns')
|
|
let g:deoplete#omni#input_patterns = {}
|
|
endif
|
|
let $NVIM_TUI_ENABLE_CURSOR_SHAPE=1
|
|
set statusline+=%#warningmsg#
|
|
set statusline+=%{syntasticstatuslineflag()}
|
|
set statusline+=%*
|
|
let g:syntastic_always_populate_loc_list = 1
|
|
let g:syntastic_auto_loc_list = 1
|
|
let g:syntastic_check_on_open = 1
|
|
let g:syntastic_check_on_wq = 0
|
|
let g:syntastic_aggregate_errors = 1
|
|
let g:syntastic_enable_highlighting = 1
|
|
let g:syntastic_loc_list_height = 5
|
|
let g:rustfmt_autosave = 1
|
|
"let g:ycm_rust_src_path = '/usr/src/rust/src'
|
|
"let g:ftplugin_rust_source_path = '/usr/src/rust/src'
|
|
let g:syntastic_rust_checkers = [ 'cargo']
|
|
let g:rust_recommend_style = 1
|
|
let g:rust_fold =1
|
|
"let g:syntastic_rust_rustc_exe = 'cargo check'
|
|
|
|
let g:deoplete#enable_at_startup = 1
|
|
let g:deoplete#auto_complete_start_length = 1
|
|
|
|
"let g:deoplete#sources#rust#racer_binary='racer'
|
|
"let g:rustfmt_command = "rustfmt"
|
|
"let g:racer_cmd = "racer"
|