45 lines
700 B
VimL
45 lines
700 B
VimL
set nowrap
|
|
|
|
set nocompatible
|
|
set linebreak
|
|
syntax on
|
|
" set number
|
|
map <silent> <up> gk
|
|
map <silent> <down> gj
|
|
set spelllang=fr
|
|
set background=dark
|
|
|
|
" search
|
|
set incsearch "incremental search
|
|
set hlsearch "highlight search
|
|
set ignorecase
|
|
set autochdir
|
|
|
|
" folding
|
|
"set foldenable
|
|
"set foldmethod=syntax
|
|
|
|
" mouse support
|
|
" set mouse=a
|
|
|
|
" for tinycore
|
|
set encoding=utf-8
|
|
set backspace=2
|
|
|
|
" indent
|
|
set smartindent
|
|
set tabstop=4
|
|
set shiftwidth=4
|
|
|
|
" ctrlp
|
|
" see https://ctrlpvim.github.io/ctrlp.vim/
|
|
" set runtimepath^=~/.vim/bundle/ctrlp.vim
|
|
|
|
" homemade ctrl-p
|
|
set path+=**
|
|
set wildmenu
|
|
set wildmode=longest:full,full
|
|
nnoremap <C-p> :find<Space>*
|
|
|
|
" ctrl-j for terminal
|
|
nnoremap <C-j> :below terminal<CR> |